Download apache2triad
http://sourceforge.net/projects/apache2triad/
Install mambo by unzipping a mambo installation into c:\apache2triad\htdocs
Verify the mambo installation was a success by going to:
http://localhost/mambo
Now open C:\apache2triad\conf\httd.conf
uncomment the line by removing the # character
PHP Code:
LoadModule rewrite_module modules/mod_rewrite.so
locate the following line in httpd.conf
PHP Code:
AccessFileName .htaccess
and change it to
PHP Code:
AccessFileName htaccess.txt
Now open c:\apache2triad\htdocs\mambo\htaccess.txt which is already there upon installation.
Replace the contents of the file with:
PHP Code:
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
RewriteBase /mambo
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
Log into your mambo administration panel and Enable SEF.
Test to ensure your url's are being re-written.
Install and turn on the 404 SEF component. Done.
Note: Apache2triad also installs mySQL and apache web server 2.0 It is the best way to get started with a local windows environment.