View Single Post
Old 20th March 2013, 08:22
abdi abdi is offline
Senior Member
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Exclamation API Nginx directives problems

Hello Till,

I just noticed that when you save an Nginx directive through API eg:

location / {
        rewrite "^/blogs[/]{0,1}$"   /modules/boonex/blogs/blogs.php last;
The finel results that are passed to the vhost file are:
location / {
        rewrite \"^/blogs[/]{0,1}$\"   /modules/boonex/blogs/blogs.php last; 	
As you have noticed, it adds \" where there is "
With that modification, it kills the directives and thus they can NOT work.

Is this a configuration problem or a bug (I report it in bug tracker)?

NB: I would like to make that change in the API file it self if its embeded there then will pass it to you if its a bug ...But I request that you point me to the location of the API functions on the debian server.

Reply With Quote
Sponsored Links