This is the configuration:
-Apache 2, Windows XP
-I turned on assume_mod_rewrite in config.php
-In httpd.conf I added this:
Code: Select all
Alias /seiscuerdas "C:/Inetpub/seiscuerdas/"
<Directory "C:/Inetpub/seiscuerdas">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>Code: Select all
php_flag magic_quotes_gpc Off
php_flag register_globals Off
php_flag session.use_trans_sid Off
# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On
#Rewrites page.shtml as index.php?page
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^(.+)\.html$ index.php?page=$1 [QSA]Code: Select all
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (3) [per-dir C:/Inetpub/seiscuerdas/] strip per-dir prefix: C:/Inetpub/seiscuerdas/Guitarristas.html -> Guitarristas.html
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (3) [per-dir C:/Inetpub/seiscuerdas/] applying pattern '^(.+)\.html$' to uri 'Guitarristas.html'
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (2) [per-dir C:/Inetpub/seiscuerdas/] rewrite Guitarristas.html -> index.php?page=Guitarristas
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (3) split uri=index.php?page=Guitarristas -> uri=index.php, args=page=Guitarristas
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (3) [per-dir C:/Inetpub/seiscuerdas/] add per-dir prefix: index.php -> C:/Inetpub/seiscuerdas/index.php
127.0.0.1 - - [07/Dec/2005:10:36:04 --0800] [localhost/sid#3bf30][rid#13da890/initial] (1) [per-dir C:/Inetpub/seiscuerdas/] internal redirect with C:/Inetpub/seiscuerdas/index.php [INTERNAL REDIRECT]Hernan.
