Clean URLs in OS X Server

I'm attempting to use mod_rewrite on my OS X Server install, but not having a great deal of luck. The module is enabled through Server Admin, I've modified /etc/Apache2/httpd.conf to set AllowOverride All for "/", and restarted Web services. Still, no dice. My .htaccess file functions perfectly on a non OS X Server... what might I be missing?

Thanks,

Jeff

Intel xServe, Mac OS X (10.5.8)

Posted on Nov 4, 2009 7:46 AM

Reply
2 replies

Nov 4, 2009 9:54 AM in response to jkirsch

Not enough info to answer the question.

For one, what's not working. Are the rewrite rules not running at all? Have you enabled RewriteLog and RewriteLogLevel to capture the rewrite logic (this will tell you whether your rewrite rules are running, but don't think they need to do any rewriting, or whether they're not running at all).

Secondly, you say you've added an AllowOverride All in /etc/apache2/httpd.conf but what about in your specific site configurations? It's possible that there's an additional 'AllowOverride None' statement in the virtual host configuration and that will take precedence over the httpd.conf version.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Clean URLs in OS X Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.