httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@elektrubadur.se (Björn Lindström)
Subject [users@httpd] Re: Trouble with mod_rewrite and referrers
Date Mon, 15 Mar 2004 23:47:01 GMT
Is there really nobody on this list with an idea about this:

bkhl@elektrubadur.se (Björn Lindström) writes:

> It seems that somehow the rewrite rules in my .htaccess is throwing away
> the referrer info, making it unavailable to the script (wrapper.pl).
>
> 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/wrapper.pl?$1 [QSA,L]
>
> # Otherwise, do a plain redirect.
> RewriteRule ^$ /cgi-bin/wrapper.pl [QSA,L]
>
> -- 
> Björn Lindström <bkhl@elektrubadur.se>
> http://bkhl.elektrubadur.se/
>
>
> ---------------------------------------------------------------------
> 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
>
>
-- 
Björn Lindström <bkhl@elektrubadur.se>
http://bkhl.elektrubadur.se/


---------------------------------------------------------------------
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