• hello!

    once again, i’m asking for help!

    the uploads of a new site in my multisite installation should be htaccess protected, all the files are in /wp-content/blogs.dir/19 whereas 19 is the id of the new site.

    if i put a .htaccess file in the /19 directory it looks like it is ignored by the server as in there’s no authentication needed. i only need to prevent unauthorized people from accessing the content of this folder (including subfolders), not of all the other blogs.

    i checked the main .htaccess file and part of the original .htaccess content for the multisite installation is this line:

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    is this the reason why it’s not working to put a .htaccess file in this ../19/ folder?

    i thought this should work without a problem, but alas, i have one.

    any ideas? thanks so much in advance!

    bye,
    kwentin

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ugh, yeah, I can see that being a problem. Does it fail to work on BOTH the /files/ call to those images and the /blogs.dir/19 ?

Viewing 1 replies (of 1 total)
  • The topic ‘multisite htaccess-protect one blogs.dir subfolder’ is closed to new replies.