apache permissions

zeke_mo

(value not set)
Staff member
Political Access
Joined
25 Aug 2004
Messages
1,995
I just upated my http/ftp server from mandrake 10.0 to 10.1, and now I cant view my web page. I have tried changing file permissions to view/edit and I still get a "Connection refused when connecting to xxxx" Is there something else that I need to do to enable people to view my web page? Thanks
 
Connection refused usually means that the server isn't running. If you did start it, maybe it returned som error messages and stopped again?
 
I just checked the running processes on the server and there were 4 httpd-perl things running. Would they just not be responding?
 


I tried starting the service and got this error. any ideas?
 
Yes, you have no Cert file like the error is saying. Comment out the mod_ssl stuff in httpd.conf.
 
j79zlr said:
Yes, you have no Cert file like the error is saying. Comment out the mod_ssl stuff in httpd.conf.


Ok, I have the httpd.conf file opened in notepad2 and I found two lines that contain mod_ssl

AddModule mod_ssl.c
...
...
Include conf/ssl/mod_ssl.conf

Now do I just delete these two lines?
 
Don't delete the lines, just comment them out with a #
 
I commented them out, and I still get the same error. Should I try editing the file in
/etc/httpd/conf.d/41_mod_ssl.default-vhost.conf ? maybe if I comment out the line that is giving the error
 
Ok, looks like your pointing to wrong directory. Try to copy the files from the "Apache" folder to the "Apache2" folder. Those files include "server.crt" and "server.key".

Hope that helps.


Edit: I just wanted to point how appropriate it was that this tech question was my 255'th post,
 
That did it!!! Thanks for the help everybody :D
 
what is apache i have no idea any im taking a course involving it next semester. thanx
 
Eagle710 said:
what is apache i have no idea any im taking a course involving it next semester. thanx
You should start your own thread. ;) And apache is what allows you to see the majority of the sites you visit.
 
just wondering do you have a line in your httpd.conf file like this
Include /etc/httpd/conf.d/*.conf

if you do then that would have been what was including the mod_ssl-default-vhost.conf file, renaming it to end in .config or something would have probably have fixed it. That said moving it to the place where the server.crt and server.key files are is better ;)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back