I am running Drupal 5.1 on a Cpanel server with the Drupal installation in the public_html document root. It has been working perfectly for months but now I want to run a totally different non-Drupal site on subdomain.mysite.co.uk

The problem is that drupal is installed in /home/me/public_html
and the subdomain is at /home/me/public_html/subdomain
so the subdomain inherits the rewrite rules from my Drupal site. Does anyone know a way that I can make drupal's .htaccess file totally ignore requests to subdomain.mysite.co.uk?

Thanks in advance

Comments

josesanmartin’s picture

Have you tried to put an .htaccess inside /subdomain ?

Try to write something like:

RewriteEngine off

José San Martin
http://www.chuva-inc.com/

RobinJ’s picture

Yea that does work but then I can't apply rewrite rules to that subdomain.

I have also tried

RewriteEngine off
RewriteEngine on

but that didn't work.