Hairy .htaccess Dreamhost WordPress Problem

[fr]

Un des derniers problèmes qui me résistent sur le nouveau serveur.

[en]

Here’s roughly what I wrote in a support ticket I sent Dreamhost this morning. If you have any suggestions, I’ll take them.

Hello,

I have a site http://cafecafe.ch on which I have installed wordpress (http://cafecafe.ch/wp/ -> displays as http://cafecafe.ch/blog with Filosofo Homepage-Control plugin).

That server has a subdirectory http://cafecafe.ch/membres/ which is password-protected using .htaccess. Inside is another wordpress install http://cafecafe.ch/membres/wp.

I had this set up on my previous host and it worked fine.

Now, if I go to http://cafecafe.ch/membres/ the request is caught be the blog installed in http://cafecafe.ch/wp/, and I’m shown the page http://cafecafe.ch/blog/.

To make sure it wasn’t a conflict between the two wordpress installs, I created an empty directory http://cafecafe.ch/test/ which I tried to password-protect in the same way. The problem is the same (going to http://cafecafe.ch/test/ displays http://cafecafe.ch/blog). If I comment out the “request valid-user” line of the .htaccess, I get to see the directory listing.

Similarly, if I come back to http://cafecafe.ch/membres and comment out that line in .htaccess, both wordpress installs work fine, with permalinks and all (only the private blog isn’t protected anymore, which won’t do it).

I’ve tried not doing the password protection manually, and using what is provided in the panel for that, but the problem remains exactly the same.

Weird, isn’t it?

Hope you can help me out on this. Tried checking error logs but they were empty.

5 Comments

  1. Posted 12/19/2006 at 8:41 am | Permalink

    tu a

  2. Posted 12/19/2006 at 8:42 am | Permalink

    je disais donc… tu as installé WP à la main ou tu as profité du one-click-install de DreamHost ?

  3. Posted 12/19/2006 at 8:14 pm | Permalink

    Installation à la main.

  4. Posted 12/22/2006 at 9:02 pm | Permalink

    I have php running as CGI. could that be the problem?

  5. Posted 12/22/2006 at 9:27 pm | Permalink

    Try shoving this in the parent .htaccess

    RewriteCond %{REQUEST_URI} ^/membres.$ [OR]
    RewriteCond %{REQUEST_URI} ^/failed_auth.html$
    RewriteRule ^.
    $ - [L]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
Contact