RE: [SLE] Apache2 serving directories beneath a symlink
-----Original Message----- From: Joachim Schrod [mailto:jschrod@acm.org] Sent: Monday, October 09, 2006 2:09 PM To: suse-linux-e@suse.com Subject: Re: [SLE] Apache2 serving directories beneath a symlink
Marlier, Ian wrote:
I need apache2 to serve a directory in the /opt tree (/opt/webapp/htdocs). For ridiculous (but unavoidable) reasons, I cannot refer to the DocumentRoot by its real path (/otherdir/opt/webapp/htdocs), but must refer to it by its linked
path.
I've got apache set up with the right confs, and "Options FollowSymLinks" specified _EVERYWHERE_.
You need to make sure that _EVERYWHERE_ includes the section for Directory "/".
Bingo! I'd changed the Options line everywhere except the one place that it never occurred to me that there might be one -- in httpd.conf. Once I added the +FollowSymLinks there, everything started workin' all hunky-dory like. Thanks! - Ian
participants (1)
-
Marlier, Ian