httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <thu...@apache.org>
Subject Re: [users@httpd] 403 Forbidden on symbolic links - totally won't do it.
Date Sun, 02 Jun 2019 22:19:07 GMT
namei -mo /var/www/sellfam.com/public/minecraft/www will help you here.
Check each path.

On Sun, 2 Jun 2019 at 05:47, timothylegg . <timothydlegg@gmail.com> wrote:

> These are access.log and error.log entries.
>
> I added the + to the FollowSymLinks and no obvious change occurred,
> These resemble the same errors before modifying the file. I remembered
> to restart apache2.
>
> 87.138.223.233 - - [02/Jun/2019:11:35:08 +0200] "GET
> /minecraft/www/index.php HTTP/1.1" 403 3852 "-" "Mozilla/5.0 (X11;
> Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0"
>
> [Sun Jun 02 11:35:08.859778 2019] [core:error] [pid 17274] [client
> 87.138.223.233:38826] AH00037: Symbolic link not allowed or link
> target not accessible: /var/www/sellfam.com/public/minecraft/www
>
> I don't know what you mean by adding an alias to a directory section.
>
> Last night, I remembered I did get this to work once on a FreeBSD 4
> box back in 2000 where I made symbolic links to user home directories,
> but that was Apache 1.3 and it was compiled from source.  But some 10
> years later, from a Debian package, I never could get it to work and
> finally upgraded to a 160GB hard disk so there were some substantial
> changes to what was allowed by default.  The structure of Apache
> configuration was exploded into a complexity that I'd have to totally
> relearn everything since shutting my old webserver down.  It seems as
> if my old Piper Cub turned into a Boeing 727.
>
> On Sat, Jun 1, 2019 at 5:18 PM Eric Covener <covener@gmail.com> wrote:
> >
> > > I get a 403 Forbidden error at https://sellfam.com/minecraft/www/
> > >
> > > I told it to follow symlinks in the sites-available files and it
> > > should just work, but doesn't...  What on earth is wrong?  Oh yes, I
> > > did remember to restart apache2 as well.
> >
> > What does the error log say?
> >
> > > Options FollowSymLinks   ###   <---  I did the same here too
> > Probably better to do +FollowSymlinks and not be implicitly unsetting
> > all other options.
> >
> > Finally, have you considered just adding an Alias and a corresponding
> > <Directory> section?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message