httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Brandt <brandt.ste...@gmx.net>
Subject [users@httpd] mod_rewrite: Prevent stripping of URL
Date Wed, 26 Apr 2006 20:58:19 GMT
Hello,

when using mod_rewrite in an .htaccess-file (per-directory config files) 
   Apache automatically strips the directories from the request URL.

Is there any configuration option to influence this behaviour?

In my steup the .htaccess file is stored in a subdirectory (for example 
/de/)of the DocumentRoot.

When calling a URL like:

http://myhost.com/de/en/index.html

Apache strips the URL into "index.html". So the information about the 
current language (symbolized by the "/en/"-part in the URL) is lost.

Is there a way to get this information "back" from the URL so i can pass 
it as a parameter to my CMS?

Thanks for your help ...

Regards

Stefan Brandt






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message