Language:
None specified     Change language:
Pastebin: 90330
Author: Anonymous
Subject: Untitled
Created: 2008-07-01 09:36:53
Download and save
Toggle line numbers
1Alias /project /home/eric/Desktop/www/project/pub 
2 
3<Directory "/home/eric/Desktop/www"> 
4 DirectoryIndex index.php 
5 Options -MultiViews -Indexes 
6 
7 <IfDefine APACHE2> 
8 AcceptPathInfo On 
9 </IfDefine> 
10 
11 <IfModule mod_rewrite.c> 
12 # enable rewrite engine 
13 RewriteEngine On 
14 
15 # ********** THIS IS THE ONLY SETTING YOU SHOULD HAVE TO CHANGE ********** 
16 # RewriteBase /project/pub/ 
17 # e.g. RewriteBase /~dzuelke/_projects/agavi/trunk/samples/pub/ 
18 # usually just "/" if your application's pub dir is the document root 
19 
20 # if requested url does not exist (i.e. it's likely an agavi route), pass it as path info to index.php 
21 RewriteRule ^$ /project/pub/index.php?/ [QSA,L] 
22 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f 
23 RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d 
24 RewriteRule (.*) /project/pub/index.php?/$1 [QSA,L] 
25</IfModule> 
26 
27</Directory> 
28 
29<VirtualHost *> 
30 WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/eric/Desktop/python-www/$1.wsgi 
31 ServerName localhost 
32 DocumentRoot /home/eric/Desktop/www 
33</Virtualhost> 
Thread:
[90330] Untitled by Anonymous at 2008-07-01 09:36:53
Tip: Click the line numbers to toggle highliting on that line.

Paste followup:

Language:
Author:
Subject:


    Tabstop:     bigger biggest
Note: You can prefix a line with "@@@" to highlight it.