Τη Τρίτη, 4 Ιουνίου 2013 4:10:58 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε: > On Tue, Jun 4, 2013 at 10:57 PM, Νικόλαος Κούρας <nikos.gr...@gmail.com> > wrote: > > > root@nikos [~]# nano /usr/local/apache/conf/httpd.conf
> > and altering user nobody to user root. > > root@nikos [~]# service httpd restart > > > [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded, > > skipping > > > Syntax error on line 175 of /usr/local/apache/conf/httpd.conf: > > > Error:\tApache has not been designed to serve pages while\n\trunning as > > root. There are known race conditions that\n\twill allow any local user to > > read any file on the system.\n\tIf you still desire to serve pages as root > > then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then > > rebuild the server.\n\tIt is strongly suggested that you instead modify the > > User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n > Don't do that. Well i can understand its dangerous but it doesnt also let me. So that leaved me the tampering of the log files. root@nikos [~]# chmod 755 /var/log/httpd/error_log root@nikos [~]# chown nobody:nobody /var/log/httpd/error_log root@nikos [~]# chmod 755 /usr/local/apache/logs/error_log root@nikos [~]# chown nobody:nobody /usr/local/apache/logs/error_log BUT just my luck..... root@nikos [~]# [Tue Jun 04 16:16:21 2013] [error] [client 46.12.95.59] suexec failure: could not open log file [Tue Jun 04 16:16:21 2013] [error] [client 46.12.95.59] fopen: Permission denied [Tue Jun 04 16:16:21 2013] [error] [client 46.12.95.59] Premature end of script headers: koukos.py [Tue Jun 04 16:16:21 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml [Tue Jun 04 16:16:24 2013] [error] [client 46.12.95.59] suexec failure: could not open log file [Tue Jun 04 16:16:24 2013] [error] [client 46.12.95.59] fopen: Permission denied [Tue Jun 04 16:16:24 2013] [error] [client 46.12.95.59] Premature end of script headers: koukos.py I DONT KNOW WHAT ELSE TO TRY PLEASE HELP ILL TRY ANYTHING YOU SAY. -- http://mail.python.org/mailman/listinfo/python-list