[users@httpd] mod_rewrite: Prevent stripping of URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux