Submitted by webroot on Fri, 04/22/2011 - 11:36
My Drupal site wasn't letting me use clean url's
Open a terminal window.
prompt% cd /etc/apache2/
edit: httpd.conf
find: AllowOverride None
Change to: AllowOverride All
Edit the Directory block in /etc/apache2/users/user_name.conf you need to add FollowSymlinks to Options and change AllowOverride to All
prompt% cd /etc/apache2/users/
edit: user_name.conf
Needs to look like this:
<Directory "/Users/<the_user>/Sites/"> Options Indexes MultiViews FollowSymlinks AllowOverride all Order allow,deny Allow from all </Directory>
I also made the following change to my .htaccess in the drupal base.
# uncomment the following line:
RewriteBase /~{username}/drupal7
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.

Recent comments
7 weeks 2 days ago
7 weeks 2 days ago
7 weeks 5 days ago
2 years 2 weeks ago
2 years 5 weeks ago
2 years 5 weeks ago
2 years 5 weeks ago
2 years 8 weeks ago
2 years 9 weeks ago