whiteboikyle Posted June 28, 2009 Share Posted June 28, 2009 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 More sharing options...
Ken2k7 Posted June 28, 2009 Share Posted June 28, 2009 Header uppercased perhaps. Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-864918 Share on other sites More sharing options...
whiteboikyle Posted June 28, 2009 Author Share Posted June 28, 2009 I tried Header.. didn't work.. [sat Jun 27 21:14:45 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 Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-864924 Share on other sites More sharing options...
Ken2k7 Posted June 28, 2009 Share Posted June 28, 2009 Do you have the mod_headers.c file? Try adding <IfModule mod_headers.c> Header set ... </IfModule> Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-864931 Share on other sites More sharing options...
whiteboikyle Posted June 28, 2009 Author Share Posted June 28, 2009 Do you have the mod_headers.c file? Try adding <IfModule mod_headers.c> Header set ... </IfModule> That worked.. So i assume i dont have mod_headers.c on ? Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-864948 Share on other sites More sharing options...
trq Posted June 28, 2009 Share Posted June 28, 2009 This has what to do with php? Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-864950 Share on other sites More sharing options...
whiteboikyle Posted June 28, 2009 Author Share Posted June 28, 2009 Didn't know where to post it. Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-865178 Share on other sites More sharing options...
whiteboikyle Posted June 29, 2009 Author Share Posted June 29, 2009 Bump plz. Link to comment https://forums.phpfreaks.com/topic/163947-htaccess-error/#findComment-865451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.