httpd.conf issue
Yesterday I had a "there is no website configured at this address" crisis. It was resolved, but once again happened today. I'm going to guess that the error lies in the virtualhost section of httpd.conf....however, I don't really know what's rigtht and what's wrong. Under Section 3 in the beginnig area of the file, I see this:
Code:
### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost *:80> # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> #<VirtualHost _default_:*> #</VirtualHost>
Code:
<VirtualHost 216.67.230.215> BytesLog domlogs/ursula.qubefactor.com-bytes_log ServerName ursula.qubefactor.com DocumentRoot /usr/local/apache/htdocs </VirtualHost>
Code:
<VirtualHost 216.67.230.215> ServerAdmin webmaster@qubefactor.com DocumentRoot /home/qubefact/public_html BytesLog domlogs/qubefactor.com-bytes_log ServerName www.qubefactor.com User qubefact Group qubefact ServerAlias qubefactor.com www.qubefactor.com CustomLog domlogs/qubefactor.com combined ScriptAlias /cgi-bin/ /home/qubefact/public_html/cgi-bin/ </VirtualHost>
Ian