ok, then the code would be RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ /files/public$1 [L]
or am i wrong? 2009/8/12 Eric Covener <cove...@gmail.com> > On Wed, Aug 12, 2009 at 8:12 AM, Alexis<rab4...@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 > cove...@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-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Alexis Beltran skype: blexis.sv blog: http://blexis.net