Client nginx redirection configuration

Discussion in 'Installation/Configuration' started by pchott, Mar 18, 2013.

  1. pchott

    pchott New Member

  2. almere

    almere Member HowtoForge Supporter

  3. pchott

    pchott New Member

    Ok, that syntax but how can client write that himself over ISPconfig or someway else?:confused:
     
  4. almere

    almere Member HowtoForge Supporter

    Well, what i posted above is for .htaccess file, so your clients can use it.
    It's currently not possible to set redirect from one file to another in ISPConfig.
     
  5. pchott

    pchott New Member

    Stupid me :( I thought that nginx does not use htaccess file.
     
  6. almere

    almere Member HowtoForge Supporter

    Of course it does :D
     
  7. falko

    falko Super Moderator Howtoforge Staff

    You can place your rewrite rules in the nginx Directives field on the Options tab of a website in ISPConfig. Of course, the Options tab is accessible only for admin to avoid people placing rubbish in that field (which would prevent nginx from starting...).
     
  8. pchott

    pchott New Member

    Still some confusion

    thank you falko, that option i have find and is working nicely.

    I still don't know how client can use htaccess. Accoring to nginx http://wiki.nginx.org/LikeApache-htaccess it does not support htaccess, so that means that somehow i have to specially add some configuration so nginx would read htaccess file.

    Problem is that client need to manage rewrite himself
     
    Last edited: Apr 2, 2013
  9. falko

    falko Super Moderator Howtoforge Staff

    That's not possible without admin access to ISPConfig. That's why nginx hosting should be offered as managed hosting only, i.e., the hoster manages rewrites for the client.
     

Share This Page