Skip to content

Instantly share code, notes, and snippets.

Warning (2): include_once(/home/users/test.it/www/app/Config/database.php) [http://php.net/function.include-once]: failed to open stream: No such file or directory [CORE/Cake/Model/ConnectionManager.php, line 68]
Warning (2): include_once() [http://php.net/function.include]: Failed opening '/home/users/test.it/www/app/Config/database.php' for inclusion (include_path='/home/users/test.it/www/lib:.:/usr/share/php:/usr/share/pear') [CORE/Cake/Model/ConnectionManager.php, line 68]
root@vmi2495:/home/users/test.it/www# ls -l
total 40
drwxr-x--- 14 test.it nginx 4096 2012-03-04 16:06 app
-rw-r----- 1 test.it nginx 177 2012-03-04 16:06 build.properties
-rw-r----- 1 test.it nginx 8322 2012-03-04 16:06 build.xml
-rw-r----- 1 test.it nginx 1412 2012-03-04 16:06 index.php
drwxr-x--- 3 test.it nginx 4096 2012-03-04 16:06 lib
drwxr-x--- 2 test.it nginx 4096 2012-03-04 16:06 plugins
-rw-r----- 1 test.it nginx 1055 2012-03-04 16:06 README
drwxr-x--- 2 test.it nginx 4096 2012-03-04 16:06 vendors
root@vmi2495:/etc/nginx/sites-enabled# cat test.it
server {
listen 80;
server_name test.it;
rewrite ^(.*) http://www.test.it$1 permanent;
}
server {
listen 80;
server_name www.test.it;
root@vmi2495:/etc/nginx/sites-enabled# cat test.it
server {
listen 80;
server_name test.it;
rewrite ^(.*) http://www.test.it$1 permanent;
}
server {
listen 80;
server_name www.test.it;