Hello
I installed Drupal 5.2 in my website and it's working.
I have folders protected by password (.htaccess and .htpasswd), when I open these folder I got "Drupal Page not found".
I tried to delete .htaccess for drupal, those folder worked well, so there is a problem in .htaccess for drupal, what's it?

PS: I have never changed anything in .htaccess for drupal.

Comments

marcusthijm’s picture

I think it's got to do with the fact that Drupal has its own way of protecting pages/folders. I would recommend not to protect folders with .htaccess-files, which are used/needed by Drupal.

Penicillin’s picture

You didn't understand me well.
The folder which I protected is my forum admin cp (www.site.com/vb/admincp), and it isn't drupal folder.
When I protect it, I couldn't open it, because I get "Page not found".
Why?

cog.rusty’s picture

Because this is Drupal's way to hide its internals (/modules, /includes /sites, etc), by taking them over and serving a "Page not found".

You will find ways to exclude your own directories which you have put under Drupal in the link that tm gave you below. Another solution is to remove Drupal's .htaccess file, but then you won't be able to use the Clean URLs.

tm’s picture

http://drupal.org/node/167169 might be a clue, if i am reading your inquiry correctly (custom non-drupal subfolders).

btw, if this is a publicly-accessible site, you should upgrade to the latest 5.x release as soon as you can for security reasons.

good luck!