Strange issue with .htaccess files and httpd looping...

irchs

Well-Known Member
Jun 3, 2004
76
0
156
Any time someone tries to do hotlink protection, or anything funky with the .htaccess files through CPanel, my httpd loops continuously until I reboot the server. When I examine the .htaccess file, it seems to have about 5 blank lines above the actual data.

Has anyone else experienced this issue?!

My modules: mod_security, mod_auth_passthrough, mod_log_bytes, mod_bwlimited, mod_php5, mod_ssl, mod_setenvif, mod_so, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, mod_bandwidth, http_core

Using apache 1.3.33 and PHP 5 with latest EDGE build for x86_64 (EDGE 104)

Thanks

Jan
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
32
473
Go on, have a guess
I wouldn't have thought that blank lines should be a problem. Have you check in the apache error log when it happens to see if there's anything reported (/etc/httpd/logs/error_log)? You don't have a .htaccess in /home or / by mistake by any chance?
 

irchs

Well-Known Member
Jun 3, 2004
76
0
156
Nothing in error_log looking suspicious, and there are no .htaccess files above in /home or /.