I've got a password generation system that I'm using from another (pre-Drupal) site that I developed. The trouble is it won't work unless I disable Drupal's default htaccess file that's sitting in the directory above it.

How can I 'cancel' this .htaccess file so that the settings aren't inherited by this particular directory?

Many thanks

Ian

Comments

cog.rusty’s picture

You could try to find the offending htaccess directive(s) and then put a new htaccess file in the subdirectory which negates them. For example if it was an apache rewrite issue then you would put a htaccess in the subdirectory with a "RewriteEngine off" directive. Depends on what exactly is the error.

cinquetooty’s picture

I'm not sure why - but the register_globals needed to be turned on before my code would work!

Thanks for the tip