160 reputation
6
bio website brian.minton.name
location Wrightsville, PA
age 37
visits member for 3 years, 5 months
seen yesterday

I like using Linux, and I've been a Linux sysadmin professionally since 1998 or so. I only program for fun (e.g. in the ICFP contest, or Project Euler), mainly in Python, C, and bash. I've been known to occasionally help friends and family with computer issues.


Aug
15
comment Exclude specific domains from Apache2 serverAlias while using a catch all *(wildcard) alias
for a site definition that needs to come first, name it something like 000-excluded.example.com.conf in the sites-available dir.
Jan
24
comment How can I make apache give the config file path and line number for a 403 error
here's my LogLevel line: LogLevel info wsgi:trace6 auth_basic:trace6 authn_core:trace6 authnz_external:trace6 authz_host:trace6 authn_file:trace6 authz_core:trace6 authz_owner:trace6. I didn't get any more debugging info in the error log at the time of the request. If you like, I can paste the whole log on pastebin. The logs show lots of lines showing authorization granted, or denied, but not the config file triggering it, which is not very helpful. I'd be willing to try changing all my configs to the new require syntax, but that would be a huge pain, since I have lots of config files.
Jan
24
comment How can I make apache give the config file path and line number for a 403 error
I posted all the messages I saw in the apache error log. I'm using mod_access_compat because I have tons of conf files still using the old syntax.
Jan
23
comment How can I make apache give the config file path and line number for a 403 error
It still doesn't tell me which file has the relevant Require line that i triggering the error.
Jan
23
comment How can I make apache give the config file path and line number for a 403 error
Here are the reuslts with all at trace6: [Thu Jan 23 11:39:18.510535 2014] [authz_core:debug] [pid 26607] mod_authz_core.c(802): [client 166.137.12.32:53010] AH01626: authorization result of Require all denied: denied [Thu Jan 23 11:39:18.543881 2014] [authz_core:debug] [pid 26607] mod_authz_core.c(802): [client 166.137.12.32:53010] AH01626: authorization result of <RequireAny>: denied [Thu Jan 23 11:39:18.543943 2014] [authz_core:error] [pid 26607] [client 166.137.12.32:53010] AH01630: client denied by server configuration: /mnt/large_vol/home/bminton/public_html/programs/supysonic/rest
Jan
20
comment How can I make apache give the config file path and line number for a 403 error
I am using mod_access_compat. That doesn't answer the question, which apache config file, and which line, is triggering the 403.
Sep
13
comment Red hat script on shutdown
It might also be useful to make a symlink in /etc.rc6.d so the backup script runs when the system is shutdown, or rebooted.