Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I installed Apache through its windows installer and then PHP and MySQL too. Wordpress is working fine on this setup so it means the basic setup required is working fine.

But somehow mod_rewriting is not working even though i have uncommented the LoadModule.....mod_rewrite from httpd.conf.

whenever i go to some permalink on my localhost I just get a 404 (browser based, not wordpress based).

Please suggest the required changes that i need to do.

share|improve this question
4  
Did you restart apache? –  Greg Aug 16 '09 at 12:29
    
Did you have a look in your error_log? –  innaM Aug 16 '09 at 12:42
    
@greg yes i did. but radius solved the problem –  OrangeRind Aug 16 '09 at 13:45
add comment

2 Answers

up vote 3 down vote accepted

My guess is that your AllowOverride directive doesn't allow the .htaccess file of wordpress to be used. So double check that AllowOverride FileInfo is enable for your wordpress directory.


For the future when you ask these sorts of questions please include :

  • any rewrite configuration you've done in apache
  • the content of the .htaccess file in the root directory of wordpress
  • apache version
share|improve this answer
    
1.I haven't done any rewrite config, i just enabled permalinks through wordpress. 2.contents are what wordpress makes them by default, 3.apache 2.2.13 there you go! –  OrangeRind Aug 16 '09 at 13:30
add comment

Most likely your wordpress .htaccess file isn't being used by apache. Inside your httpd.conf file replace "Override None" with "Override All".

share|improve this answer
    
AllowOverride FileInfo should be enough, see my answer on serverfault : serverfault.com/questions/54700/apache-modrewrite-not-working/… –  radius Aug 16 '09 at 13:14
    
thanks it worked! +1 –  OrangeRind Aug 16 '09 at 13:49
add comment

Your Answer

 
discard

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.