httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] Spurious access denied errors
Date Sun, 11 Feb 2018 09:56:41 GMT
what if?

The way I see it you are the admin and supposed to set up a correct
documentroot, there are not "what if" for things under your control
imo.

About the internals probably some knowledgeable dev can tell you much
better than I, but afaik DocumentRoot is always checked because it is
"where all starts", that is, by definition DocumentRoot is where
apache starts looking when serving requests, all things you "mount"
such as aliases are "mounted" on top/after/relative to it, so just
take better care where you point the documentroot because it is
important.

2018-02-09 20:21 GMT+01:00 Marat Khalili <mkh@rqc.ru>:
>> Probably because you are essentially denying access to documentroot and this path
is checked for all requests.
>
> Looks like your are right, but why? What if there's a file there? What if there's a script
there? A device file or a symbolic link to one?
>
>> or change documentroot to a directory you can give access even if it's an empty directory
to get rid of those messages or change the documentoot to something else.
>
> I will do like you advise, but would still like to learn what's going on.
> --
>
> With Best Regards,
> Marat Khalili
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message