logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



auth core sporadcially rejecting users

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
baldur



Joined: 15 Jan 2018
Posts: 3
Location: usa, mn

PostPosted: Sun 04 Feb '18 13:39    Post subject: auth core sporadcially rejecting users Reply with quote

okay, so the situation is that i have a dav site that i use frequently. i finally just got it up an accessible and now i am running into an issue where sometimes i just cant do anything. so i will go to upload a mp3 album to it...it will copy the first track, maybe the third track and reject the rest. then i will exit and go back and a track just rejected will upload fine.

so i put the loglevel to debug and IF i am reading this right, mod_auth_core_z is sporadically rejecting me EVEN THOUGH i HAD to login to access the site. here is my redacted code from the log file...

Code:

[Sun Feb 04 05:14:56.416211 2018] [ssl:debug] [pid 1400:tid 139699632559872] ssl_engine_io.c(1103): [client XXXXXXXXXXX:44186] AH02001: Connection closed to child 139 with standard shutdown (server www.XXXXXXXXX.com:443)
[Sun Feb 04 05:15:01.357283 2018] [ssl:info] [pid 1401:tid 139700219983616] [client 66.242.91.23:44188] AH01964: Connection to child 486 established (server www.XXXXXXXXXXX.com:443)
[Sun Feb 04 05:15:01.357473 2018] [ssl:debug] [pid 1401:tid 139700219983616] ssl_engine_kernel.c(2128): [client 66.242.91.23:44188] AH02043: SSL virtual host for servername XXXXXXXXXXX.com found
[Sun Feb 04 05:15:01.364878 2018] [ssl:debug] [pid 1401:tid 139700219983616] ssl_engine_kernel.c(2058): [client 66.242.91.23:44188] AH02041: Protocol: TLSv1.2, Cipher:... (256/256 bits)
[Sun Feb 04 05:15:01.379856 2018] [ssl:debug] [pid 1401:tid 139700219983616] ssl_engine_kernel.c(368): [client XXXXXXXXXX:44188] AH02034: Initial (No.1) HTTPS request received for child 486 (server www.XXXXXXXXXXX.com:443)
[Sun Feb 04 05:15:01.380120 2018] [authz_core:debug] [pid 1401:tid 139700219983616] mod_authz_core.c(809): [client XXXXXXXXXX:44188] AH01626: authorization result of Require user daniel: denied (no authenticated user yet)
[Sun Feb 04 05:15:01.380140 2018] [authz_core:debug] [pid 1401:tid 139700219983616] mod_authz_core.c(809): [client XXXXXXXXXXXXX:44188] AH01626: authorization result of <RequireAny>: denied (no authenticated user yet)
[Sun Feb 04 05:15:01.380299 2018] [authz_core:debug] [pid 1401:tid 139700219983616] mod_authz_core.c(809): [client XXXXXXXXXXXXX:44188] AH01626: authorization result of Require user daniel: granted
[Sun Feb 04 05:15:01.380316 2018] [authz_core:debug] [pid 1401:tid 139700219983616] mod_authz_core.c(809): [client XXXXXXXXXXXXX:44188] AH01626: authorization result of <RequireAny>: granted


so basically as far as i can tell, i am logging in with dolphin and it is granting my access like it should. i will go to the directory i want to upload to. it will allow one upload and then block a bunch because i am not authorized and then maybe allow one and block a bunch more or just block all.

basically i get one upload per login for the most part.

so, i thought what if i just grant all. so i changed it to allow all access with no login to see if that is the issue. then it wouldnt allow me to even change directories sometimes. it would reject me from going into a folder once and then i wait and it would allow me through sometimes. but i could not get 4 levels down at all. i would be rejected certainly before that.

and then there is a second issue that i have noticed too. so for my dav directory i give access to apache:apache and usually just give it a wide berth in chmod 755 however when the files are uploaded, it is giving the user and group like it should however it is only giving itself 644 so i cant delte the files either.

so if someone could help here if i am missing some persistancy setting thats changed or something i would be much appreciative.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6414
Location: Germany, Next to Hamburg

PostPosted: Sat 17 Feb '18 11:24    Post subject: Reply with quote

The problem with the chmod / permissions can be solved by using umask in .profile and .bashrc file ( depends on your Linux).

Please post the relevant part of your config.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1