This is a discussion on Reinstall problems within the Apache Web Server forums, part of the Web Server and Related Forums category; While trying to get PHP and MySQL running today, I managed to completely screw up my Apache2 config. I've ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
While trying to get PHP and MySQL running today, I managed to
completely screw up my Apache2 config. I've reinstalled from source Apache 2.2.4 and the server IS starting. The problem is that the website itself is refusing connections. My site makes a hop from port 80 to port 8111; I don't know if that's where the problem lies or not. When I start httpd, it appears that Apache is using a configuration in another directory rather than the httpd.conf file that exists, and that I edited in /Library/Apache2/conf. (see below) James-Coyles-iMac:/Library/Apache2/bin jamescoy$ sudo apachectl -k stop usage: /usr/sbin/apachectl (start|stop|restart|fullstatus|status| graceful|configtest|help) start - start httpd stop - stop httpd restart - restart httpd if running by sending a SIGHUP or start if not running fullstatus - dump a full status screen; requires lynx and mod_status enabled status - dump a short status screen; requires lynx and mod_status enabled graceful - do a graceful restart by sending a SIGUSR1 or start if not running configtest - do a configuration syntax test help - this screen /usr/sbin/apachectl stop: httpd stopped James-Coyles-iMac:/Library/Apache2/bin jamescoy$ sudo apachectl start Password: Processing config directory: /private/etc/httpd/users/*.conf /usr/sbin/apachectl start: httpd started I think there's a config issue in some other file here, or the path from the Apache2 I installed is using the path of the pre-installed version of Apache which came with OSX. Any thoughts? |