I wish to operate a php script on my small site from the recently produced subdirectory.

However am discovering that my existing wordpress blog (running from doc root) is intercepting my hyperlink to the script in subdir and giving us a 404.

How do i get wordpress to disregard the subdirectory?

EDIT: according to comment, here's my .htacess file contents:

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName xxx.com
AuthUserFile /home/xxx/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/xxx/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

According to pekka's comment, I fixed my very own trouble with following (where folder1 may be the subdirectories i would like wordpress to disregard):

=========[ start of .htaccess snippet]==========
<IfModule mod_rewrite.c>
RewriteEngine on
#
# stuff to let through (ignore)
RewriteCond %{REQUEST_URI} "/folder1/"

# other existing rules go here:
RewriteRule (.*) $1 [L]
#
====================[ end ]=====================

Pekka, should you place your comment being an answer, i'll credit you.

Thanks

Another solution:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
    RewriteRule . - [L]
</IfModule> 

That one labored perfectly for me personally.

Source: http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess