httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Mattsson <apache-l...@phrenetic.to>
Subject Re: [users@httpd] mod_rewrite question
Date Mon, 03 Jan 2005 10:05:04 GMT
Hi!

Answering my own question. I removed all leading slashes and it worked exactly
as intended.

Thanks for your time!

//Michael

Quoting Michael Mattsson <apache-list@phrenetic.to>:

>
>
> Hi all!
>
> I have a mod_rewrite problem I can't seem to figure out, this is the
> configuration:
>
> RewriteEngine On
> RewriteRule ^/extras/ - [L]
> RewriteRule ^/uploads/ - [L]
> RewriteRule ^/index.fcgi/ - [L]
> RewriteRule ^/(.*) /index.fcgi/$1 [PT]
>
> When put in a virtual host context it works exactly as intended, every
> request
> gets proxied to index.fcgi execpt /extras and /uploads and /index.fcgi
> itself.
>
> When put in the virtual host's root, in a .htaccess file, nothing works, no
> errors, no nothing. .htaccess files are allowed and FileInfo override is
> turned
> on.
>
> I read in the documentation that there are some special quirks when running
> mod_rewrite in the document root but I can't figure out what they are.
>
> TIA
> //Michael
>
> ---------------------------------------------------------------------
> 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
>



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