[mdlug] Apache and Config for files outside of www dir

Evan Carew elcarew at sbcglobal.net
Mon Aug 30 09:36:56 EDT 2010


Yep, tried that. Didn't work. I'm wondering if the SE Linux settings
were getting in the way?

Evan

On 08/25/2010 06:23 PM, Dr. Robert Meier wrote:
> Rich, Evan, Greg, ...
>
>   
>>> On Aug 25, 2010 8:35 AM, "Evan Carew" <elcarew at sbcglobal.net> wrote:
>>>       
>>>> Much like the originator of this thread,
>>>> I wanted to do web development outside of /var/www,
>>>> in this case, my /home/me/Projects directory.
>>>> I was under the impression that I could use soft links, or aliases, but nothing worked.
>>>>         
> Symlink references cannot be integrity checked directly by apache
> (The file name "/home/projects" and the delivered content can be
> checked but not the intermediate contents.).
>
> Consequently apache won't follow symlinks by default.
>
> In concert with other features "Options FollowSymlinks" can direct the
> server to use symlinks.
>
> 	---- /etc/apache2/httpd.conf.local ----
> ...
> # Prepared Presentations
> Alias /presentations/ "/home/presenter/presentations/speeches/"
>
> <Directory "/home/presenter/presentations/speeches">
>  Options Indexes MultiViews FollowSymLinks
>  AllowOverride None
>  Order allow,deny
>  Allow from all
> </Directory>
> ...
> 	---- /etc/apache2/httpd.conf.local ----
>
>   
[snip]



More information about the mdlug mailing list