0 Members and 1 Guest are viewing this topic.
<VirtualHost *:80> ServerAdmin me@mydomain.com ServerName dev.mydomain.com ProxyPreserveHost On # setup the proxy <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:660/ ProxyPassReverse / http://localhost:660/</VirtualHost>
<IfVersion >= 2.4> <IfModule mod_proxy_fcgi.c> ProxyRequests Off ProxyErrorOverride On ProxyPass /error ! ErrorDocument 500 /error/500.html <Proxy "unix:/opt/configs/php-fpm/sock/php-apache.sock|fcgi://localhost"> ProxySet timeout=300 ProxySet connectiontimeout=300 # need disablereuse=on for 'ondemand' ProxySet disablereuse=on ProxySet max=25 ProxySet retry=0 </Proxy> <FilesMatch \.php$> SetHandler proxy:fcgi://localhost </FilesMatch> </IfModule> </IfVersion>
<IfVersion >= 2.4> #<IfModule mod_proxy_http.c> <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:660/ ProxyPassReverse / http://localhost:660/ #</IfModule></IfVersion>
cp /opt/configs/apache/conf/domains/sub.domain.com.conf /opt/configs/apache/conf/customs/sub.domain.com.conf.Modified
Page created in 0.06 seconds with 21 queries.