Apache files in OsX 10.6 Snow Leopard

Just took a quick note of some relevant places where Apache keeps its files on the standard installation in OsX 10.6

  • /usr/sbin/apachectl to start, stop, restart the server
  • /etc/apache2/httpd.conf
  • /Library/WebServer/Documents
  • /private/var/log/apache2/errorlog
  • /Library/StartupItems/MySQLCOM/MySQLCOM to start, stop, restart MySQL

Now, for some reasons on my machine however it looks like the locations are:

  • /Library/Apache2/bin/apachectl to start, stop, restart the server
  • /Library/Apache2/conf/httpd.conf
  • /Library/Apache2/logs

It might be due to some legacy installation – my Mac Pro has several years of life, and went all the way from 10.3 (I think) to 10.6.8, which is the last OS version that Apple supports on it). The Web sharing option in the control panel is NOT commanding this instance of Apache.

And this is a note fo myself: /Volumes/HD3/www

Advertisements
Posted in Admin, Web

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: