소스 검색

Use variables for replacement

Hamilton Turner 11 년 전
부모
커밋
6a89ca8eee
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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