httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Using Rewrite
Date Wed, 12 Aug 2009 12:47:31 GMT
On Wed, Aug 12, 2009 at 8:12 AM, Alexis<rab4585@gmail.com> wrote:
> Hello Friend of the list,
> RewriteBase /files/public
> RewriteRule ^(.*)$ $1 [L]
>
> When treated with the url http://files.example.com/archivo.txt

The RewriteBase isn't a base of what you want to rewrite to, it needs
to reflect the base of where the htaccess itself is and is a factor in
what you're matching as well.


-- 
Eric Covener
covener@gmail.com

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