Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx Apache code to nginx?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Aug 21, 2015.

Tags:
  1. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:19 PM
    Mainline
    10.2
    Can somebody advice the right equivalent code for this?
    From Apache to Nginx.
    Code:
    RewriteEngine on
    RewriteCond $1 !^(index\.php|images|robots\.txt|assets|install)
    RewriteRule ^(.*)$ /index.php/$1 [L]


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,340
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:19 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:19 PM
    Mainline
    10.2
    Thanks a lot Eva for the links.
     
  4. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:19 PM
    Mainline
    10.2
    Script is:
    Wilylab Invoice : Recurring & Multiple Company
     
  5. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    5:19 PM
    1.9.9
    10.1
  6. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    11:19 PM
    Mainline
    10.2
    I fixed it now using the link Eva gave.