Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[apache-talk] AccelNoPass
Случайно выяснилось, что при наличии в конфиге апача следующих строк
===
Alias /pictures /var/www/communiware/pictures
<Location /var/www/communiware/pictures>
<IfModule mod_charset.c>
CharsetDisable On
</IfModule>
SetHandler default-handler
Options -Indexes
</Location>
<VirtualHost www.ru:80>
ServerName www.ru
RewriteEngine on
AccelPass / http://localhost:8888/ [PH]
RewriteOptions inherit
RewriteRule ^/pictures/([^/]/.*) /var/www/communiware/pictures/$1 [L]
RewriteRule ^/pictures/([^/][^/])(.*)
/var/www/communiware/pictures/$1/$1$2 [L]
AccelNoPass /pictures/ /~ /cgi-bin
RewriteRule ^/cgi-bin/(.*) /var/www/communiware/cgi-bin/$1 [L]
RewriteRule ^/([^~].*) http://localhost:8888/$1 [P]
RewriteRule ^/$ http://localhost:8888/ [P]
</VirtualHost>
запросы www.ru/pictures на бэкенд пробрасываются... это так и должно
быть - ?
Gor
P.S. Server: Apache/1.3.26 (Unix) mod_accel/1.0.24
|