ags
10-23-02, 02:46 AM
For a month now I have tried EVERYTHING to get PowWeb to properly include the Apache modules they advertise as being available here (http://www.powweb.com/faqs/?category=Apache&faq_id=272). I desperately need to send Cache-Control and Expires headers with my images, and I am absolutely confident the Apache setup (at least for Quasar) is missing the mod_expires and mod_headers modules. TWO forum posts (here (http://forum.powweb.com/showthread.php?threadid=10328) and here (http://forum.powweb.com/showthread.php?threadid=7864)) regarding the same problem have gone UNANSWERED, I have sent at least 3 emails to both tech support and admin with still no reply, and have called on several occasions only to talk with people who I was "disconnected" from, or who said the problem would be fixed weeks ago.
I have conducted several tests to be sure that the problem is because of PowWeb's misconfiguration, and not something my often-forgetful mind is overlooking. I encourage any of you fellow users to try adding these directives to their .htaccess to see if you get the same result. In my .htaccess file (which was uploaded in ASCII) I included the directive to turn-on mod_expires:
ExpiresActive on
ExpiresDefault "access plus 1 month"
As soon as I upload .htaccess to my htdocs directory, my site completely breaks, until I delete it. Then, in error_log, there is this message for every image request:
"Invalid command 'ExpiresActive', perhaps mis-spelled or defined by a module not included in the server configuration"
Reason being, mod_expires is not included in the server configuration!! So, I went ahead and installed Apache on my own Linux box. I purposely compiled apache without mod_expires, to see if the same thing would happen, and got the EXACT SAME error messages as above. Then, I recompiled Apache with the "--enable-module=expires" flag, and, sure enough, the appropriate headers started getting sent with each image request.
I got excited when I read that I could achieve the same goal by using the "Header" statement in .htaccess, like so:
<Files *.gif>
Header append Cache-Control "max-age=20736000"
Header append Expires "Sun, 15 Jun 2003 18:30:41 GMT"
</Files>
But, to my astonishment, mod_headers IS NOT COMPILED INTO APACHE EITHER!! ARGH!*%$
PowWeb Admin, please tell me it ain't so. Please tell me I'm wrong and Iv been up too long, and in the morning I can just make this simple change to .htaccess and Expires / Cache-Control headers will start being sent with my images. Otherwise, please at least respond with a workaround to including headers with my images, and you will have a happy long-term customer.
P.S. My site is alt.datadreamers.com
I have conducted several tests to be sure that the problem is because of PowWeb's misconfiguration, and not something my often-forgetful mind is overlooking. I encourage any of you fellow users to try adding these directives to their .htaccess to see if you get the same result. In my .htaccess file (which was uploaded in ASCII) I included the directive to turn-on mod_expires:
ExpiresActive on
ExpiresDefault "access plus 1 month"
As soon as I upload .htaccess to my htdocs directory, my site completely breaks, until I delete it. Then, in error_log, there is this message for every image request:
"Invalid command 'ExpiresActive', perhaps mis-spelled or defined by a module not included in the server configuration"
Reason being, mod_expires is not included in the server configuration!! So, I went ahead and installed Apache on my own Linux box. I purposely compiled apache without mod_expires, to see if the same thing would happen, and got the EXACT SAME error messages as above. Then, I recompiled Apache with the "--enable-module=expires" flag, and, sure enough, the appropriate headers started getting sent with each image request.
I got excited when I read that I could achieve the same goal by using the "Header" statement in .htaccess, like so:
<Files *.gif>
Header append Cache-Control "max-age=20736000"
Header append Expires "Sun, 15 Jun 2003 18:30:41 GMT"
</Files>
But, to my astonishment, mod_headers IS NOT COMPILED INTO APACHE EITHER!! ARGH!*%$
PowWeb Admin, please tell me it ain't so. Please tell me I'm wrong and Iv been up too long, and in the morning I can just make this simple change to .htaccess and Expires / Cache-Control headers will start being sent with my images. Otherwise, please at least respond with a workaround to including headers with my images, and you will have a happy long-term customer.
P.S. My site is alt.datadreamers.com