RE: Custom Vhost entries problem - Not working
11-24-2014, 10:01 PM
(This post was last modified: 11-24-2014, 10:48 PM by Tango.)
(11-24-2014, 09:53 PM)Me.B Wrote: start you custom entry with </virtualhost> & don't close the virtual host at the end with : </virtualhost>
I still think this is not how we should add custom entries. If you want to add some custom vhosts better adding them to apache config files.
M B
DAMN! As I can see, in the how-to thread (http://forums.sentora.org/showthread.php?tid=495) the entry starts with </virtualhost>.
My fault, of course. Thanks a lot for your help.
EDIT: I think it would be more clear if you separate the vhosts:
------------------------------
# Configuration for phpMyAdmin - mysql.yoursite.tld
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster[at]yoursite.tld
DocumentRoot "C:/zpanel/panel/etc/apps/phpmyadmin/"
ServerName mysql.yoursite.tld
AddType application/x-httpd-php .php3 .php
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
-----------------------------
And so on. Its a little confusing: you need to start de vhost entry CLOSING virtualhost, and you don need to close it. (As the example I pasted)
In the how-to thread it looks "strange".
Greets.