Recent

Author Topic: Fp-web on IIS  (Read 2509 times)

nummer8

  • Full Member
  • ***
  • Posts: 111
Fp-web on IIS
« on: February 07, 2016, 04:25:07 pm »
Hello,

I am testing several options to create a web application with lazarus.
Tested several frameworks.

Spider-web
fp-web
brookframework
several other......

All work fine on a wamp installation.(Apache)

My customers insist on a IIS server.

Spider-web is working fine on IIS. (haven't found session management at this time )
Brook framework is not running on IIS. (Atleast I an getting to run properly)
fp-web is giving me errors.
if the url = http://localhost/cgi-bin/cgi.exe
the errormessage = Error: Could not determine HTTP module for request "cgi-bin"

I followed the fp-web basis tutorial but I did not succeed.
The application I used is the helloworld application from the basic tutorial.

The IIS is a standard installation in which I added CGI.
I did add handler mappings on Default website level.

I prefer to get fp-web running on IIS.
If I can brook framework to work to that is a bonus to me.....

Tried several options in IIS but no luck.
Any help is appreciated.

Thanks in advance,
nummer8

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Fp-web on IIS
« Reply #1 on: February 07, 2016, 06:44:02 pm »
If it works on other web servers, certainly it's a configuration issue. I never really use IIS, hate it from the start so I say goodbye even before I know how to serve CGI with it. That error means /cgi-bin/cgi.exe is passed as PATHINFO. In a correctly configured web server environment, the web server will send / only. I found an article on how to run CGI through simple googling. If that's what you've done, at least you need to show what options/parameters you've set in that whole process.

nummer8

  • Full Member
  • ***
  • Posts: 111
Re: Fp-web on IIS
« Reply #2 on: February 07, 2016, 09:15:53 pm »
Leledumbo,

Thank you for your answer.
The article you referred to are found. And previous several others with similar info.
I tried to configure according to the article.
The fact that several cgi frameworks reacted differently on different servers pointed me in the direction of code instead of configuration of the webserver.
Your remark about PATHINFO helped me to find an article on article on stackExchange
Configurating the webserver according to this article took care of it.

fpweb functions now on all servers.

Thank you for pointing that out to me!
I apologize for asking a M$ config question.

Nummer8

 

TinyPortal © 2005-2018