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

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

Reply via email to