 |
 |
Apache won't resolve alias [403]
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
I know that Apache doesn't work with Finder made aliases. But I made an alias in the terminal, like so...
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>ln -s /path/to/originalfolder /path/to/alias</font>[/code]
No Go. Can't figure it out for the life of me. I get a 403 every time. I check all the permissions, everything has read access. I still get this error. The alias works fine in the Finder. But Apache gets a 403 with it. The really pain in the ass part is that I had it working for the longest time no problem, then I decided to move all my music from the root level to my Home's Music folder. I got a 403 with a link to that folder, so I put the music back and get a 403 when I try to re-link it again. GRRRR 
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
your terminal-made-alias is a 'symbolic link' . a differnt thing from alias really. symbolic links can get broken where as a alias won't be even if you move the original file around.
the reason why you're getting the 403 is because you need to enable symbolic links in your apache configuration. now if you're comfortable with editing httpd.conf then add "FollowSymLinks" in the directory section
-ck
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
I'm miles ahead of you...... I've had that attribute for a long time, still no-go.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
heh gimme a shell access and i'll fix it 
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
[ 03-16-2002: Message edited by: taffy ]
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
Well I'm definitely not going to give you an account, nothing personal, but exactly the opposite really. But what is ssh, and what are you talking about?
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status:
Offline
|
|
okee i just booted into osxserver so i might still be able to help you
in your httpd.conf, make sure the following is in there:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
i don't know what else is configured incorrectly if that doesn't work..
fyi: ssh is secure shell.. sort of like telnet except it's secure.. it's for when you wanna log in to a system remotely, and act as if you're a user logged on thru terminal.. really useful
hope you figure out your problem
-ck
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
yeah followsymlnks is already there, thats what i tried to tell you in my previous post.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status:
Offline
|
|
OK it works now. I didn't touch anything, I haven't made any changes since I started this post. I just happened to click on the link a minute ago and now it works. VERY strange.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|