homepage Welcome to WebmasterWorld Guest from 184.73.7.143
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library : Charter : Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Header append x-robots-tag doesn't work? why?
why i got everytime a 500 error?
Reilly




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


<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




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

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




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

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

g1smd




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved