I'm new to this so please bear with me. I've installed Drupal 5 (on a IIS6 server that has PHP 4.4.1) in a subdirectory of my root directory. Everything is working fine except getting the default page to load without specifying "index.php".
If I point to "http://www.example.org/subdirectory/" I get the error "HTTP 403 The website declined to show this webpage. Most likely causes: This website requires you to log in." I get the same error every time I logout (logging out gets accomplished, but I have to manually point to "index.php" to get back into the site).
I have the default frontpage set as "http://www.example.org/subdirectory/?q=forum" ('cause right now I'm only using the forum) and I even changed the "Base URL" in the Settings file to my Drupal subdirectory ("http://www.example.org/subdirectory").
I hope someone has a suggestion. Thanks.
By webpotato on
Comments
Solution
Well, this has been a lonely query. Three days and not one response. But that's okay. I found a solution.
So, I have Drupal on a IIS6 server in a subdirectory. I simply created a file named default.htm in the subdirectory where Drupal lives that is a re-direct:
Works great! I suppose one could also stick in some meta keywords, possibly even some keywords/links in the body to aid in having search engines index your site. Not sure if some browsers might protect against this type of re-direct.
Alternatively, there is a system-level redirect for IIS6 administrators (works more like htaccess) that is documented HERE. I don't think I have that level of access, so my simple method is what I went with.
See ya (or maybe not),
Chrys
inquiry
how did you get drupal installed? did you have to go directly to install.php? if so, i believe you can set index.php as a default document in iis.
Another approach
On windows with IIS after you have added the virtual directory you can edit the properties for the new entry and one of the choices should be something a tab (IIS5.1) or something similar labeled "Documents". In IIS5 there is a checkbox "Enable Default Document" that needs to be checked and a list of possible defaults that you will need to add index.php to (I remove any other ones)