This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Custom Vhost entries problem - Not working
#3
RE: Custom Vhost entries problem - Not working
(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.
Thanks given by:


Messages In This Thread
RE: Custom Vhost entries problem - Not working - by Tango - 11-24-2014, 10:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Problem with roundcube pgh2011 0 2 ,583 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 2 ,631 12-30-2020, 07:08 PM
Last Post: pgh2011
Senator crash problem with mysql provokas 3 10 ,791 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 1 Guest(s)