WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/eric/Desktop/python-www/$1.wsgi
ServerName localhost
DocumentRoot /home/eric/Desktop/www
Alias /project /home/eric/Desktop/www/project/pub
DirectoryIndex index.php
Options -MultiViews -Indexes
AcceptPathInfo On
# enable rewrite engine
RewriteEngine On
# ********** THIS IS THE ONLY SETTING YOU SHOULD HAVE TO CHANGE **********
# RewriteBase /project/pub/
# e.g. RewriteBase /~dzuelke/_projects/agavi/trunk/samples/pub/
# usually just "/" if your application's pub dir is the document root
# if requested url does not exist (i.e. it's likely an agavi route), pass it as path info to index.php
RewriteRule ^$ /project/pub/index.php?/ [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /project/pub/index.php?/$1 [QSA,L]