httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Björn Lindström)
Subject [users@httpd] Trouble with mod_rewrite and referrers
Date Sun, 07 Mar 2004 14:36:38 GMT
It seems that somehow the rewrite rules in my .htaccess is throwing away
the referrer info, making it unavailable to the script (

Here is the entire .htaccess:

# Unicode for HTML
AddCharset UTF-8 .html

RewriteEngine On

# If there's no query string, change the page name part into a query.
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^([^/]+)$ /cgi-bin/$1 [QSA,L]

# Otherwise, do a plain redirect.
RewriteRule ^$ /cgi-bin/ [QSA,L]

Björn Lindström <>

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