Skip to content

Commit

Permalink
Enable pretty urls
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalls1 committed Apr 2, 2013
1 parent 1b318c8 commit 4a71115
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cake/app/Config/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions cake/benchmark_config
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion cake/deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 / {
Expand Down

0 comments on commit 4a71115

Please sign in to comment.