Hi,

I just installed a new drupal 7.8 and went straight to the clean urls test and it does not seem to be working. I have ensured that Apache rewrite_mod is activated on the server.

I am aware it automatically runs it in 7.8 as part of the install but I wanted to check it and I cannot seem to be able to test it/enable/disable it which tells me there may be something wrong.

Anyone else having an issue with it?

thanks

Comments

amit.epp’s picture

I was also getting the same problem. After searching a lot on internet I found a solution. I'm just a beginner so not sure if it is the best solution, but It Works!!!

Do the following modifications in /etc/apache2/sites-enabled/000-default

    <Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		#AllowOverride None  <-- comment/remove this line
		AllowOverride All         <-- add this line
		Order allow,deny
		allow from all
	</Directory>

Please let me know if you get a better solution. :-)

IBTYD’s picture

new. htaccess file to replace the old one.
I fixed it this way.
come easy.

deepaamalan’s picture

Here is the solution,

If your site URL looks like this:
http://example.com/~jsmith1/drupal/
Then you need to set RewriteBase! Find the section in your .htaccess file that looks like this:

# Modify the RewriteBase if you are using Drupal in a subdirectory and
  # the rewrite rules are not working properly.
  #RewriteBase /drupal
And change the last line, like this:
  RewriteBase /~jsmith1/drupal

mooger’s picture

I had the same problem, but looking at the .htaccess file because it was mentioned above, I realized it had an extension of .txt, making it a text file rather than the actual .htaccess file. I renamed it to take out .txt and the problem was fixed!

OnthegOinOz’s picture

yep, that was the same for me!