Regularni vyraz do Apache LocationMatch
Petr Simek
psimek na jcu.cz
Neděle Květen 11 14:04:14 CEST 2003
On Sun, 11 May 2003, Michal Polák wrote:
> rekl bych, ze Vam minimalne chybi "oiskejpovani" posledni tecky, aby se
> nevyhodnotila jako libovolny znak.
> Dale vychazim z toho, ze php soubor se nejak jmenuje, tak bych uvedl misto
> hvezdicky plus.
> Tedy zhruba takto:
>
> <LocationMatch "^/nophp/.+\.php$">
Tohle ovsem zakaze taky listing adresare /nophp/ , zda se ze to neni tak
jednoduche.
> Vice informaci viz (http://httpd.apache.org/docs/misc/FAQ.html#regex):
> The best overview around is probably the one which comes with Perl. We
> implement a simple subset of Perl's regex support, but it's still a good way
> to learn what they mean. You can start by going to the CPAN page on regular
> expressions (http://www.perl.com/doc/manual/html/pod/perlre.html), and
> branching out from there.
To uz jsem precetl nekolikrat.
> Michal Polak
*------------------------------------------------------------------------*
| Petr Simek APS JU |
| psimek na jcu.cz |
*------------------------------------------------------------------------*
Další informace o konferenci Linux