apache2 and webmin
I've fought with this one very hard and don't see the end at the end of the tunnel. I just can't get apache to play nice with webmin.
If I do: Code:
ps -A | grep apache Code:
Failed to start apache : Apache does not appear to be running : This is occurring in Knoppix 4.0 hard disk installation and using unstable Debian branch. I'd greatly appreciate some help! |
Have you tried editing the config file for Apache?
|
Yes, that's why I'm using webmin for, since I'm minimally experienced with apache and prefer the organization given by webmin for editing apache configuration.
I'm quite stuck with this and not much help in google. |
Re: apache2 and webmin
Quote:
Check your httpd.conf for this line 'Listen SOMETHING:80' edit it and change to 'Listen youripaddress:80' and restart apache. Now try to connect to the web server. JdogPC |
Depending on your distro, the files are different names and can be in different locations..
Check your Webmin module config very carefully.. esp where apachectl and apachectl2 are present.. Standard names would have 2 added to the end.. |
Ok guys, this morning I found the solution, and it took a lot of guess work, because the documentation on this is terrible.
It turns out that, for apache2, one needs to provide the following in the "Modules Config" section: Apache server root directory: /etc/apache2 Path to httpd executable: /usr/sbin/apache2 Command to start apache: /etc/init.d/apache2 start Command to stop apache: /etc/init.d/apache2 stop Path to httpd.conf: /etc/apache2/apache2.conf and leave the rest at the default values. Thanks to all, |
The most frustrating part was guessing that "Path to httpd.conf" should be /etc/apache2/apache2.conf!!
Everybody talks about httpd.conf, but nobody says that there are two such files in a Debian system, one in /etc/apache/ and the other in /etc/apache2/. The latter is empty, but the mere fact that there's both an apache and apache2 directories makes it very confusing, and I'm still not sure whether everything is properly setup. My website is running fine, but given all these misunderstandings, it may show some surprises later. Cross fingers and wait for better documentation. Cheers, |
Quote:
i did all that , but now when i click on the apache icon in webmin it takes me to the reconfigure panel.. seems i need to select some active modules. I have no idea which ones are running and the "newbie, keep away just press reconfigure button" keeps sending me back to the reconfigure panel... |
Quote:
you're talking about)? |
All times are GMT -5. The time now is 02:16 PM. |