I am having the following problem with the module YUI Editor, does anyone have any suggestions?
I am a novice Drupal developer so I apologize if this is a basic question.
I had my drupal site installed for months in my root directory and recently decided that I was going to add a splash page to the site. I configured my .htaccess file with the following lines of code so the default was html when someone inputted my domain:
# Set the default handler.
DirectoryIndex index.html
Everything works beautifully but the only problem is when I use the editor and try and upload photos that it seems as though it is trying to communicate with html instead of php. The second I change the .htaccess file to index.php from index.html it uploads the file perfectly. I do not want to change the .htaccess file as it works just how I want but also want to be able to upload files via the YUI editor, can you help? Any suggestions?
Your attention is greatly appreciated!
Comments
Splash pages are evil. But to
Splash pages are evil.
But to answer your question, and I'm only guessing here, but it sounds like that would be a result of YUI somehow trying to access your domain path rather than index.php. So once it hits yourdomain.com your .htaccess file is feeding it your HTML file.
I would think this is a module problem. Does this problem happen if you enter your website through a direct link like:
www.yoursite.com/index.php? rather than www.yoursite.com
Sorry I'm not much help. But I would advise that if you really want to have a splash page, create a drupal node and make it your front page.