Created
July 11, 2012 07:36
-
-
Save jashank/3088756 to your computer and use it in GitHub Desktop.
Apache config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks | |
AddHandler cgi-script .cgi | |
AddHandler fastcgi-script .fcgi | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(.*)$ dispatch.cgi?/$1 [QSA,L] | |
# nicked from gportal, patched for Tingle | |
#RewriteRule ^Settings\..+$ index.pl?/$1 [L] | |
#RewriteCond %{REQUEST_URI} !\.(css|ico|js|png)$ | |
#RewriteRule ^(.*)$ index.pl?/$1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName dev.pondr.net | |
ServerAdmin jashank@localhost | |
DocumentRoot "/Users/jashank/pondr/serv" | |
<Directory "/Users/jashank/pondr/serv"> | |
AllowOverride All | |
Order Deny,Allow | |
Deny from All | |
Allow from localhost | |
Allow from 192.168.123 | |
AddHandler cgi-script .pl | |
Options ExecCGI | |
</Directory> | |
SetEnv NYTPROF 'file=/tmp/nytprof.out' | |
PerlPassEnv NYTPROF | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment