Can the app be given a human friendly url?

asked 14 Aug '12, 08:04

Ik_zelf's gravatar image

Ik_zelf
154
accept rate: 0%

edited 24 Oct '12, 00:01

formspider's gravatar image

formspider ♦♦
138310


Although Formspider uses static URLs for Apps and you cannot modify Formspider URLs from inside Formspider, URLs can be altered from your middle tier configuration.

To rewrite URLs, there are various options.

First option is to use an Apache httpd server in front of your application server (servlet container). With Apache httpd, you can use Apache mods mod_rewrite and/or mod_proxy to change URLs. Using mod_rewrite causes the modified URL to be visible to the end user. However, when you choose mod_proxy, the modified of URL will be invisible to end user. For more information, you can visit Apache httpd documentation on mod_proxy and mod_rewrite.

As a second option, you can use Tuckey's URL filter.(http://tuckey.org/urlrewrite) This is virtually the same thing as the Apache's mod_rewrite. The difference is that it's implemented in Java to make it available to Java-based application servers.

As a third option, if you use glassfish as an application server, you can take advantage of its simple URL rewrite mechanism. You can find more information for this option from http://serverfault.com/questions/169643/how-can-i-rewrite-redirect-urls-in-glassfish-v3.

link

answered 19 Aug '12, 06:08

Yalim%20K.%20Gerger's gravatar image

Yalim K. Gerger ♦♦
1914
accept rate: 20%

edited 19 Aug '12, 12:15

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×10
×4
×1
×1
×1

Asked: 14 Aug '12, 08:04

Seen: 1,530 times

Last updated: 24 Oct '12, 00:01


© Copyright Gerger 2017