These rewrite rules are expressed in the .htaccess file provided with the drupal distribution, which by default is not enabled in the apache server.  In your apache  configuration file (http.conf or vhost.conf) you need to explicitly allow overrides for the .htaccess file to be loaded. This is done by including and AllowOverride directive in the apache configuration file.

 

I should also point out that depending on how you extracted and copied your drupal distribution, it’s possible that the .htaccess file was not copied to your site at at all.  This would also make it so that the clean urls test would fail. 

 

So you need to make sure three things are done.

 

  1. there is in fact a .htaccess file in the your drupal sites main directory.
  2. Mod_rewrite is enabled in your apache configuration file.
  3. The apache configuration relavent to your drupal install includes an Allowoverride All directive in it.

 

Hope that helps.


Dave


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Ms. Nancy Wichmann
Sent: Friday, January 27, 2012 9:56 AM
To: support@drupal.org; tony@tony-mac.com
Subject: Re: [support] clean urls

 

"Clean URLs" is done by implementing a rewrite rule that changes the non-domain portion of the URL into a query string. If you don't have mod_rewrite installed, then it can't do that.

 

Nancy E. Wichmann, PMP

(781) 697-6344

(temporary hearing difficulties make the phone a poor first contact)

 

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

 


From: Tony MAC <tony@tony-mac.com>
To: support@drupal.org
Sent: Friday, January 27, 2012 12:10 PM
Subject: Re: [support] clean urls


Could you possibly elaborate?
Thanks for all your responses.
Tony
tony mac is building web sites.

-----Original Message-----
From: "Metzler, David" <metzlerd@evergreen.edu>
Sender: support-bounces@drupal.org
Date: Fri, 27 Jan 2012 08:15:33
To: <support@drupal.org>; Ms. Nancy Wichmann<nan_wich@bellsouth.net>
Reply-To: support@drupal.org
Subject: Re: [support] clean urls

--
[ Drupal support list | http://lists.drupal.org/ ]

--
[ Drupal support list | http://lists.drupal.org/ ]