Advertisement
Guest User

Untitled

a guest
Dec 10th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. # vhosts.conf
  2. # Created 10.12.2013 09:55
  3. # Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
  4.  
  5. NameVirtualHost xxx:80
  6. <VirtualHost xxx:80>
  7. DocumentRoot "/var/www/"
  8. ServerName xxx.yourvserver.net
  9. 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
  10. <Directory "/var/www/">
  11. <FilesMatch "\.(php)$">
  12. AddHandler php5-fastcgi .php
  13. Action php5-fastcgi /fastcgiphp
  14. Options +ExecCGI
  15. </FilesMatch>
  16. Order allow,deny
  17. allow from all
  18. </Directory>
  19. Alias /fastcgiphp /var/www/php-fpm/froxlor.panel/xxx.yourvserver.net/dc40.fpm.external
  20. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement