diff --git a/cake/app/Config/core.php b/cake/app/Config/core.php index 230a366fa3a..37beb4d1f28 100755 --- a/cake/app/Config/core.php +++ b/cake/app/Config/core.php @@ -94,7 +94,7 @@ * * And uncomment the App.baseUrl below: */ - //Configure::write('App.baseUrl', env('SCRIPT_NAME')); +Configure::write('App.baseUrl', env('SCRIPT_NAME')); /** * Uncomment the define below to use CakePHP prefix routes. diff --git a/cake/benchmark_config b/cake/benchmark_config index 63d41469892..0b535447767 100644 --- a/cake/benchmark_config +++ b/cake/benchmark_config @@ -3,9 +3,9 @@ "tests": [{ "default": { "setup_file": "setup", - "json_url": "/index.php/json.json", - "db_url": "/index.php/world.json", - "query_url": "/index.php/world.json?queries=", + "json_url": "/json.json", + "db_url": "/world.json", + "query_url": "/world.json?queries=", "port": 8080, "sort": 1 } diff --git a/cake/deploy/nginx.conf b/cake/deploy/nginx.conf index 238a4eb6538..4af8bce9606 100644 --- a/cake/deploy/nginx.conf +++ b/cake/deploy/nginx.conf @@ -59,7 +59,7 @@ http { # proxy_pass http://127.0.0.1; #} - root /home/ubuntu/FrameworkBenchmarks/cake; + root /home/ubuntu/FrameworkBenchmarks/cake/app/webroot/; index index.php; location / {