Hi there, I am a severe Drupal noob, but my problem is simple.

I want to have a normal html page be displayed. The folder lies within the drupal directory. I don't want drupal to handle this folder.

www.mysite.com/sample/sample.htm

When I navigate to this address I want drupal to basically 'NOT WORK' and just display the page.

I have tried everything, I've looked high and I've looked low. Found lots of stuff on the i-net that showed examples to modify the .htaccess, but nothing works.

Been here:

http://drupal.org/node/30334
http://stackoverflow.com/questions/3674526/php-sites-as-subfolders-in-a-...

But nothing! I get a 500 Internal Server Error when I do this.

please help!

Comments

tregeagle’s picture

Perhaps installing Drupal in a subdirectory and putting your static files in a different subdirectory would be easier than trying to hack the htaccess files. For example:

http://www.example.com/drupal/ [or /content or /whatever]
http://www.example.com/static/page.html

ckeen’s picture

Thanks for the idea.

I don't think that would work well for me... because when people go to www.example.com I would like my MAIN drupal page to show up. I don't want them to have to have to type drupal. I guess I could use a redirect though... Still... I'd like to do it the .htaccess way, it seems simple enough, but it's just not working for me... :(

ñull’s picture

I wonder what is your problem.

I just made a folder "sample" and put "sample.html" in it. It just displays, without changing .htaccess

ckeen’s picture

If you domain is www.example.com

And you create a folder sample

Then you put a sample.htm in the folder, such that the final path is:

www.example.com/sample/sample.htm

It will work for you?

ñull’s picture

Yes, it just should work. See here an image how I have it.