You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Werner Schalk <we...@gmx.de> on 2002/08/22 17:01:56 UTC

question to Files and regex

Hello,

is it true that
<Files ~ "\.(gif|jpe?g|png)$">
stands for all files ending
with .gif, .jpg, .jpeg and
.png? So with the question mark
the "e" of "jpeg" could be
a part of the file name but must
not (it's optional) and therefor
.jpg are also matched?

Bye and thanks,
Werner.


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: question to Files and regex

Posted by Joshua Slive <jo...@slive.ca>.
Werner Schalk wrote:
> Hello,
> 
> is it true that
> <Files ~ "\.(gif|jpe?g|png)$">
> stands for all files ending
> with .gif, .jpg, .jpeg and
> .png? So with the question mark
> the "e" of "jpeg" could be
> a part of the file name but must
> not (it's optional) and therefor
> .jpg are also matched?

Yes.

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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org