Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I enabled the mod_rewrite in apache by following this article : but still when i run the cake php folder it say :

URL rewriting is not properly configured on your server.

   1. Help me configure it
   2. I don't / can't use URL rewriting

What should i do?

I checked

apachectl -t -D DUMP_MODULES

it say rewrite module shared .

share|improve this question
Enable log with RewriteLog and RewriteLogLevel and check it. – quanta Aug 4 '11 at 10:50
@quanta i tried for doing log by following commands RewriteEngine On RewriteLog "/absolute/path/to/your/wwwroot/public_html/rewrite.log" RewriteLogLevel 5 I added in apache2.conf at bottom , but then m not able to restart the apache it is giving me error why ? – Rahul Mehta Aug 4 '11 at 16:12
up vote 0 down vote accepted

Seems like a bug with cake php as per this link and this one.


share|improve this answer


set your apache main log to debug so that you can determine why apache isn't starting after adding the rewrite directives.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.