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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to