httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Schweikle <...@vr-web.de>
Subject [users@httpd] redirects
Date Thu, 22 Nov 2007 09:10:22 GMT
Hi!

I have configured apache2:

ScriptAlias /mirrorlist "/usr/share/mirrorlist/mirrorlist"
<Directory "/usr/share/mirrorlist">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from 172.16.0.0/16
    Allow from 192.168.0.0/16
</Directory>

RewriteEngine on
RewriteRule "^/?(.*)$"  "/mirrorlist?$1"

But this only leads to

401 Not Found
The requested URL / was not found on this server.

using an url of "http://server/mirrorlist?parameter=something" or
"http://server/?parameter=something".

If I remove rewriting,
"http://server/mirrorlist?parameter=something" works, while
"http://server/?parameter=someting" does, as expected, not.

Any idea what I am doing wrong?


-- 
Thomas


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