Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
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:

Code:
location / {
        rewrite "^/blogs[/]{0,1}$"   /modules/boonex/blogs/blogs.php last;
}
The finel results that are passed to the vhost file are:
Code:
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.

Joseph
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with self-compiled nginx Ovidiu Server Operation 2 12th February 2013 18:34
Debugging nginx directives ItsDom Installation/Configuration 3 5th January 2013 12:46
SOAP API problems in 3.0.4.6 Disassembler Developers' Forum 9 25th November 2012 10:14
nginx + php-fpm = various problems for SOME sites inc 500 or 404 or no input file talkingnews Installation/Configuration 3 11th December 2011 19:02
local ip:8080 just downloads a file called download or index.php dr_patso Installation/Configuration 5 20th September 2011 21:54


All times are GMT +2. The time now is 05:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.