Learn about Centmin Mod LEMP Stack today
Register Now

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,430
    1,393
    113
    May 25, 2014
    Ratings:
    +2,179
    Local Time:
    2:24 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

    51,203
    11,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,369
    Local Time:
    4:24 PM
    Nginx 1.25.x
    MariaDB 10.x
  3. rdan

    rdan Well-Known Member

    5,430
    1,393
    113
    May 25, 2014
    Ratings:
    +2,179
    Local Time:
    2:24 PM
    Mainline
    10.2
    Thanks a lot Eva for the links.
     
  4. rdan

    rdan Well-Known Member

    5,430
    1,393
    113
    May 25, 2014
    Ratings:
    +2,179
    Local Time:
    2:24 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:
    8:24 AM
    1.9.9
    10.1
  6. rdan

    rdan Well-Known Member

    5,430
    1,393
    113
    May 25, 2014
    Ratings:
    +2,179
    Local Time:
    2:24 PM
    Mainline
    10.2
    I fixed it now using the link Eva gave.