• Can anyone think of a good reason why a simple .htaccess password file in my home WP directory would skunk the site? 500 error across the board. The password works fine, but then bam! 500 error. All I did was this:

    AuthUserFile /usr/home/MY_PATH/passwd
    AuthName “keyword”
    AuthType Basic

    <Limit GET POST PUT>
    require valid-user
    </Limit>

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you running PHP5?

    PHP4 has started to create more and more issues in WP.

    Thread Starter nickaster

    (@nickaster)

    Hmm.. I think so, how can I tell?

    <?php phpinfo();?>

    However, I doubt this is a PHP issue. Far more likely to be a problem in your .htaccess file.

    Thread Starter nickaster

    (@nickaster)

    Thanks! It’s 5.2.9 so probably not php as you say…

    What do you think might be wrong with the .htaccess? Here’s what I currently have in there:
    ————————————–
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>

    <ifModule mod_php5.c>
    php_value post_max_size 100M
    php_value upload_max_filesize 100M
    php_value upload_max_size 100M
    php_value max_execution_time 360000
    </IfModule>
    ————————————–

    But as soon as I add the stuff above – the password actually works, then BAM! 500 error… any common mistakes I could be making for this?

    what do the server error logs say?

    Thread Starter nickaster

    (@nickaster)

    Thanks for the reply… well I’ve got the logs open but they’re like a zillion lines long, hard to tell where this error is. You know of anything logical to search for?

    Your error logs are a zillion lines long?! Or are you simply looking in your server logs?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘.htaccess crashes site?’ is closed to new replies.