PDA

View Full Version : Directadmin creates wrong vhosts?



ja3
06-20-2004, 12:39 AM
Everytime one user at my server edits his vhost with adding subdomains and adding new domains the vhost file is wrong. It just sets things on the wrong place. I edit it in his httpd.conf but directadmin just does continue to make mistakes

Egg: <virtualhost ip:80> stands at the top of the page and under it there is standing another <virtualhost ip:80>. And 1 vhost is just missing an <virtualhost ip:80> that stands on the top of the page? How can I fix this?

Thanx,
ja3

ProWebUK
06-20-2004, 07:30 AM
Are you using the custom httpd.conf feature?

Chris

ja3
06-20-2004, 07:48 AM
Nothing is in the custom httpd conf from that user... so I don't understand whats wrong

DirectAdmin Support
06-20-2004, 02:03 PM
Hello,

Try this:

Remove these files:

/usr/local/directadmin/data/users/username/domains/domain.com.cust_httpd

/usr/local/directadmin/data/templates/custom/virtual_host*.conf

Then rewrite the httpd.conf files:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

John