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 <[email protected]> > On Wed, Aug 12, 2009 at 8:12 AM, Alexis<[email protected]> 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 > [email protected] > > --------------------------------------------------------------------- > 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] > > -- Alexis Beltran skype: blexis.sv blog: http://blexis.net
