Hello,
I try to add my 2 directive in configuration -> vhost.conf
and I see that it does not work,
can you tell me if I can add 2 servername in the same file -> vhost.conf?
=>
<VirtualHost *:80>
ServerName blog.site.be
DocumentRoot /var/www/vhosts/site.com/httpdocs/blog
<Directory /var/www/vhosts/site.com/httpdocs/blog>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wiki.site.be
DocumentRoot /var/www/vhosts/site.com/httpdocs/wiki
<Directory /var/www/vhosts/site.com/httpdocs/wiki>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Thank you
I try to add my 2 directive in configuration -> vhost.conf
and I see that it does not work,
can you tell me if I can add 2 servername in the same file -> vhost.conf?
=>
<VirtualHost *:80>
ServerName blog.site.be
DocumentRoot /var/www/vhosts/site.com/httpdocs/blog
<Directory /var/www/vhosts/site.com/httpdocs/blog>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wiki.site.be
DocumentRoot /var/www/vhosts/site.com/httpdocs/wiki
<Directory /var/www/vhosts/site.com/httpdocs/wiki>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Thank you
Last edited: