help reading conf file

Discussion in 'Apache' started by cjswanson1355, Dec 9, 2008.

  1. #1
    Hello. I'm trying to set up this virtual host, but when i restart apache, it states that

    DocumentRoot /root/******/*****/regions/default/

    is not found. I've double checked that this is a valid directoy, so why is this coming up as an error?
     
    cjswanson1355, Dec 9, 2008 IP
  2. HSH

    HSH Peon

    Messages:
    73
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Delete the trailing "/"
     
    HSH, Dec 10, 2008 IP
  3. thegetpr

    thegetpr Banned

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try search
    "locate httpd.conf" without quotes
     
    thegetpr, Dec 14, 2008 IP
  4. cjswanson1355

    cjswanson1355 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've tried locating more information, but still to no avail. From what I understand, Apache isn't able to see the file that needs to be opened. I've tried changing permissions and removing the backslash, but that doesn't seem to help. What else could prevent Apache from reading a file?

    Whenver I run the installation, after it finishes it says the following:

    chown: missing operand after `apache.apache'
     
    cjswanson1355, Dec 16, 2008 IP
  5. HSH

    HSH Peon

    Messages:
    73
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    did you try using the apachectl configtest command to see where the error lies?

    The chown (change ownership) command is looking for a file to change the ownership of to apache:apache.
    It sounds like the directory was never created. Are you in superuser mode when you run the install?
     
    HSH, Dec 22, 2008 IP
  6. thegetpr

    thegetpr Banned

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    please check this in httpd.conf file that virtual host is created or not for this

    DocumentRoot /root/******/*****/regions/default/
     
    thegetpr, Dec 28, 2008 IP