I've noticed on the interface Web Server we can create Some VHost etc..
But we can't manage for exemple the vhost 80 or 443 or other vhost who already "EXIST" . exemple By default the vhost 80 and 443 follow the Web folder.
If i want add an other Vhost on 80 or 443 to a different folder with a Specific ServerName value this isn't possible from the interface ADM. Maybe should be a nice implementation because actually for do this custom configuration we have to edit directly the apache conf files ?
like this (exemple on https) - @default-ssl :
Code: Select all
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName wehack.mondomaine.com
DocumentRoot "/volume1/Web"
SSLEngine on
</VirtualHost>
<VirtualHost *:443>
ServerName img.mondomaine.com
DocumentRoot "/volume1/Public"
ScriptAlias /cgi-bin/ "/volume1/Public/cgi-bin"
SSLEngine On
<Directory "/volume1/Public">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
</IfModule>