Jump to content

htaccess error


whiteboikyle

Recommended Posts

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

Sat Jun 27 21:16:26 2009] [alert] [client 127.0.0.1] C:/wamp/www/clanan.net/.htaccess: Invalid command 'header', perhaps misspelled or defined by a module not included in the server configuration

 

# 5 MIN
<FilesMatch "\.(css|js|swf|flv)$">
header set Cache-Control "max-age=172800, private, proxy-revalidate"
</FilesMatch>

# 1 WEEK
<FilesMatch "\.(jpg|jpeg|gif|ico|png)$">
header set Cache-Control "max-age=604800, public"
</FilesMatch>

Link to comment
https://forums.phpfreaks.com/topic/163947-htaccess-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.