Forum Moderators: phranque
I'm trying to serve different robots.txt files for HTTPS & HTTP
I'm using:
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
rewriterule ^robots\.txt$ robots_ssl.txt
When calling http:// ....../robots.txt I get 500 error.
When calling [..........] its working and the "robots_ssl.txt" file is served.
Not sure why this is happening, maybe the syntax is wrong as my server use Apache/1.3.6 ?
Any help will be appreciated.