ExpiresDefault help needed

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2004
hot_sosage@yahoo.com
 
Posts: n/a
Default ExpiresDefault help needed

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
  #2 (permalink)  
Old 04-06-2004
Davide Bianchi
 
Posts: n/a
Default Re: ExpiresDefault help needed

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
|
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0