-
1. Re: Lower case context for WebApp
thejavafreak Dec 13, 2006 10:25 PM (in response to pander)You set this on the webserver side. If you use Apache httpd server, AFAIK you set this on .htaccess
-
2. Re: Lower case context for WebApp
pander Dec 14, 2006 4:41 AM (in response to pander)OK,
But I'm not using Apache or any other webserver, I'm simply using JBOSS which obviously has Tomcat as part of it.... is there somewhere in Tomcat that I can set this up?
Regards,
Paul. -
3. Re: Lower case context for WebApp
thejavafreak Dec 14, 2006 7:34 AM (in response to pander)Tomcat is not a webserver. I think you still need to use a webserver to achieve this.
-
4. Re: Lower case context for WebApp
pander Dec 14, 2006 10:00 AM (in response to pander)Found the answer, so just thought I would post it.
JBOSS can perform URL rewriting via Tomcat and Valves.
You need to modify the server.xml (or the context.xml within your webapp) and add the following valve.
You then need to copy the jbossweb-rewrite.jar to you $SERVER/lib directory
Then create a folder to store your rewrite.properties file. If you used server.xml and placed the valve within the context of the Engine then you need to create a folder called $SERVER/conf/<engine-name>
So for me that was default/conf/jboss.web
Create a file in there called rewrite.properties, enter your rewrite rules and cycle the server.
Regards,
Paul. -
5. Re: Lower case context for WebApp
quester Aug 1, 2007 11:23 AM (in response to pander)Where is the jbossweb-rewrite.jar located? I have searched my entire JBoss directory structure and I can't find it.