Web Hosting Forum | Lunarpages

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
May 26, 2015, 01:41:17 AM

Pages: [1]   Go Down
Author Topic: Drupal 6 Clean URLs  (Read 4690 times)
Offline Offline

Posts: 1

« on: June 08, 2010, 09:37:38 AM »

I am trying to get a Drupal 6 Clean URLs to work on Lunarpage shared Windows IIS6 hosting.

I have created a .htaccess on the Drupal webroot under /httpdocs/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] 

I have also tried adding into my settings.php
$base_url = 'http://www.mydomainname.com';

The problem is I do not think my .htaccess is being used as if i try to write some gibberish in that file nothing happens.  Does anyone have any ideas how to get Clean Urls to work on Windows IIS6 shared hosting?

Thanks much appreciated~
Senior Moderator
Berserker Poster
Offline Offline

Posts: 5993

« Reply #1 on: June 16, 2010, 07:37:46 AM »

Have you looked around http://drupal.org/forum ? This link: http://drupal.org/node/3854 may help . It seems to say that you have to add a third-party mod_rewrite module to get it to work under IIS6.

IIS ignores any .htaccess files. They're only used by Apache servers. Of course, there's never any reason to use an IIS server, unless you absolutely have to have .Net and other MS-unique services such as MSSQL. Apache servers on Linux are far better in every way (cheaper, faster, more reliable, more support...). That said, Drupal will run on IIS, but Apache is recommended.

Visit My Site

E-mail Me
-= From the ashes shall rise a sooty tern =-
Pages: [1]   Go Up
Jump to: