Hi... I am a noobie to Drupal and starting to love it. My issue is I loaded drupal and my theme in a directory called "drupal" located under my website root. Now... I want to be able to type website name (without /drupal.index.php) to access the site directly. Help! I've put meta tag in html at root (www.companyname.com/index.html) and also at directory level (www.companyname.com/drupal/index.html) that refreshes page to the location of ..drupal/index.php but its not running efficiently.

Here's my web page address. http://www.MovedByTheSpiritMinistries.com

Thoughts and suggestions would be appreciated.

Thanks in advance.

Comments

maartenvg’s picture

Component: usability » base system
Assigned: rjjjonline » Unassigned
Category: feature » support

place the .htaccess in your document root. Then modify:

  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal

to:

  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  RewriteBase /drupal
rjjjonline’s picture

I have revised htaccess and moved to web route. I deleted both index.html files (assume I don't need those); but I get this message when I type http://www.movedbythespiritministries.com:

Directory Listing Denied

This Virtual Directory does not allow contents to be listed.

maartenvg’s picture

that sounds like the .htaccess isn't read at all. Can you confirm that your host allows .htaccess files?

gpk’s picture

Looks like your server is using IIS/6.0. You need to use additional IIS plugins to get .htaccess to work. Note that if you go to http://www.movedbythespiritministries.com/drupal then the site comes up correctly. If you want to get rid of the /drupal part then you either need to reconfigure IIS so that the domain is pointed directly to the Drupal folder, or else move your Drupal install into the parent directory. Or else find/install/configure the relevant plugin stuff.

rjjjonline’s picture

Status: Active » Fixed

Thanks everyone. My issue was resolved through my webhost - hostdepartment.com. We changed my Direct Indexes to default to the index.php file and put a 'redirect' to the /drupal folder.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.