| Article: |
Apache Web-Serving with Mac OS X, Part 4 | |
| Subject: | Alias' Don't work | |
| Date: | 2002-03-04 16:59:46 | |
| From: | bligh68 | |
|
In Mac OS 9 I used alias' to store 2500 pictures on a CD Then used the alias' in my webpage folder to accesses those pictures on the CD.
|
||
Showing messages 1 through 1 of 1.
-
Alias' Don't work
2002-03-11 09:02:27 Morbus Iff |
[View]



If you're picture directory is called (for example), "My Real Pictures", and it lives in your Mac HD, and you want a "pictures" directory under your personal website, run these commands in the Terminal:
ln -s "/My Real PIctures" "/Users/username/Sites/pictures/"
chown 755 "/My Real Pictures"
You'll also have to tell Apache to follow symlinks when it's serving various webpages. To do so, edit your /etc/httpd/users/username.conf file, and add "FollowSymLinks" to the "Options" line. Finally, restart Apache, and things should be working for ya.