Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 10th June 2013, 13:01
KardiWeb KardiWeb is offline
Junior Member
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 3 nginx php file not found

I faced the following error: File not found. What could be the problem? Nginx conf:

server {
        server_name blog.example.org ;
        root   /var/www/blog.example.org/web;
        index index.html index.htm index.php index.cgi index.pl index.xhtml;
        location ~ \.shtml$ {
            ssi on;

        error_log /var/log/ispconfig/httpd/blog.example.org/error.log;
        access_log /var/log/ispconfig/httpd/blog.example.org/access.log combined;

        ## Disable .htaccess and other hidden files
        location ~ /\. {
            deny all;
            access_log off;
            log_not_found off;

        location = /favicon.ico {
            log_not_found off;
            access_log off;

        location = /robots.txt {
            allow all;
            log_not_found off;
            access_log off;

        location /stats {

            index index.html index.php;
            auth_basic "Members Only";
            auth_basic_user_file /var/www/clients/client/web1/web/stats/.htpasswd_stats;

        location ^~ /awstats-icon {
            alias /usr/share/awstats/icon;

        location ~ \.php$ {
            try_files /1234abcd.htm @php;

        location @php {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            #fastcgi_param PATH_INFO $fastcgi_script_name;
            fastcgi_intercept_errors on;

        location /cgi-bin/ {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            root /var/www/clients/client/web1;
            gzip off;
            fastcgi_pass  unix:/var/run/fcgiwrap.socket;
            fastcgi_index index.cgi;
            fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_intercept_errors on;

        # WordPress friendly urls
        location / {
        try_files $uri $uri/ /index.php?$args;

Reply With Quote
Sponsored Links


ispconfi3, nginx, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 21:01
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 15:31
Please review RKHUNTER Log jmh_fl General 1 27th April 2010 17:44
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
domains not accessible gillesdevals Installation/Configuration 3 17th June 2009 10:12

All times are GMT +2. The time now is 14:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.