L
Laurent Bauer
Guest
Hello,
Each time a site is added on my plesk box, the httpd.include file is regenerated with the wrong default vhost.
I get the same problem when running 'websrvmng -av'.
Here is what httpd.include looks like :
<Directory "/var/www/vhosts">
[...]
<Directory "/var/mailman">
[...]
</IfModule>
Include <mysite1>/conf/httpd.include
[IP-based VirtualHosts]
Include <mysite2>/conf/httpd.include
Include <mysite3>/conf/httpd.include
...
The "mysite1" declaration should be inserted in last block with other "Include"s, but it is inserted before the default vhost declaration, so "mysite1" is displayed instead of the default server page (which we customized for a particular use)
I tried using --(re)set-default-domain but it generates the same file as websrvmng -av.
I noticed that this "mysite1" was the first domain in alphabetical order. But when I disable this domain and run a reconfigure again, I don't get the second domain at the first one's place as I imagined...
Does anyone know this issue ?
Thanks
Laurent
Each time a site is added on my plesk box, the httpd.include file is regenerated with the wrong default vhost.
I get the same problem when running 'websrvmng -av'.
Here is what httpd.include looks like :
<Directory "/var/www/vhosts">
[...]
<Directory "/var/mailman">
[...]
</IfModule>
Include <mysite1>/conf/httpd.include
[IP-based VirtualHosts]
Include <mysite2>/conf/httpd.include
Include <mysite3>/conf/httpd.include
...
The "mysite1" declaration should be inserted in last block with other "Include"s, but it is inserted before the default vhost declaration, so "mysite1" is displayed instead of the default server page (which we customized for a particular use)
I tried using --(re)set-default-domain but it generates the same file as websrvmng -av.
I noticed that this "mysite1" was the first domain in alphabetical order. But when I disable this domain and run a reconfigure again, I don't get the second domain at the first one's place as I imagined...
Does anyone know this issue ?
Thanks
Laurent