apache symboliclink

S. M. Ibrahim (Lavlu) smibrahim at gmail.com
Sun Sep 20 00:05:34 PDT 2009


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>

any idea ?

-- 
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net

bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com
my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/


More information about the macports-users mailing list