Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # vhosts.conf
- # Created 10.12.2013 09:55
- # Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
- NameVirtualHost xxx:80
- <VirtualHost xxx:80>
- DocumentRoot "/var/www/"
- ServerName xxx.yourvserver.net
- FastCgiExternalServer /var/www/php-fpm/froxlor.panel/xxx.yourvserver.net/dc40.fpm.external -socket /var/run/apache2/froxlor.panel-xxx.yourvserver.net-php-fpm.socket -idle-timeout 30
- <Directory "/var/www/">
- <FilesMatch "\.(php)$">
- AddHandler php5-fastcgi .php
- Action php5-fastcgi /fastcgiphp
- Options +ExecCGI
- </FilesMatch>
- Order allow,deny
- allow from all
- </Directory>
- Alias /fastcgiphp /var/www/php-fpm/froxlor.panel/xxx.yourvserver.net/dc40.fpm.external
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement