Results 1 to 6 of 6

Thread: Where is httpd.conf

  1. #1
    Join Date
    Aug 2009
    Posts
    31

    Where is httpd.conf

    I have recently installed apache server on my machine. Can any one tell me the location of httpd.conf file. I also wnat to know the use of httpd.conf file. Any recommendations and suggestions are appreciated.

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: Where is httpd.conf

    Your Apache's httpd.conf Apache's httpd.conf file is located here: /etc/httpd/conf/httpd.conf. Apache configuration files contain one directive per line. The back-slash "\" may be used as the last character on a line to indicate that the directive continues onto the next line.

  3. #3
    Join Date
    Dec 2008
    Posts
    371

    Re: Where is httpd.conf

    httpd.conf is the main Apache server configuration file. This allows you to create a specific configuration file for each module that you install, for instance php.conf.It contains the # configuration directives that give the server its instructions, it is only possible to run the server under inetd if it is started by the root account. If a mistake is made and the Web server does not work correctly, first review recently edited passages in httpd.conf to verify there are no typos.

  4. #4
    Join Date
    May 2008
    Posts
    4,345

    Re: Where is httpd.conf

    httpd.conf - Apache HTTP server configuration file. The easiest way to get to it is to open up Terminal (in Applications > Utilities) and type "sudo pico /etc/httpd/httpd.conf". If your site is hosted with a paid or free host, then you wont have access to it and should contact your hosting company to see if they can help.

  5. #5
    Join Date
    May 2008
    Posts
    3,316

    Re: Where is httpd.conf

    drive:\apache\local\apache2\conf is the correct path, If configuring the Apache HTTP Server, edit /etc/httpd/conf/httpd.conf and then either reload, restart, or stop and start the httpd process. If you run apache server on your machine, then look for it in that directory drive:\usr\local\apache\conf or maybe you have your own directory then look for that file on your local drive.

  6. #6
    Join Date
    Apr 2008
    Posts
    4,088

    Re: Where is httpd.conf

    httpd.conf file is the main server configuration file. In your httpd.conf file you need to specify what files apache will handle as a folder "index" your httpd.conf is here: /private/etc/httpd/httpd.conf -- remember to make a backup before making any modifications.

Similar Threads

  1. Apache2 httpd conflict
    By Amy Adams in forum Networking & Security
    Replies: 4
    Last Post: 28-04-2010, 10:02 AM
  2. where is xorg.conf gone?
    By Netorious in forum Operating Systems
    Replies: 4
    Last Post: 07-04-2010, 01:52 AM
  3. Changing grub.conf
    By Unix'EM in forum Operating Systems
    Replies: 3
    Last Post: 04-08-2009, 06:19 PM
  4. Configure settings in httpd.conf for best performance
    By Caddo in forum Networking & Security
    Replies: 2
    Last Post: 18-05-2009, 11:53 PM
  5. Httpd is unable to start
    By Dharamsi in forum Networking & Security
    Replies: 3
    Last Post: 19-02-2009, 08:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,653,213.06883 seconds with 16 queries