LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I can't find the CGI-BIN directory and http.conf file is blank (https://www.linuxquestions.org/questions/linux-software-2/i-cant-find-the-cgi-bin-directory-and-http-conf-file-is-blank-588687/)

Dapernia 10-01-2007 02:21 PM

I can't find the CGI-BIN directory and http.conf file is blank
 
Hello my friends:
I have installed Apache2 on My Ubuntu 7.04 distribution, but i am having a little problem, I can't find the httpd.conf file and cgi-bin directory can't be located.
When i check the /var/www/ directory i don't see the cgi-bin dir, and my http.conf exists but it is blank.
There is an apache2.conf file and it has what i think is the httpd.conf content, but i am not sure if it's the right content.
I have reinstalled Apache2 three times but it's always the same.
Can you please help me to know what is missing???

Thanks!!!

binary_pearl 10-02-2007 10:52 PM

First, let's find your config files. Try this command as root:
find / -name "httpd.conf" -print

This will tell you where all of your httpd.conf files are located. I suspect that you might have multiple versions of apache installed, but I could be wrong.

Once you find a good httpd.conf, we should be able to trace where your cgi-bin directory is located at.

--Shaun


All times are GMT -5. The time now is 02:38 PM.