Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Yadgar on
High!
Working myself through "Getting Started", I came upon another obviously buggy/ill-configured function: the "Clean URLs". I can't even choose to activate them or not, as both options are greyed out - how can I fix this?
See you in Khyberspace!
Yadgar
Comments
A search should bring heaps of info, but...
basically you need to configure Apache to have mod_rewrite enabled and .htaccess files enabled using the AllowOverride directive.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Where do I find...
...the configuration file? I browsed the Apache subfolders, but there is not such thing as an apache.ini file!
See you in Khyberspace!
Yadgar
Where do I find mod_rewrite?
I tried httpd.conf but found it nowhere! Are there other configuration files?
See you in Khyberspace!
Yadgar
This is about Apache not Drupal
Apache can be configured many different ways by different linux distros or package distros like WAMP, MAMP, apachetriad etc, and we can't guess which files will be where on your system (or even what your system is). You should really be asking for this help from your linux distro or Apache packager etc.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Try this
I had the same problem when I first installed drupal, here is my quick hack.
Go to .htaccess Within
# Put where mount your drupal
# For instance, if your drupal is at http://yoursite/drupal
# then
# RewriteBase /drupal
RewriteBase / # <-- add this line
RewriteCond %{REQUEST_FILENAME} !-f
....
Hope this helps