From 4a711155f9f84bd53a809b5a32aec2d425a0e5e0 Mon Sep 17 00:00:00 2001 From: Patrick Falls Date: Tue, 2 Apr 2013 13:08:53 -0700 Subject: [PATCH] Enable pretty urls --- cake/app/Config/core.php | 2 +- cake/benchmark_config | 6 +++--- cake/deploy/nginx.conf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 / {