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 am using .htaccess file to enable url rewrite.

Options +FollowSymlinks
RewriteEngine on
DirectorySlash off 
Options -Indexes
RewriteRule ^(.*)$ index\.php [NC]

It works as it should on the production php server.

It does not however work with out of the box xampplite.

How do I fix it? How do i debug it?

share|improve this question
up vote 0 down vote accepted

Does anything in .htaccess file apply actually? You need to enable processing of this file, see AllowOverride directive.

share|improve this answer
The fix: RewriteBase /some-dir/ – user29859 Dec 28 '09 at 11:47

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.