httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] mod_rewrite: Prevent stripping of URL
Date Thu, 27 Apr 2006 19:03:43 GMT
On 4/26/06, Stefan Brandt <> wrote:
> 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:
> 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?

It's in %{REQUEST_URI} I believe.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message