Find the answer to your Linux question:
Results 1 to 2 of 2
i have debian and made a default install of apache 2. when i tried to look for the httpd.conf so i could edit the document root i got the following: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    10

    going nuts over apache


    i have debian and made a default install of apache 2. when i tried to look for the httpd.conf so i could edit the document root i got the following:

    ./usr/share/apache/default-configs/apache-perl/httpd.conf
    ./usr/share/apache/default-configs/apache/httpd.conf
    ./usr/share/apache/default-configs/apache-ssl/httpd.conf
    ./etc/apache2/httpd.conf

    i reckon it's the second file that i should edit because the fourth one is almost empty. the first and third, on the other hand, don't seem like it. anybody here know the relationship between the second and the fourth file?

    also, i've read at some site about "apachectl" but i can't run that command or find that file in my system. what should i do to install or activate it?

  2. #2
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    You need to take a look in /etc/apache2 review all the config files in that area..

    the main config file in Debian for Apache2 is called: apache2.conf

    httpd.conf is a leftover for backward compatability purposes

    you may also want to look a the files in the sites-enabled directory if you plan on using virtual servers.
    far...out

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •