Commit 7cd3bb84 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for PathInfo

parent b92a7d7d
......@@ -24,6 +24,14 @@ httpd-conf:
define HTTPD_CONF
LoadModule proxy_module /usr/lib/httpd/modules/mod_proxy.so
LoadModule proxy_fcgi_module /usr/lib/httpd/modules/mod_proxy_fcgi.so
AcceptPathInfo On
RewriteEngine On
RewriteCond /srv/www%{REQUEST_FILENAME} !-f
RewriteCond /srv/www%{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$$ fcgi://127.0.0.1:9000/srv/www/index.php/$$1 [P]
ProxyPassMatch ^/(.*\.php)$$ fcgi://127.0.0.1:9000/srv/www/$$1
endef
export HTTPD_CONF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment