LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-21-2003, 06:15 AM   #1
navajo
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:

/usr/share/ADVX/compat/httpd.conf
/usr/lib/apache2-2,0.44/httpd.ecf
/usr/sbin/httpd2

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

Thank's everybody
 
Old 05-21-2003, 07:10 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,455

Rep: Reputation: 104Reputation: 104
try
ln -s /usr/sbin/httpd2 /usr/sbin/httpd
maybe thats all u need do
cheers, jens
 
Old 05-21-2003, 09:51 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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, 03:22 PM   #4
vous
Member
 
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, 08:12 PM   #5
bogomip_bandit
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, 08:23 PM   #6
bogomip_bandit
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, 08:32 PM   #7
bogomip_bandit
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
 
  


Reply


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 10:37 PM
2 files httpd.conf under two diffent location EgosZ Linux - Networking 7 10-24-2004 11:29 AM
Apache APXS Location? jlederer Mandriva 1 01-22-2004 07:23 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM
Apache httpd c0c0deuz Linux - General 6 11-18-2002 11:23 AM


All times are GMT -5. The time now is 07:55 PM.

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