logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problem with mod_rewrite in Windows XP SP2
Author
reynierpm



Joined: 11 Jun 2006
Posts: 7

PostPosted: Fri 08 Sep '06 22:02    Post subject: Problem with mod_rewrite in Windows XP SP2 Reply with quote

Hi to every:
I have Apache 2.0.58/mod_ssl 2.0.58 installed and I have mod_rewrite available. I check with PHP with modules are loaded and I get that:

Quote:

core mod_win32 mpm_winnt http_core mod_so mod_access mod_actions mod_alias mod_asis mod_auth mod_autoindex mod_cgi mod_dir mod_env mod_imap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_userdir mod_ssl mod_php5


So I think that mod_rewrite is on. When I create a file call .htaccess and put into root directory of my app I get nothing. See my .htaccess file content:
Quote:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]


What's wrong here?
Regards
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 09 Sep '06 11:34    Post subject: Reply with quote

Did you set in httpd.conf the AllowOverride Directive All ? When it is set to None then .htaccess files are ignored.

See: http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride

Steffen
Back to top
reynierpm



Joined: 11 Jun 2006
Posts: 7

PostPosted: Sat 09 Sep '06 16:22    Post subject: Thanks Reply with quote

Thanks it works now. I forget this "AllowOverride All"
Back to top


Reply to topic   Topic: Problem with mod_rewrite in Windows XP SP2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache