The documentation I had seen --
http://www.askapache.com/htaccess/apache-speed-expires.html ,
http://www.askapache.com/htaccess/apache-speed-cache-control.html , gave a
double backslash, and my experimenting with a single backslash didn't work.

The following (with a single backslash) is enough to give an internal server
error:

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Expires "Sun, 18 Nov 2007 14:35:41 GMT"
</FilesMatch>

On 10/20/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
>
> On 10/19/07, Jonathan Hayward http://JonathansCorner.com
> <[EMAIL PROTECTED]> wrote:
> > I am getting an internal server error (500) if I place the following in
> my
> > ROOT .htaccess:
>
> What does the apache error log say?
>
> I'm not sure why you are using a double-slash at the beginning of the
> regexes. It seems you only want a single.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
++ Jonathan Hayward, [EMAIL PROTECTED]
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

Reply via email to