I'm running Ubuntu 12.04 and the nginx install is very basic, just for dev purposes. Nothing customized or anything like that.
The problem I'm having is that the URLs I visit in each declared section load up just fine on the index page, but the routing does not work at all. I can't really find any solid documentation as to what needs to be set, or where, so I have no idea what to change or what's wrong.
For the acl demo section, I can see the main page where it shows all the links and demo information, but any link I click on results in a 404.
The config portions I have declared are:
- Code: Select all
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location /doophp/app/ {
index index.php;
if (!-e $request_filename) {
rewrite (.*) /doophp/app/index.php/$1;
}
}
location /doophp/demos/acl/ {
index index.php;
if (!-e $request_filename) {
rewrite (.*) /doophp/demos/acl/index.php/$1;
}
}
Any help would be greatly appreciated. Also, the documentation seems rather scattered, or few and far between. Is there a location/url with solid documetation or am I just not seeing it? Something like installation, setup, examples, etc.
