[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quick regex



regex is something that i likely should learn, but havent thus far

since i dont know it all that well i wanna run this by someone else


im trying to set up a regex for apache so that i can make some files named
in the following pattern and have apache keep them as forbidden (like it
does with the .ht* files by default)

the files will be like so:
inc.users.php
inc.blah.php
inc.XXX.php

would something like this work safely? im assuming that "^" is a wildcard
character meaning 0 or more characters from the set all

<Files ~ "^\inc.">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

to me it looks like it should work ok, but again regex is something i know
nothing about so i dont want to miss anything

Casey

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.