LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-25-2004, 02:04 PM   #1
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Rep: Reputation: 15
Default Apache Directory


i have mandrake 9.2 and apache, and i want to remote admin it via webmin, but webmin needs to know the apache dir and the location of the apache httpd executable.

what is the default apache directory for mandrake 9.2? i installed it with the rpms that came with mandrake.

and where can i find the httpd executable? it is not the script in /etc/rc.d/init.d/ that it wants but an executable.
 
Old 02-25-2004, 02:15 PM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I don't have Mandrake so I can't help you explicitly, but if you go to the script in /etc/rc.d/init.d/ it will tell you the location of the apache binary.
It will be something like /usr/sbin/apachectl or /usr/sbin/httpd or something like that. You'll just have to look.
 
Old 02-25-2004, 02:34 PM   #3
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
well, i looked there and it points to a .pid file, but thats not what i am looking for. i need the path to the httpd executable file. there is a httpd2 executable in /usr/sbin/ but i still cant find the "apache server root directory" or the "path to the httpd executable.

Last edited by emperorjordan; 02-25-2004 at 03:29 PM.
 
Old 02-25-2004, 05:37 PM   #4
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
Never mind, I found the answer. To configure the Webmin module for Mandrake's default installation of Apache2 (it was expecting Apache 1.x,) change the following:

Apache server root directory: /etc/httpd/2.0
Path to httpd executable: /usr/sbin/httpd2
Path to httpd.conf: /etc/httpd/2.0/conf/httpd2.conf

 
Old 02-25-2004, 09:42 PM   #5
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
If you look carefully at those the only one needed is path to the executable. The rest are sym links . So to get webmin running just change the path to the executable from /usr/bin/httpd to /usr/bin/httpd2 That's all you need.
 
Old 02-26-2004, 01:19 PM   #6
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
actually, now i found out that apache 2 will not work with php and mySQL apps like phpnuke, so i reformatted and did a clean mandrake install with apache 1.3 and now everything is working fine. (and with 1.3, webmin already knows the dir for the exe)
 
Old 02-26-2004, 01:51 PM   #7
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
Not true. I have several Lamp installs running phpnuke that are fine on 9.2.
 
Old 02-26-2004, 03:29 PM   #8
emperorjordan
Member
 
Registered: Feb 2004
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33

Original Poster
Rep: Reputation: 15
hmmmm.........then what was causing apache 2 not to work with nuke on my machine?
 
Old 02-26-2004, 11:07 PM   #9
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
When you say not work, what are you refering to. Does apache fail to start or is i a sql error or a php error???? Did you check the log files to see whats going on?? Give me some more detail and I'll bet we can solve it.
 
  


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 Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
WU-FTPD: Default directory? neocookie Linux - Software 0 09-13-2005 04:39 AM
Default directory permissions gwroy20 Linux - Software 7 08-28-2005 04:30 PM
Default Directory Permissions tranquil222 Linux - Software 8 05-20-2004 05:10 PM
default directory in VSFTP vanquisher Linux - Software 0 02-01-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:07 AM.

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
Open Source Consulting | Domain Registration