Hi All,

the question is pretty simple: how can I enable the .htaccess file on Mac to let the clean urls work?

I use MAMP, it works fine. I changed "AllowOverride All" to "AllowOverride None". But still no clean urls!

What else can I do?

Thank you :-)
MileZ

Comments

pobster’s picture

You need to restart apache to get it to use updated settings. There's more to clean urls than changing "AllowOverride" though! Good luck!

Pobster

mileZ’s picture

I restarted Apache, I do it always after a update :-)

But Still not working. What else can I do?

kiz_0987’s picture

For me using clean URLs worked out of the box with MAMP. Have you made any changes to the default MAMP config?

lerhone’s picture

By default osx does't display hidden files. If you use a program like Tinker Tool you will be able to enable osx to show hidden files like .htacess. You can then copy the now visible htaccess file to your drupal install. At least that's why I couldn't get clean urls on mamp. Hopefully this helps.

mileZ’s picture

Thanks guys!!!

It works now :-) Working on Mac... that's really cool, hehehe!!

lerhone’s picture

You are welcome. Glad you figured it out.