1
votes

I have a problem with drupal in Clean Url Module. In my apache conf I have: LoadModule rewrite_module modules/mod_rewrite.so Uncomment.

When I run #/usr/sbin/httpd -M I get the module:

rewrite_module (shared)

But in drupal I can't see (e.g) localhost/mydrupalpath/page (404), instead I need put "?q=" for get a result: localhost/mydrupalpath/?q=page.

In .htaccess too I have a correct configuration:

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

My server:

Server version: Apache/2.2.3 PHP Version 5.3.19 MySQL version 5.5.28 Drupal 6.19 Centos 5.8

Thanks.

2
Did you set AllowOwerride in your vhosts config? Try to type some nonsense string in your .htaccess file and check log file. If there is no errors, that means your Apache doesnt use .htaccess config.power

2 Answers

1
votes

check to make sure that AllowOverride is not set to none for the Directory that drupal resides in.

0
votes

Does RewriteEngine On appear in your Apache configuration or .htaccess file? Since you’re using .htaccess for the rewrites, you’ll probably need a RewriteBase directive, too.