Hi Drupal community...I have been wresling with the clean URLs option and for some reason I don't get it to work properly. I hope that one of you can spot the error.
I have set the httpd.conf file in /etc/httpd/conf/httpd.conf as:
<Directory /var/www/vhosts/mydomain.nl/htdocs>
AllowOverride all
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>
I have the drupal .htaccess file in the docroot and I've tested that it works by putting something bogus in it...it will come back with a good old error message.
When i do the "clean URL test" at ?q=admin/config/search/clean-urls it will just refresh the page, no option to turn on clean URLs, nor an error page.
I assumed that something in the .htaccess must be failing, but when I manually change my URL from http://dev.mydomain.com/?q=node/1 to http://dev.mydomain.com/node/1 it loads the page properly, so that makes me think that the .htaccess is doing its work partially anyway. But when I however create a new basic page, it will still display the ?q=, when I make it into a menu link, it still has the ?q= query stuff.