We have got a sonatype security issue with CGI. We need to know the CGI version in IIS or windows server. How can I get it?
CGI stand for Common Gateway Interface. It is used by webserver to pass web user request to application server and process and give back the output.it is a part of http protocol. It has no version; the settings are determined by the version of IIS.
For more information about CGI you can refer to Microsoft Docs
Related
I have a problem, because I created NODEJS API and I have to deploy it on Microsoft IIS. I have never done this before. Is it possible to do? If yes, I will be very grateful if someone describes how to do this.
If you want to host node.js application, you should firstly install the node.exe and the a build of iisnode.
https://nodejs.org/en/#download
https://github.com/tjanczuk/iisnode
After installed the IIS nodes, you could set up samples, from the administrative command prompt call %programfiles%\iisnode\setupsamples.bat.
More details, you could refer to below article:
https://www.hanselman.com/blog/InstallingAndRunningNodejsApplicationsWithinIISOnWindowsAreYouMad.aspx
I don't think if that will help you but usually NodeJS don't need a server to be live unlike php or .NET so you can create a server on NodeJS itself and launched very easy .
also IIS used for statics content and .NET websites about 90% .
I have made a ServiceStack Web App that uses a custom AppHost from a plugin (similar to the example https://github.com/NetCoreWebApps/WebApp/tree/master/src/apps/chat). I can run it on macOS with the dotnet command as per the examples.
Can I host my Service Stack Web App on IIS? What approach should I take? Reverse-proxying Kestrel like this https://learn.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x
or will I need to have different AppHost/Startup code for the two hosting situations?
Or maybe there's a fundamental reason why it will never work?
WebApp is a standard .NET Core 2.0 App so you'll be able to host it as you would any other .NET Core App. Normally reverse proxies don't require anything except the internal url where the request is proxied to, but it looks like IIS wants you to explicitly call .UseIISIntegration() which is an issue that may have prevented the existing WebApp binary as it didn't call .NET Core 2.0 WebHost.CreateDefaultBuilder(args) which among other things would turn on IISIntegration when the .NET Core App is hosted in IIS/Windows which is now being done from this commit.
You can find the updated Web App binaries with this change in the /web folder of the https://github.com/NetCoreWebApps/Chat project.
I am developing my first web application with EJB, JSF and JPA. I use rational developer for developement and test, and our server is an iSeries with websphere 8. I do not have access to the test and production server, i can only manage the one I locally installed for developement purpose.
So now, my web application is working perfectly on my local installation, but I can't make it work on the production or test server. I produce the EAR with Rational Developer, our sysadmin publishes it on the server, the logs show no error (everything seems fine), but when I then try to reach the application via browser, i get the message
404 not found: requested url was not found on this server
In locale, i have the application installed under
http://localhost:9080/<contextroot>/pages/login.jsf
I tried several different urls but I always get that error message:
http://<production_server_url>/<contextroot>/pages/login.jsf
http://<production_server_url>:80/<contextroot>/pages/login.jsf
http://<production_server_url>:9080/<contextroot>/pages/login.jsf
http://<production_server_url>/<contextroot>/
I asked the sysadmin to send me the screenshots of the steps he goes through when installing the app on the server to see if there was some difference in the configuration, but everything is the same. The contextroot is correct.
We have other web applications that run on the servers, but those are simple .war files, this is the first EAR we try to deploy (i.e. as such, websphere incapuslates war files into ear projects in order to run them)
We have no idea what to do, can anyone help?
What bothers me the most is that the deploy itself goes well, the app is installed and running, I just cannot reach it
Thanks
Solution: The application server was running on a different, non-standard port. As suggested by #Jarid i found the correct port under
<profile_config>/cells/<cellname>/nodes/<nodename>/serverindex.xml
at endpoint WC_defaulthost. I can access the application at
http://<production_server_url>:>WC_defaulthost_port>/<contextroot>/pages/login.jsf
I have an application that is running when directed hit using websphere application server(using the default port of the app server). What I want is that the application should be accessed using the iPlanet web server available.
I need to know the changes to be made to config files of the web server or app server concerned. Also do I need to make changes in obj.conf config file of iPlanet Web Server.
If you look at
WAS Software Requirements page
it refers to Sun Java System Web Server and I'm not sure that it match iPlanet product.
If it is supported you could administer it as other web server see: Administering web servers from the administrative console
Otherwise, it could be quite quite difficult to use iPlanet as HTTP Server.
In fact, you can configure iPlanet to behave as a Reverse Proxy to route some HTTP requests (e.g. /yourapp/*) to WAS but you need to add a configuration for each app.
Moreover, if you have a WAS cluster, you will lose session affinity that is a capability of HTTP plugin provided by WAS: Configuring simple load balancing across multiple application server profiles.
I suggest you to use Web Server supported by WAS like IBM HTTP Server (the license is included in WAS)
Has anyone figured out how to run a C++ app with FastCGI under IIS 7.5?
IIS only implements the FastCGI required API for the server, and it is your responsibility to implement the rest in your own C++ app, so that it works with not only IIS but any other FastCGI enabled web server.
http://technet.microsoft.com/library/hh831548.aspx
You can see from the above link that IIS accepts any executable that meets the basic requirements.
You might refer to PHP or Python's IIS integration so as to learn about the technical details,
http://pypi.python.org/pypi/iiswsgi/0.3
They are open source, so you might find something useful from the code base.