Index: [Article Count Order] [Thread]

Date:  Sat, 7 Jun 2008 21:05:06 +0200
From:  "Romano Lugtenburg" <romano (at mark) lugtenburg.nl>
Subject:  [coba-e:13195] Re: redirect web file to anther drive
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <000001c8c8d1$6d36d810$4601a8c0@ACER3F7889A49C>
In-Reply-To:  <IHENKKBJOADMOIOJDAGCOEOOLIAA.ka0jon (at mark) our-klan.com>
References:  <IHENKKBJOADMOIOJDAGCOEOOLIAA.ka0jon (at mark) our-klan.com>
X-Mail-Count: 13195



-----Oorspronkelijk bericht-----
Van: KA0JON [mailto:ka0jon (at mark) our-klan.com] 
Verzonden: 7 juni 2008 16:44
Aan: Coba-E
Onderwerp: [coba-e:13194] Re: redirect web file to anther drive


Thank you Michael,

I changed the bluequartz.conf file and restarted Apache and got the symbolic
link to work now.
Sorry for miss print link should be http://mirrors.our-klan.com.

This gives me my /Home folder space back and I'll just put in another 250gig
drive for the Mirrors

On the Promise Ultra 133 card.

David

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't 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


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.0.0/1489 - Release Date: 7-6-2008
11:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.0.0/1489 - Release Date: 7-6-2008
11:17