I have a server with the Bitnami Drupal 7 multi-site installed and working. Recently I came across a need to serve up some standard html pages outside of the Drupal framework on this same server. I've tried putting the files in a directory under Drupal/sites with it's own .htaccess file but it doesn't seem to work. My .htaccess file is just:

DirectoryIndex index.php index.html

But the site just comes back blank when I try to access the index.html file. Is there some other trick to getting this working?

asked 18 Apr '12, 11:11

ORuser's gravatar image

ORuser
1111
accept rate: 0%


How do you want to access to the these html pages? Through a new domain independently of the Drupal sites or through a subfolder in your current domain (eg. www.mysite.com/other)?

In the first case you should configure a new virtualhost an place the html files outside the Drupal framework.

If you want to share the html files in all your sites place the directory that contains your files, including the .htaccess, in apps/drupal/htdocs.

I hope it helps.

link

answered 19 Apr '12, 08:13

Fernando%20Ruiz's gravatar image

Fernando Ruiz
7501
accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×72
×1

Asked: 18 Apr '12, 11:11

Seen: 460 times

Last updated: 19 Apr '12, 08:13

powered by BitNami OSQA