Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Changing .conf has no effect
Date:   2002-04-24 20:09:10
From:   morbus
Response to: Changing .conf has no effect

Yup, you're confusing the values of the different config files. Basically, the tilde character (the ~ in ~andrewc/) is magical, and has little to do with the <Directory> defined in your andrewc.conf file. There are a couple of different ways of doing what you want, but the most understand is to use an "Alias", like so:


Alias /~andrewc/ "/Users/andrewc/Documents/SoftwareDev/Java/RMI/Trim"


You'd throw that in your andrewc.conf right above your <Directory> declaration (actually above or below - doesn't make a difference). You also want to make sure that your Documents directory, as well as all the subdirectories leading up to your Trim destination are set for 755 permissions. Otherwise, Apache won't be able to serve documents from that location.


I talk a bit about the "Alias" directive in the recently released Part 6, and will discuss the tilde character and it's magic in part 7 (not yet released).

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Changing .conf has no effect
    2002-04-24 23:26:39  loopless [View]

    So that's it......got it working now
    Thanks for the great article

    Andrew