I enabled phpsuexec support on my server and ran the following:
scripts/chownpublichtmls
find /home -perm 777 -type d
find /home -perm 777 -type f
find /home -perm 777 -exec chmod 755 {} \;
Clients are no longer able to access the mailing list archives.
#1
This URL is encountering the error code 500 that your note warned about, however the script is not contained in my home directory. I assume that you have aliased this to point to a server-wide installation.
#2
Existing symbolic links are no longer working. Is there a work around for this?
The index.html file is simply a symbolic link to passwordmaker.html, which is simply an HTML page with permissions of 644. I am not sure why this is now giving me an HTTP error code of 500
drwxr-xr-x 2 dmorlitz dmorlitz 4.0K Feb 14 19:34 password/
#3
Client gets an error 500 on his www.domain.com
All I can see in the error log is
[Mon Mar 20 09:13:47 2006] [error] [client 68.142.xxx.xxx] Premature end of
script headers: /home/client/public_html/client/index.php
index.php is a symlink 2 levels deep.
I tailed /usr/local/apache/logs/suexec_logCode:Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@client.com.es and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
[2006-03-20 12:20:24]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: index.php
[2006-03-20 12:20:24]: error: cannot stat program: (index.php)
[2006-03-20 12:20:29]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: viewtopic.php
[2006-03-20 12:20:57]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: viewforum.php
[2006-03-20 12:20:57]: info: (target/actual) uid: (client/client) gid: (client/client) cmd: demo.php
htacess
<Limit GET HEAD POST>
order allow,deny
deny from cogentco.com
deny from anonymizer.com
deny from wideopenwest.com
deny from proxad.net
deny from sexnet24.tv
deny from frb.org
deny from 38.113.234.
allow from all
</LIMIT>
# BLOCK blank referrer -AND- UA except for HEAD
RewriteCond %{REQUEST_METHOD} !^HEAD$
RewriteCond %{HTTP_REFERER} ^$
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule .* bad_referrer.php [L]
# BLOCK *Faked* blank referer -OR- UA
RewriteCond %{HTTP_REFERER} ^-$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^-$
RewriteRule .* bad_referrer.php [L]
<Files 403.shtml>
order allow,deny
allow from all
</Files>
htaccess.org
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.client.com
AuthUserFile /home/client/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/client/public_html/_vti_pvt/service.grp



LinkBack URL
About LinkBacks
Reply With Quote




