Browse Source

Use variables for replacement

Hamilton Turner 10 years ago
parent
commit
6a89ca8eee
2 changed files with 3 additions and 3 deletions
  1. 1 1
      frameworks/PHP/php/deploy/nginx.conf
  2. 2 2
      frameworks/PHP/php/deploy/php

+ 1 - 1
frameworks/PHP/php/deploy/nginx.conf

@@ -69,7 +69,7 @@ http {
         # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
         #
         location ~ \.php$ {
-            root /home/ubuntu/FrameworkBenchmarks/frameworks/PHP/php;
+            root TEST_ROOT;
             fastcgi_pass   fastcgi_backend;
 #            fastcgi_pass 127.0.0.1:9001;
             fastcgi_index  index.php;

+ 2 - 2
frameworks/PHP/php/deploy/php

@@ -1,6 +1,6 @@
 <VirtualHost *:8080>
-  Alias /php/ "/home/ubuntu/FrameworkBenchmarks/frameworks/PHP/php/"
-  <Directory /home/ubuntu/FrameworkBenchmarks/frameworks/PHP/php/>
+  Alias /php/ "TEST_ROOT/"
+  <Directory TEST_ROOT/>
           Options Indexes FollowSymLinks MultiViews
           #AllowOverride None
           Order allow,deny