Forum Moderators: phranque

Message Too Old, No Replies

Header append x-robots-tag doesn't work? why?

why i got everytime a 500 error?

         

Reilly

6:30 am on Oct 21, 2008 (gmt 0)

10+ Year Member




<Files ~ "\.(swf¦flv)$">
Header append x-robots-tag "noindex"
</Files>

i tried this to include into my .htaccess file, but eachtime i
try to access the website i get a 500 error - what do i wrong?

thanks
Reilly

jdMorgan

2:18 pm on Oct 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's possible that mod_headers is not installed on your server, or that you're not allowed to use it. You might want to ask your host about it.

Take a look at your server error log -- It may have a specific error entry indicating whether mod_headers is available.

Jim

Reilly

6:52 am on Oct 23, 2008 (gmt 0)

10+ Year Member



ok, thanks i think it's not installed - can i activate it like mod_rewrite? can i see it in the phpinfo?

g1smd

9:38 am on Oct 23, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, you need to add it by editing httpd.conf to enable it.