This is a discussion on ExpiresDefault help needed within the Apache Web Server forums, part of the Web Server and Related Forums category; I am a begginer with Apache and need help. There is server directory /images containting gifs which do not change ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am a begginer with Apache and need help.
There is server directory /images containting gifs which do not change often. I created .htaccess file in directory containing: ExpiresActive On ExpiresDefault A86400 I tried even with <File "*.gif"> ExpiresActive On ExpiresDefault A86400 </File> In both cases server returned : HTTP/1.1 500 Internal Server Error Date: Tue, 06 Apr 2004 15:05:24 GMT Server: Apache/1.3.26 (Unix) PHP/4.2.1 Connection: close What am I doing wrong? Can somebody please help with the right synthax. TIA Hot |
|
|||
|
hot_sosage@yahoo.com wrote:
> <File "*.gif"> From the documentation of Apache doesn't seem that the Expires directives can be applied in a <file> block. Check the error_log file. Davide -- | "In any world menu, Canada must be considered the vichyssoise of | nations -- it's cold, half-French, and difficult to stir." -- Stuart | Keate | |