The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by irchs, Mar 13, 2005.

  1. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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?
     
  3. irchs

    irchs Well-Known Member

    Joined:
    Jun 3, 2004
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Nothing in error_log looking suspicious, and there are no .htaccess files above in /home or /.
     
Loading...

Share This Page