Index: [Article Count Order] [Thread]

Date:  Sat, 7 Jun 2008 01:30:01 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:13190] Re: redirect web file to anther drive
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200806070130.01946.bq (at mark) solarspeed.net>
In-Reply-To:  <IHENKKBJOADMOIOJDAGCAENPLIAA.ka0jon (at mark) sbcglobal.net>
References:  <IHENKKBJOADMOIOJDAGCAENPLIAA.ka0jon (at mark) sbcglobal.net>
X-Mail-Count: 13190

Hi David,

> I can click on ~dag.wieer.com in midnight commander and go to the folder,
> But when I hyperlink it to http://mirror.our-klan/~dag.wieer.com the link
> won(IB$BCU(B work.
>
> I'm just creating a hyperlink in index.html to goto the other drive.
> Any suggestions on how to go about this.

Apache on BlueQuartz is configured to not follow symbolic links - unless the 
owner matches.

To get around this, edit this file as root:

/etc/httpd/conf.d/bluequartz.conf

What you're looking for is this Directory container:

# be more restrictive within a site
<Directory /home/.sites/*/*/>
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

Change it to this:

# be more restrictive within a site
<Directory /home/.sites/*/*/>
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

And then restart Apache:

/etc/init.d/httpd restart

-- 
With best regards,

Michael Stauber