View Single Post
Old 9th March 2008, 14:58
Musty Musty is offline
Join Date: Mar 2008
Location: Morocco
Posts: 38
Thanks: 3
Thanked 3 Times in 3 Posts

Originally Posted by zcworld
dam it

remove all vhost and see if its starts up
if so

try adding this one to the list

<VirtualHost *:80>
DocumentRoot /var/www/html/test
<Directory /var/www/html/test>

besides that im not sure what your done

I sorted it out. This is what happened:

I read a tutorial on how to sign your own certificate for SSL. I followed the tutorial step by step and created a certificate which I used to overwrite the existing one. Then I just got bored and left right in the middle of the process. What happened is that a configuration file called openssl.conf was created in /etc/httpd/conf.d
Now when I was trying to troubleshoot the problem, I run the command :
httpd -X
some say this means that you start apache with only one process; and I believe apache runs with openssl.conf that it finds, and disregards the rest. That's why perhaps it would run https:// sites but not the others. Now this is what I did. I moved the openssl.conf file from that location to somewhere else (I didn't want to delete it in case it was needed there) and I started apache, and it beamed up like a light bulb. Now I put back all my previous Vhosts, and everything is working fine again.

Wowwww! that gave me a hard time!

Thanks again for your suggestions. and I hope this experience may be of help to somebody running into the same ditch as I did!
Computers are like air conditioners, they stop working properly if you open Windows.
Reply With Quote