Posts: 146
Thanks: 10
Thanked 13 Times in 12 Posts
Quote:
Originally Posted by pchott
Ok, that syntax but how can client write that himself over ISPconfig or someway else?
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.
The Following User Says Thank You to almere For This Useful Post:
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.
Stupid me I thought that nginx does not use htaccess file.
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
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...).
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 by pchott; 2nd April 2013 at 19:29.
Reason: additional info
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
Quote:
Originally Posted by pchott
Problem is that client need to manage rewrite himself
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.
Recent comments
1 day 2 hours ago
1 day 2 hours ago
1 day 7 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 20 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 8 hours ago