By thomas@immermusik.de on
Hi you,
i really would like to enable clean urls to my drupal site.
It runs at apache/debian linux in a virtual host.
I added the following line to this virtual host:
"RewriteEngine on"
Than i edited the .htaccess to the following:
"RewriteBase /"
Clean URLs dont work for me.
What can i do, what did i do wrong
Comments
Worked for me
I have the same setup and clean urls worked out of the box for me. I didn't have to change the .htaccess file or my httpd.conf file.
Basic question: Did you select enable clean urls in the configuration?
please keep your voice down
WE are decent people here, And would like to keep it that way. If you want support, please be polite in you tone.
However, I bet you are running drupla in a subdirectory. If so, refer to the numerous threads and help pages on how to use clean urls in a subdir. And also note that some hosts/server configurations do not allow you to use just any setting in .htaccess.
And if this solved you problem, would you be so kind to report back that it helped? This will help others whom are looking for the same solution.
[Ber | Drupal Services webschuur.com]
sorry, sorry
You have to know, that my english is not that good, and i nearly never write or speak with english users.
I didnt want to scream, or something, only to make sure, i dont know a solution.
Many sorry, again.
drupal doesnt run in a subdirectory, i think.
My Domain immermusik.de points to: /home/thomas/www , where www is my drupal installation.
Maybe you can't
It may be that the httpd.conf is set to not allow overrides on .htaccess files. It happened to me a couple of times.
I take it you're on a hosted server, not your own. If that's the case, then ask your hosting provider if it would be possible to modify that.
If it's your own server, you can access the httpd.conf and modify it yourself. Look for AllowOverrides.
-- gz
i run drupal on my own server
i run drupal on my own server, so i have write acces to the httpd.conf.
but i dont know exactly, what to write in there...
It works!
I added the following at the bottom of my httpd.conf:
AllowOverride All