Permalink
Browse files

New virty hosties. And an edit to make it SFW.

  • Loading branch information...
1 parent 4229198 commit 42cde2c2ca05f2fe4dc6db0327ece93368978c7d @drlube drlube committed Aug 25, 2011
@@ -0,0 +1,41 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name localhost.crawfordgroup.com;
+
+ root /usr/local/sites/crawfordgroup.com;
+
+ index index.php index.html;
+
+ if (!-e $request_filename)
+ {
+ rewrite ^(.*)-([0-9]+)\.(css|js|png|swf)$ $1.$3 break;
+ }
+
+ location /
+ {
+ if (!-e $request_filename)
+ {
+ rewrite ^.*$ /index.php last;
+ }
+ }
+
+ location ~ \.php(.*)$
+ {
+ include fastcgi_params;
+
+ # A handy function that became available in 0.7.31 that breaks down
+ # The path information based on the provided regex expression
+ # This is handy for requests such as file.php/some/paths/here/
+ fastcgi_split_path_info ^(/simplesamlphp/www/[a-z]+\.php)(.+)$;
+
+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+ fastcgi_param PATH_INFO $fastcgi_path_info;
+ #
+ #fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
+ fastcgi_param REQUEST_URI $request_uri;
+
+ fastcgi_pass 127.0.0.1:9000;
+ fastcgi_index index.php;
+ }
+}
@@ -0,0 +1,9 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name localhost.fipa.bc.ca;
+
+ root /usr/local/sites/fipa.bc.ca;
+
+ index index.php index.html;
+}
@@ -19,7 +19,7 @@ server
rewrite ^/products/windows/wsfc.php /products/steeleye-datakeeper-windows/ permanent;
rewrite ^/support/$ /support/overview/ permanent;
- # support lame flash movies
+ # support flash movies
rewrite ^(.*)MinimaFlatCustomColorPlayBackSeekMute.swf$ /downloads/MinimaFlatCustomColorPlayBackSeekMute.swf break;
location /

0 comments on commit 42cde2c

Please sign in to comment.