How do I restart Apache?
I'm working on a new server where the Apahce files are in a different directory than my old server.
I use to be able to restart apache with: /usr/local/apache/bin/apchectl restart Apache conf file is located at /etc/httpd/conf/httpd.conf Sever root is /etc/httpd instead of /usr/local/apache Thanks |
Well from your post I can't tell if apache won't start because you can't find apachectl or because apachectl kraps out when it can't find the serverroot.
Have a look at the logs and see what's causing the error. Which distro are you using? Not too sure if server root in /etc/httpd is such a good idea. Nobody goes near my /etc!!! "You grep'd /etc!!! No soup for you!" You could try Code:
find / -name apachectl |
I found the answer.
/usr/local/apache/bin/apachectl restart or /etc/init.d/httpd restart |
All times are GMT -5. The time now is 03:30 PM. |