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.
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.
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.
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.
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.
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.
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.
Bookmarks