Re: Fwd: Wiki/Apache Issues

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Alex Dean
Date:  
To: Main PLUG discussion list
Subject: Re: Fwd: Wiki/Apache Issues
No, the logs are written as root, not as apache/nobody/www-data. Giving
that unprivileged account access to your logs is a potential security
issue. Read 'Permissions on ServerRoot Directories' here :
http://httpd.apache.org/docs/2.0/misc/security_tips.html

Bryan O'Neal wrote:
> Make sure the user apache has access to write those logs, perhaps even
> (as root) chown apache:apache /var/log/html
>
> -----Original Message-----
> From:
> [mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of
> Craig White
> Sent: Wednesday, August 13, 2008 1:30 PM
> To: ; Main PLUG discussion list
> Subject: Re: Fwd: Wiki/Apache Issues
>
> On Wed, 2008-08-13 at 13:22 -0700, GK wrote:
>> 0 root@shuttle: /var/log/apache2/httpd
>> Wed Aug 13, 13:18 # cat error_log
>> [Tue Aug 12 20:48:04 2008] [error] (2)No such file or directory: could
> not
>> open transfer log file /var/log/httpd/access_log.
>> Unable to open logs
>> [Tue Aug 12 20:48:53 2008] [error] (2)No such file or directory: could
> not
>> open transfer log file /var/log/httpd/access_log.
>> Unable to open logs
>> [Tue Aug 12 20:48:59 2008] [error] (2)No such file or directory: could
> not
>> open transfer log file /var/log/httpd/access_log.
>> Unable to open logs
>> [Tue Aug 12 20:49:43 2008] [error] (2)No such file or directory: could
> not
>> open transfer log file /var/log/httpd/access_log.
>> Unable to open logs
>>
>> ::1 - -
>> [13/Aug/2008:12:42:34 -0700] "GET
> /phpmyadmin/phpmyadmin.css.php?token=efdb69e927969d4aa88deed0aaedf75a&js
> _frame=right&nocache=3650775686
>> HTTP/1.1" 200 20584 "http://localhost:8080/phpmyadmin/" "Mozilla/5.0
>> (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) (Debian)"
>> ::1 - - [13/Aug/2008:12:43:54 -0700] "GET /TWiki-4.2.2/bin/view
> HTTP/1.1" 404
>> 218 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9
> (like
>> Gecko) (Debian)"
>> 85.190.0.3 - - [13/Aug/2008:12:45:45 -0700] "CONNECT 213.92.8.7:31204
>> HTTP/1.0" 405 225 "-" "-"
>> ::1 - - [13/Aug/2008:12:54:05 -0700] "GET /TWiki-4.2.2/bin/view
> HTTP/1.1" 404
>> 218 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9
> (like
>> Gecko) (Debian)"
>> 127.0.1.1 - - [13/Aug/2008:12:54:27 -0700] "GET /TWiki-4.2.2/bin/view
>> HTTP/1.1" 404 218 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux)
>> KHTML/3.5.9 (like Gecko) (Debian)"
>> 127.0.1.1 - - [13/Aug/2008:12:54:27 -0700] "GET /favicon.ico HTTP/1.1"
> 404
>> 209 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9
> (like
>> Gecko) (Debian)"
>> ::1 - - [13/Aug/2008:12:54:38 -0700] "GET /TWiki-4.2.2/bin/view
> HTTP/1.1" 404
>> 218 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9
> (like
>> Gecko) (Debian)"
> ----
> as root...
>
> mkdir /var/log/httpd
>
> restart apache
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss