Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Edit the Apache web server config file UNIX
In the Public Beta, the Apache web server's configuration file lived in:
With the final, Apple has (for some reason) returned to a more standard (I believe) structure. You can now find the config file here:
Sneaky devils, those Apple engineers! I tested it by changing the port assignment, and it worked, so this is indeed the active configuration file.
  • Currently 2.75 / 5
  You rated: 2 / 5 (4 votes cast)

Edit the Apache web server config file | 4 comments | Create New Account
Click here to return to the 'Edit the Apache web server config file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
But how to actually edit it.
Authored by: Anonymous on Mar 27, '01 09:40:17AM

I can find the httpd.conf file in the terminal window, but not in the finder. How do I get the finder to show me the 'private' directory again/

[ Reply to This | # ]
Become root or admin or...
Authored by: Bottacco on Mar 27, '01 02:40:38PM

use a utility called Tinker Tool 1.2 (this is the last version at that allows you to have all hidden files and folders displayed in the Finder among other things. Try it and hope it helps ;)


[ Reply to This | # ]
BTW, the path to httpd.conf...
Authored by: Bottacco on Mar 28, '01 04:21:46AM

you said (/private/etc/httpd/httpd.conf) seems a duplicate or alias of /etc/httpd/httpd.conf

If you see the hint titled "Installing PHP4.04 on OS X" you'll see that the active configuration that you change is the one in /etc/httpd/ but you do not touch the one in /private/etc/httpd/


[ Reply to This | # ]
BTW, the path to httpd.conf...
Authored by: robg on Mar 28, '01 08:46:17AM
Sorry, my bad for possibly confusing readers. There's only one httpd.conf file, so don't worry about editing the wrong one. I've changed the path in this hint to simplify things -- it used to read '/private/etc/httpd/httpd.conf'. This is actually the exact same directory and file as the current wording ('/etc/httpd/httpd.conf'). The '/etc' directory is actually a link (think of an alias in Mac OS) to the '/private/etc' directory. You can see this yourself if you open a terminal, and type "cd /" and then "ls -al e*". You should see this:

lrwxr-xr-x 1 root admin 11 Mar 27 22:08 etc -> private/etc

The first "l" means this is a link, so that that when you "cd" into 'etc', you're actually going into 'private/etc'. So either path is actually fine, as you're editing the same file.


[ Reply to This | # ]