apache symboliclink
Ryan Schmidt
ryandesign at macports.org
Sun Sep 20 06:15:52 PDT 2009
On Sep 20, 2009, at 02:05, S. M. Ibrahim (Lavlu) wrote:
> 2009/9/20 Ryan Schmidt <ryandesign at macports.org>:
>> On Sep 20, 2009, at 01:12, S. M. Ibrahim (Lavlu) wrote:
>>
>> I'm not sure why an upgrade would have affected this. But for each
>> of the
>> places that the symlinks point to, do you have a Directory block
>> allowing
>> access to them? e.g.
>>
>> <Directory /place/your/symlink/points/to>
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>
> previously there was no block for this. but it was working ok. here is
> my current htdocs folder
>
> railsp:htdocs lavlu$ ls -l
> total 24
> -rw-r--r-- 1 root admin 21 Sep 20 11:53 1324.php
> lrwxr-xr-x 1 root admin 29 Sep 20 12:00 bba ->
> /Users/lavlu/projects/php/bba
> -rw-r--r-- 2 root admin 44 Nov 21 2004 index.html
> drwx---r-x 44 root admin 1496 Sep 20 11:55 swiblog
>
> and added directory block on httpd.conf
>
> <Directory "/Users/lavlu/projects/php">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
>
> </Directory>
That's the block I meant. So if you have that there, and it's still
not working after restarting apache, then that's not the problem.
> any idea ?
Does the apache error log give any more information?
More information about the macports-users
mailing list