By nwlinux on
My problem: I developed a series of webpages that are all .html files and would like to link to them on my site. I have changed my .htaccess file to read
DirectoryIndex index.php index.shtml index.html.
I have placed the index.html in the same directory as the index.php. To no avail, it still reads my .php. Am I not thinking about this the right way?
I have placed the index.html in a folder inside my host directory with the index.html as well. Nothing. It links to my Drupal site. Any suggestions?
Comments
DirectoryIndex is read
DirectoryIndex is read left-to-right. If it finds index.php, it'll use that, as it occurs before index.html in the setting.
If you want index.html to be found first, change the order to
DirectoryIndex index.html index.php.That makes sense
That makes sense. My site is about computer technology and aquatic science. I want to be able to be on my aquatics page (.php) and then link to another mini-web that I wrote last year in html. Does Drupal have the flexibility to allow me to change programming languages within my website? I hope that makes sense.
Mark
http://buckyspalace.net
It's certainly possible. I'd
It's certainly possible.
I'd put your secondary site in a folder, though, instead of having two index files in the main directory.
Yes
Yes, I placed the "mini-web" in a folder within the host directory. I typed the address manually and it all went to the php template regardless of what I typed as the address. For instance:
http://buckyspalace.net/ - my webpage
http://buckyspalace.net/hoodcanal_web/index.html - hoodcanal_web is my mini-web
Have you heard or seen of anyone going back and forth?
Mark
http://buckyspalace.net
Drupal handles all 404 (file
Drupal handles all 404 (file not found) errors in its directory and subdirectories. If Druapl is appearing at hoodcanal_web/index.html, there's no index.html file in that directory (or it doesn't have the right permissions).
Damned fool
I am a damned fool. It was all about file permissions of my folder. I simply hate it when simple things get overlooked and they get the best of you. Thank you much. I appreciate the help!
Mark
http://buckyspalace.net
No problem, it happens to
No problem, it happens to the best of us. :-)