The output will tell you the location of your nf file. Make sure that you use capital V to get detailed version information. Now run the following command to get the configuration settings of httpd: The above output tells us where the Apache demon is located. This command may show you several apache processes, like:Ġ0:00:02 /usr/local/apache/bin/httpd -k start –DSSL (This method will work only when Apache is running)ġ) Use the ps command to show list of processes that are currently running and then pipe the output through grep command to filter only running Apache processes Well, the best answer is to ask Apache!… and this is how we do it: Therefore, there is no preset exact location where you can find the file. But this file may be located in different locations depending upon the OS and user’s preferences (that is to say that the location of this file itself is configurable). nf is the main file that holds entire configuration for Apache web server. We, all the webmasters, sometimes need to make changes to the nf file in order to tweak Apache web server’s configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |