Jump to content

smicroz

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by smicroz

  1. Hi,

     

    I install blesta in nginx webserver, I add 

    # Ported from Blesta's .htaccess
    # There are more than one way to accomplish this.
    # You can use try_files rather than using IF ... rewrite; 
    location / {
      error_page     404 = @blesta; #IF file doesn't exist
      log_not_found  off;
    # For access to install file  
    if ($request_uri ~ "^(.*)/install.php$"){
        rewrite install.php /%1/install/ redirect;
      }
    }
     
    #Core rewrite
    location @blesta {
      rewrite ^(.*)$ /index.php last; 
    }
    

    This works, but for some reason when navigate for blesta, the url include index.php, example

     

    h ttp://blesta.midomain.com/index.php/client/login

     

    instead of 

     

    h ttp://blesta.midomain.com/client/login

     

    Any suggestion?

     

    Rgds

×
×
  • Create New...