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.

httpd-vhosts.conf error
#1
httpd-vhosts.conf error
zPanel overwrites the httpd-vhosts.conf file every time apache restarts or the server is rebooted. When zPanel (10.1.1) creates virtual domain entries in httpd-vhosts.conf it includes the entry:

<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options ExecCGI -Indexes
</location>

Unfortunately this includes an error: the - in front of "Indexes" should not be there and causes current versions of apache to fail to restart. I can manually edit this file (multiple entries, one for each virtual domain) but I have to do this every time the server or apache restarts. The questions is, where does zPanel get this  bit of code? I have looked in the SQL tables, the config files, and in the php files but can't find it. Can someone point me in the right direction please?
Thanks,
Cliff
Reply
Thanks given by:


Messages In This Thread
httpd-vhosts.conf error - by CliffMitchell - 01-10-2015, 10:01 PM
RE: httpd-vhosts.conf error - by Me.B - 01-11-2015, 03:27 AM
RE: httpd-vhosts.conf error - by CliffMitchell - 01-11-2015, 06:04 AM
RE: httpd-vhosts.conf error - by CliffMitchell - 01-11-2015, 06:42 AM
RE: httpd-vhosts.conf error - by Me.B - 01-11-2015, 06:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 6 ,827 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 28 ,345 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,593 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 5 Guest(s)