View Single Post
Old 08-16-2005, 10:47 AM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
Apache regular expression help

I'm retarded and can't get the correct regular expression for a LocationMatch directive in apache-- if anyone could throw it down, I'd much appreciate it:

The URI must begin with either "index.html" or [0-9]{1,5}, else deny it.

I've tried

Code:
^/!(index\.html|[0-9]{1,5})

^/([^0-9].*)|!(index\.html)

etc, etc.
any ideas ?
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote