On 4/26/06, Stefan Brandt <[EMAIL PROTECTED]> 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:
>
> 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?
It's in %{REQUEST_URI} I believe.
Joshua.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]