On Apr 25, 2011, at 4:25 AM, Björn Zettergren wrote:
> On 04/25/2011 08:25 AM, Shantanu Pavgi wrote:
>> I have following set of rewrite rules in the apache config.
>>
>> {{{
>> RewriteRule ^robots.txt /var/www/robots.txt [L]
>> RewriteCond /var/www/trac/$1 !-d
>> RewriteRule ^/([[:alnum:]\-]+)(/?.*) /index.html [L]
>
> Hi,
>
> Add a slash before robots.txt, "RewriteRule ^/robots.txt
> /var/www/robots.txt [L]".
>
> /Björn
Thanks, that worked.
--
Shantanu.
---------------------------------------------------------------------
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]