Skip to main content

enable mod_rewrite in Snow Leopard 10.6 for Drupal clean url

Your rating: None Average: 3.8 (5 votes)

Buy and Sell Cisco Network Gear.

My Drupal site wasn't letting me use clean url's

 So..

Edit the Directory block in /etc/apache2/users/the_user.conf  you need to add FollowSymlinks to Options and change AllowOverride to All

<Directory "/Users/<the_user>/Sites/">
    Options Indexes MultiViews FollowSymlinks
    AllowOverride all
    Order allow,deny
    Allow from all
</Directory>

restart apache:

prompt# apachectl restart

Go back to Administer -> Site Config  -> Clean URL's and check enabled..

 

This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL).
 

Good to go.

Ren

I was just looking for this info

Hi,

Just a few lines to thank you for the info: I was installing Drupal for the first time and I had to google about the Drupal clean url activation. Your post solved it instantly.

Big help

Thanks, fixed my problems in seconds!

FeedBack

Your blog is so informative … ..I just bookmarked you....keep up the good work!!!!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.