Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, hope someone can throw me a pointer here; I am looking to change my document root in Apache2 httpd.conf (on a Debian 3.1 install), and I find the file ...
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    3

    Debian 3.1/Apache2 httpd.conf question

    Hi, hope someone can throw me a pointer here;

    I am looking to change my document root in Apache2 httpd.conf (on a Debian 3.1 install), and I find the file is totally commented out "#This is here for backwards compatability yada yada...".

    Where is the httpd config file?

    TIA, Cheers

    G

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    251
    the path: /etc/apache2/httpd.conf
    (or) may be
    /etc/apache2/apache2.conf

    regards

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    59
    the above path menctioned is not the correct one please have a look Here how to change the document root in your apache web server

  4. #4
    Just Joined!
    Join Date
    Feb 2006
    Posts
    3

    Smile

    Thanks for the pointers, I could find the curve ball hpptd.conf, however it looked like this;

    # This is here for backwards compatability reasons and to support
    # installing 3rd party modules directly via apxs2, rather than
    # through the /etc/apache2/mods-{available,enabled} mechanism.
    #
    #LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so

    Thanks for the link info!

    Cheers,

    MM

  5. #5
    Just Joined!
    Join Date
    Feb 2006
    Posts
    3

    Thanks all

    Thanks all, It was the redirect in the modify /etc/apache2/sites-available/default file...

    Cheers

Posting Permissions

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