![]() |
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}) |
I dont know, but heres a link to check syntax and a bump.
http://httpd.apache.org/docs/1.3/mod...#locationmatch |
Fuck it, found a work around with mod rewrite
Code:
RewriteEngine On |
| All times are GMT -7. The time now is 12:08 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123