Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 11:07:36

Author Topic: hiawatha compile  (Read 2673 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
hiawatha compile
« on: 2014-07-20, 01:18:27 »
Mustafa,

Do you compile hiawatha for MR repos?  If so, please post the cmake values/options you use.  I want to compile some changes to the cgi-wrapper, but don't want to break kloxoMR in anyway.

Thank you
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: hiawatha compile
« Reply #1 on: 2014-07-20, 06:28:07 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: hiawatha compile
« Reply #2 on: 2014-07-20, 07:08:21 »
There is a small bug in the cgi-wrapper that needs fixed:

At line 168 of src/cgi-wrapper.c, change
Code: [Select]
*pipe = '/';
to
Code: [Select]
if (*(pipe + 1) == '\0') {
    *pipe = '\0';
} else {
    *pipe = '/';
}

This was after I was testing cgi-wrapper, post on hiawatha forum.  This fix is from Hugo Leisink, creator hiawatha.
https://www.hiawatha-webserver.org/forum/topic/1688

Please add this fix to the repo.  Make things easier ;)

Thank you Mustafa.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: hiawatha compile
« Reply #3 on: 2014-07-20, 22:38:44 »
Installed the patch, thank you Mustafa.  Hiawatha is an amazing webserver.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.049 seconds with 18 queries.

web stats analysis