Clean URLs on Mac OS X 10.5

JasonJ - January 17, 2008 - 04:28

I'm hoping someone can help me with this, it has to be something simple I'm missing.

So my issue is I can't get Clean URLs working on my local workstation running Mac OS X 10.5 (Leopard). I've done all the things I can think of:

- Made sure I've uncommented the appropriate lines in .htaccess
- Changed AllowOverride --> All in httpd.conf
- Restarted httpd

Yet still I get "Not Found" when running the clean url test.

Am I missing something Leopard is doing differently? Any suggestions are appreciated.

Thanks,

- J

Try MAMP

ghankstef - January 17, 2008 - 05:26

works like a charm http://www.mamp.info/en/mamp.html. I like it better because I can quickly setup and change between root directories - not that you can't editing httpd.conf

Check to see if you really copied the htaccess - if you copy via the Finder you will miss it

Is everything else

amariotti - January 17, 2008 - 06:42

Is everything else functioning normally in Apache2? Since you've gotten this far there's no sense in stopping now. Wish I had more advice for you, but since you've come this far you clearly know your way around a little better than I do.

If you go to your status report does the GD2 library for PHP say that it is enabled? Just curious.

Thanks for the replies. I

JasonJ - January 18, 2008 - 00:30

Thanks for the replies. I just figured it out.

It turns out in OS X 10.5 the default apache server configuration exists in /etc/apache2. In OS X 10.4 the configuration exists /etc/httpd. What threw me off was the /etc/httpd directory still exists in 10.5, so basically I was editing the wrong httpd.conf file. Once I discovered /etc/apache2/httpd.conf and modified it it started working.

Dang it, well hopefully this post will save someone else some time.

- J

it saved me.

eriknewby - July 1, 2008 - 22:09

It saved me! Thanks JasonJ

eriknewby

 
 

Drupal is a registered trademark of Dries Buytaert.