How to enable mod rewrite for drupal site on ISPConfig 3 nginx

Discussion in 'Installation/Configuration' started by anhlqn, Dec 26, 2013.

  1. anhlqn

    anhlqn New Member

    Hi all,

    I have several sites running Drupal and Joomla on LAMP, and I'm trying to migrate these sites to LEMP with ISPConfig 3. I can get to the index page, but I don't know which rewrite rules to apply to a site.

    I have tried

    if ($http_host != "") {
    rewrite ^$request_uri permanent;
    but it does not work. However, this require rule worked when I install LEMP without ISPConfig.

    Any helps will be appreciated.


Share This Page