apache permissions

Discussion in 'Linux & BSD' started by zeke_mo, Apr 3, 2005.

  1. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA
    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
     
  2. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    is the apache server running properly?
     
    zeke_mo likes this.
  3. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    Connection refused usually means that the server isn't running. If you did start it, maybe it returned som error messages and stopped again?
     
    zeke_mo likes this.
  4. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA
    I just checked the running processes on the server and there were 4 httpd-perl things running. Would they just not be responding?
     
  5. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA
    [​IMG]

    I tried starting the service and got this error. any ideas?
     
  6. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Yes, you have no Cert file like the error is saying. Comment out the mod_ssl stuff in httpd.conf.
     
  7. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA

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

    Now do I just delete these two lines?
     
  8. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    Don't delete the lines, just comment them out with a #
     
    zeke_mo likes this.
  9. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA
    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
     
  10. Aprox

    Aprox Moderator Political User

    Messages:
    2,737
    Location:
    California, USA
    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,
     
    zeke_mo likes this.
  11. zeke_mo

    zeke_mo (value not set) Staff Member Political User Folding Team

    Messages:
    1,984
    Location:
    Placerville, CA
    That did it!!! Thanks for the help everybody :D
     
  12. Enhand

    Enhand OSNN Junior Addict

    Messages:
    13
    giggle
     
  13. Eagle710

    Eagle710 OSNN Senior Addict

    Messages:
    312
    Location:
    Toronto, Ontario, Canada
    what is apache i have no idea any im taking a course involving it next semester. thanx
     
  14. Xie

    Xie - geek - Subscribed User Folding Team

    Messages:
    5,275
    Location:
    NY, USA
    You should start your own thread. ;) And apache is what allows you to see the majority of the sites you visit.
     
  15. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    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 ;)
     
  16. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    http://httpd.apache.org/ :)