Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st September 2013, 13:01
buliyo buliyo is offline
Junior Member
 
Join Date: Sep 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default ISPConfig3 & Nginx & Kohana 2.3.4

Hi guys, I have big problem to run kohana after migration..
My site work, but frendly links are broken.
When you click on the menu to change the address but the page displayed in the same.. In addition, the following additional address / example: domain.com//home domain//contact
When i enter manualy address -> domain.com/contact <- the same problem
This is my nginx vhost:
Code:
server {
        listen *:80;


        server_name domain.pl www.domain.pl;

        root   /var/www/domain.pl/web;

  location / {
    if (!-f $request_filename) {
      rewrite ^/(.*)$ /index.php;
    }
  }

        index index.html index.htm index.php index.cgi index.pl index.xhtml;



        error_page 400 /error/400.html;
        error_page 401 /error/401.html;
        error_page 403 /error/403.html;
        error_page 404 /error/404.html;
        error_page 405 /error/405.html;
        error_page 500 /error/500.html;
        error_page 502 /error/502.html;
        error_page 503 /error/503.html;
        recursive_error_pages on;
        location = /error/400.html {

            internal;
        }
        location = /error/401.html {

            internal;
        }
        location = /error/403.html {

            internal;
        }
        location = /error/404.html {

            internal;
        }
        location = /error/405.html {

            internal;
        }
        location = /error/500.html {

            internal;
        }
        location = /error/502.html {

            internal;
        }
        location = /error/503.html {

            internal;
        }

        error_log /var/log/ispconfig/httpd/domain.pl/error.log;
        access_log /var/log/ispconfig/httpd/domain.pl/access.log combined;

        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/client0/web21/web/stats/.htpasswd_stats;
        }

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

        location ~ \.php$ {
            try_files /206462354b65c1464d963f7dbdd0df06.htm @php;
        }

        location @php {
            try_files $uri =404;
            include /etc/nginx/fastcgi_params;
            fastcgi_pass 127.0.0.1:9030;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_intercept_errors on;
        }







}
Reply With Quote
Sponsored Links
Reply

Bookmarks

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
Install Wordpress on ISPconfig3 (NGINX webserver) Rashef Installation/Configuration 6 5th February 2013 11:02
permission issues with ISPConfig3, nginx and cakephp ItsDom Installation/Configuration 2 30th December 2012 13:18
ISPConfig3 with NGINX and HORDE arstacey Server Operation 5 24th June 2012 14:44
How setup nginx as frontend to apache with full support for nginx ISPConfig3? beliashou Installation/Configuration 8 30th November 2011 12:14
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24


All times are GMT +2. The time now is 04:24.


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