Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-21-2003, 05:15 AM   #1
LQ Newbie
Registered: May 2003
Posts: 6

Rep: Reputation: 0
Unhappy Apache httpd location

Hi ladys and gentlemans

I have a laptop with Mandrake 9.1. Iam trieing to setup Apache and to do that I tried to use webmind. Apache seems to be running because if I type in my browser http://localhost a web site aperar saying that all is ok. The problem is that webmin say that the file httpd should be in /usr/sbin/httpd and it is not. I have look for this file and I have found:


where could I find the httpd file in order to copy to the right directory.

Thank's everybody
Old 05-21-2003, 06:10 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
ln -s /usr/sbin/httpd2 /usr/sbin/httpd
maybe thats all u need do
cheers, jens
Old 05-21-2003, 08:51 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
That file doesn't necessarily have to be in a specific spot. Just tell webmin where the actual location is at.

And most likely that httpd2 is the actual file your looking for.
Old 05-21-2003, 02:22 PM   #4
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
"...When I find myself in times of trouble (with Apache)...."

All your Apache questions have an answer called :

# find / -name "httpd.conf"
Old 05-21-2003, 07:12 PM   #5
LQ Newbie
Registered: May 2003
Posts: 5

Rep: Reputation: 0
Im haveing the same problem.... WebMin seems to insist that the file be 'httpd.conf' and wont accept httpd2.conf....
Old 05-21-2003, 07:23 PM   #6
LQ Newbie
Registered: May 2003
Posts: 5

Rep: Reputation: 0
creating the symbolic link didnt work at all... and ive searched the system twice and found no 'httpd.conf' file... so apache is running with the httpd2.conf file and the apache module for webmind refuses to acknowledge that its the correct file... it still is looking for /whatever/whatever/httpd.conf
Old 05-21-2003, 07:32 PM   #7
LQ Newbie
Registered: May 2003
Posts: 5

Rep: Reputation: 0
ok i fixed it... i opened a terminal, and changed directory to /etc/httpd/conf/ folder and while in there, did this "ln -s /etc/httpd/conf/httpd2.conf httpd.conf" which created a shortcut called httpd.conf to the file /etc/httpd/conf/httpd2.conf httpd.conf... when i submitted the change in webmin, it accepted it and took me to the 'reconfigure known modules' page which i assume is the next configuration step..... btw my apache 2 install has the root directory of /etc/httpd and the html itself sits in /var/www/html (also in /var/www are the folders for perl, modules, and other things like that... ) hopefully this descirption helps Navaho adapt what i did to how his install of mandrake is set up (even though it should be identical to mine) and fix his prob... thanks for the info everyone


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: location in location eantoranz Linux - Networking 2 08-08-2005 09:37 PM
2 files httpd.conf under two diffent location EgosZ Linux - Networking 7 10-24-2004 10:29 AM
Apache APXS Location? jlederer Mandriva 1 01-22-2004 06:23 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
Apache httpd c0c0deuz Linux - General 6 11-18-2002 10:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration