end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

LocationMatch - apache の設定fileで正規表現の否定

以下、httpd.confの抜粋。「?!」をつけるみたい。「!」だけではダメっぽい。

<LocationMatch "^/(?!pub|aut|inc|mt|mt-static|pma)">
    SetHandler perl-script
    PerlHandler Plack::Handler::Apache2
    PerlSetVar psgi_app /home/endo/dev/sexy/Ean/script/ean-server
</LocationMatch>

<Directory "/home/endo/dev/sexy/static/helm">
   AllowOverride All
   Order allow,deny
   Allow from all
</Directory>
Alias /pub /home/endo/dev/sexy/static/helm

include /home/endo/local/web_agents/apache22_agent/Agent_001/config/dsame.conf