Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://127.0.0.2:9126/<path>/$1
- RewriteCond %{REQUEST_FILENAME} -f [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^ - [L]
- RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
- RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
- RewriteRule . index.php [L]
- ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://127.0.0.2:9126/<path>/$1
- <Directory /var/www/yoursiste.com>
- Options -Indexes +FollowSymLinks -ExecCGI +MultiViews
- AllowOverride All
- <IfModule mod_proxy_fcgi.c>
- RewriteEngine On
- RewriteBase /
- RewriteOptions InheritBefore
- RewriteCond %{REQUEST_FILENAME} -f
- RewriteRule ^([^.]+.php)$ fcgi://127.0.0.2:9126/var/www/yoursite.com/$1 [L,P]
- </IfModule>
- Order allow,deny
- allow from all
- <IfVersion >= 2.4>
- Require all granted
- </IfVersion>
- </Directory>
- <IfModule mod_proxy_fcgi.c>
- <Proxy fcgi://127.0.0.2:9126>
- ProxySet timeout=1800 disablereuse=on
- </Proxy>
- </IfModule>
- ProxyPassMatch ^/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes)/.*.php(/.*)?)$ fcgi://127.0.0.1:9000/<path>/$2
- ProxyPassMatch ^/([_0-9a-zA-Z-]+/)?(.*.php(/.*)?)$ fcgi://127.0.0.1:9000/<path>/$2
- ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://127.0.0.1:9000/<path>/$1
- RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
- RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement