johnnyk Posted January 28, 2007 Share Posted January 28, 2007 I'm trying to set the expiration for an mp3 file. I put the following in the .htaccess of the root, but got a 500.[code]ExpiresActive OnExpiresDefault M432000[/code]What's the deal? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 28, 2007 Share Posted January 28, 2007 Did you enable the associated mod_expire module for apache?-steve Quote Link to comment Share on other sites More sharing options...
johnnyk Posted January 28, 2007 Author Share Posted January 28, 2007 How would I do that? Quote Link to comment Share on other sites More sharing options...
johnnyk Posted February 3, 2007 Author Share Posted February 3, 2007 I'm not sure I understand. Doesn't "ExpiresActive On" enable it? Quote Link to comment Share on other sites More sharing options...
Stray_Bullet Posted February 3, 2007 Share Posted February 3, 2007 You have to activate the module in your httpd.cfgLook for this line & uncomment it...[code]# LoadModule expires_module modules/mod_expires.so[/code]Then restart apache...Hope this helps! 8) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.