httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kenna" <andr...@stamina.com.au>
Subject RE: [users@httpd] Problem with FilesMatch and the [^] regex.
Date Mon, 28 Oct 2002 04:43:38 GMT
Yep, you would need to have a separate <directory> directive, reversing the rule from
the parent directory.

Andrew


-----Original Message-----
From: David U. [mailto:davidu@everydns.net] 
Sent: Monday, 28 October 2002 3:20 PM
To: users@httpd.apache.org
Subject: [users@httpd] Problem with FilesMatch and the [^] regex.


Hi,

I am trying to setup a VirtualHost and inside I have a FilesMatch directive. I was trying
to say: "Parse everything as php that does not have a "." in it." (it a .jpg, .gif, .css,
etc) -- all the "code" files do not have extensions. so I made:
  <FilesMatch "[^.]">
     ForceType application/x-httpd-php
  </FilesMatch>

But that did not seem to do it.  (images were still parsed).

Any idea of how this is supposed to work?

Also, if I instead used a Directory directive, is there a way to declare a sub directory as
"normal" and not to use the rule from an above directory to recurse into it? (did that make
sense?)

Thanks,
David U.


--
"Never doubt that a small group of thoughtful citizens can change the world. Indeed, it is
the only thing that ever has." --Margaret Mead






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


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


Mime
View raw message