Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Apache won't resolve alias [403]

Apache won't resolve alias [403]
Thread Tools
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 16, 2002, 10:03 PM
 
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
Reply With Quote
Mar 16, 2002, 10:09 PM
 
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
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 16, 2002, 10:12 PM
 
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
Reply With Quote
Mar 16, 2002, 10:23 PM
 
heh gimme a shell access and i'll fix it
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 16, 2002, 10:33 PM
 
Huh?
     
Junior Member
Join Date: Oct 2000
Location: Mtl. Can
Status: Offline
Reply With Quote
Mar 16, 2002, 10:35 PM
 


[ 03-16-2002: Message edited by: taffy ]
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 16, 2002, 10:44 PM
 
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
Reply With Quote
Mar 16, 2002, 10:49 PM
 
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:

&lt;Directory /&gt;
Options FollowSymLinks
AllowOverride None
&lt;/Directory&gt;

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
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 16, 2002, 11:03 PM
 
yeah followsymlnks is already there, thats what i tried to tell you in my previous post.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Mar 17, 2002, 01:15 AM
 
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.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2