groups

Link to this snippet:


Download to Code Collector

language: Other
licence: Other

File vhost per sottositi su sottodomini

options: send to code collectorview all bonzo's snippets
1 - Create the conf/vhost.conf and write:

ServerAlias *.domain.com
DocumentRoot /var/www/vhosts/domain.com/httpdocs/
AddType application/x-httpd-php .html .php .inc
DirectoryIndex index.html index.php
Options +FollowSymLinks

2 - Then run:

# /usr/local/psa/admin/bin/websrvmng -av