You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by doug <do...@patriot.net> on 2002/10/05 00:23:06 UTC
[users@httpd] [Fwd: apache]
does anyone know how to allow symbolic links within apache 2.0, 1.3
allowed this, but its not working in 2.0
[Fri Oct 04 18:13:57 2002] [crit] [client yada] (13)Permission denied:
/mnt/ddrive/.htaccess pcfg_openfile: unable to check htaccess file,
ensure it is readable
[Fri Oct 04 18:15:15 2002] [error] [client yada] Symbolic link not
allowed: /home/doug/pictures
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [Fwd: apache]
Posted by doug <do...@patriot.net>.
figured out the problem.. 2.0 has default on for virtual-host, comment
it out and it started working.. very weird
Doug
On Fri, 2002-10-04 at 18:39, Jacob Coby wrote:
> > does it matter if these other filesystems happen to be vfat?
> >
>
> I honestly have no idea as I don't use 2.0, and I don't use sym links,
> sorry. If I had to guess, I would say not. If you have root access, you
> can `su nobody` or whatever you run apache as and see if you can view the
> symlink'd dir.
>
> 2.0-specific mapping doc is at
> http://httpd.apache.org/docs-2.0/urlmapping.html
>
> -Jacob
> http://www.listingbook.com
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [Fwd: apache]
Posted by Jacob Coby <jc...@listingbook.com>.
> does it matter if these other filesystems happen to be vfat?
>
I honestly have no idea as I don't use 2.0, and I don't use sym links,
sorry. If I had to guess, I would say not. If you have root access, you
can `su nobody` or whatever you run apache as and see if you can view the
symlink'd dir.
2.0-specific mapping doc is at
http://httpd.apache.org/docs-2.0/urlmapping.html
-Jacob
http://www.listingbook.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [Fwd: apache]
Posted by doug <do...@patriot.net>.
does it matter if these other filesystems happen to be vfat?
Doug
On Fri, 2002-10-04 at 18:32, Jacob Coby wrote:
> "There are frequently circumstances where it is necessary to allow web
> access to parts of the filesystem that are not strictly underneath the
> DocumentRoot. Apache offers several different ways to accomplish this. On
> Unix systems, symbolic links can bring other parts of the filesystem under
> the DocumentRoot. For security reasons, Apache will follow symbolic links
> only if the Options setting for the relevant directory includes
> FollowSymLinks or SymLinksIfOwnerMatch.
>
> Alternatively, the Alias directive will map any part of the filesystem into
> the web space. For example, with
>
> Alias /docs /var/web
> the URL http://www.example.com/docs/dir/file.html will be served from
> /var/web/dir/file.html. The ScriptAlias directive works the same way, with
> the additional effect that all content located at the target path is treated
> as CGI scripts."
>
> http://httpd.apache.org/docs/urlmapping.html
>
> ----- Original Message -----
>
> From: "doug" <do...@patriot.net>
> To: <us...@httpd.apache.org>
> Sent: Friday, October 04, 2002 6:23 PM
> Subject: [users@httpd] [Fwd: apache]
>
>
> > does anyone know how to allow symbolic links within apache 2.0, 1.3
> > allowed this, but its not working in 2.0
> >
> > [Fri Oct 04 18:13:57 2002] [crit] [client yada] (13)Permission denied:
> > /mnt/ddrive/.htaccess pcfg_openfile: unable to check htaccess file,
> > ensure it is readable
> > [Fri Oct 04 18:15:15 2002] [error] [client yada] Symbolic link not
> > allowed: /home/doug/pictures
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] [Fwd: apache]
Posted by Jacob Coby <jc...@listingbook.com>.
"There are frequently circumstances where it is necessary to allow web
access to parts of the filesystem that are not strictly underneath the
DocumentRoot. Apache offers several different ways to accomplish this. On
Unix systems, symbolic links can bring other parts of the filesystem under
the DocumentRoot. For security reasons, Apache will follow symbolic links
only if the Options setting for the relevant directory includes
FollowSymLinks or SymLinksIfOwnerMatch.
Alternatively, the Alias directive will map any part of the filesystem into
the web space. For example, with
Alias /docs /var/web
the URL http://www.example.com/docs/dir/file.html will be served from
/var/web/dir/file.html. The ScriptAlias directive works the same way, with
the additional effect that all content located at the target path is treated
as CGI scripts."
http://httpd.apache.org/docs/urlmapping.html
----- Original Message -----
From: "doug" <do...@patriot.net>
To: <us...@httpd.apache.org>
Sent: Friday, October 04, 2002 6:23 PM
Subject: [users@httpd] [Fwd: apache]
> does anyone know how to allow symbolic links within apache 2.0, 1.3
> allowed this, but its not working in 2.0
>
> [Fri Oct 04 18:13:57 2002] [crit] [client yada] (13)Permission denied:
> /mnt/ddrive/.htaccess pcfg_openfile: unable to check htaccess file,
> ensure it is readable
> [Fri Oct 04 18:15:15 2002] [error] [client yada] Symbolic link not
> allowed: /home/doug/pictures
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org