问题标签 [ibmhttpserver]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ibmhttpserver - Copy Incoming URL Context in HTTP header in IHS server
I am using a IHS to route the incoming url to my application by Rewrite Rule. But i also want url to be saved so that i can use it within my application.
So my question is whether, we can copy the incoming URL to the Message HTTPHeader before performing the rewrite rule.
For eg:
Incoming Request
To be converted to
I tried to use the below code to set the Header, but the header came as null
mod-rewrite - 使用 mod_rewrite 重定向 ErrorDocument 自定义页面 (500,503)?
我想在 IBM HTTP Server 上的 500 和 503 错误文档上使用自定义页面,以及缩短 URL 也使用重写该代码以缩短 URL (WCS)。
以下是我正在使用的规则:
当我不使用缩短 URL 代码时,ErrorDocument 500 /500.html 自定义页面工作正常。但是当我使用缩短 URL 代码时,ErrorDocument 500 /500.html 自定义页面不起作用。当我使用像 ErrorDocument 500 "Server in a problem so We will be back" 这样的字符串时,在两种情况下都可以使用缩短的 URL 代码或不使用缩短的 URL 代码。
httpd.conf - 在公共域上发布 url 后,我可以看到 IBM HTTP Server 的默认页面,但看不到应用程序
我们尝试访问的公共 url 正在访问我们正在使用 Amazon 云的 IBM HTTP 服务器的 url https://hostname.domain:port/。还涉及 ELB 和 WAF。(但这不是问题)
我需要将请求 url 更改为https://hostname.domainname:port/some_path_file_directory/XYZ.jsp 另外,我需要在内部执行此操作。(不显示重写)
我需要在 httpd.conf 文件中执行此操作。我尝试了很多场景,但仍然无法找到解决方案。我已经尝试过重写,但我不确定将它放在哪里或如何使用它。
请大家帮助我解决问题。
apache - 无法启动 IBM HTTP Server
我们从一个现有的 IBM HTTP Server v8.5 中获取了挂载点的映像,并将其复制到另一台服务器。当我们尝试使用 ./apachectl start 启动服务器时,没有收到任何错误消息,但没有我找不到任何正在运行的 httpd 实例。当我试图停止服务器时,我收到“httpd (pid 19422?) not running”消息。通过更改服务器名称在 httpd.conf 中进行了更改。请让我知道是否可以复制此图像?如果是,请让我知道我还应该在哪里进行更改?
apache - IHS 未将请求重定向到 WAS
所以,我已经安装了 WAS 和 IHS。我可以直接从 WAS 访问应用程序。但 IHS 正在尝试回复请求并且它没有使用插件来回复请求。我可以访问默认的 IHS 页面,但不能访问测试应用程序。
为了创建 IHS,我做了标准的东西:
1- 安装 IHS 和插件
2- 在 IHS 中配置插件
3- 在 DMGR 上创建非托管节点
4- 在 DMGR 上创建 webserver 实例
我只是想调用一个名为 hello 的示例应用程序(用于 helloworld)
我在网络服务器日志上看到了请求,但它们没有被重定向到 WAS。
这是在 httpd.conf 上提到的插件:
这是插件-cfg.xml:
websphere - IBM HTTP Server 的 FIx Pack 静默安装失败
我正在尝试在 Linux 上为 IBM HTTP Server 8.5.5 安装 Fix Pack 11。我正在使用静默安装。作为模板,我使用了在 Windows 上使用过的响应文件。出于某种原因,Installation Manager 认为我正在尝试安装 IHS,而不是为 IHS 安装 Fix Pack:
这是我的响应文件:
有谁知道为什么 IIM 认为我正在安装新版本,而不是安装修复包?
websphere - 500 错误,第一次刷新 WebSphere、IHS 后运行良好
外部用户 -> 虚拟 IP F5 -> IHS(已配置 SSL)-> WAS 855
IHS 和 WAS 之间有防火墙,
当我第一次点击应用程序 URL 时出现 500 错误,当我刷新页面时,它运行良好。
我尝试使用提琴手,它只是对 500 错误说“没有服务器响应”。
在网络服务器日志中,我只看到 304 和 302 错误。
有没有人遇到过这个问题?
regex - 如果不包含站点,则尝试使用 RegEx 选择 cookie 值
为了解决渗透测试结果,我必须检查 cookie 的值。如果 cookie 为空或特定站点,则一切正常。如果是另一个站点,cookie值应该被清空,例如:Cookie [一些其他不应该被触及的文本] WASReqURL= https://an.evil.site [可能更多的文本不应该被触及] 在这个示例https://an.evil.site应替换为空字符串。使用的 Web 服务器是 IBM HTTP Server。我想在网络服务器配置中使用的规则是:
我想通了
我可以检查 cookie 是否包含正确的值,但这并不能帮助我删除该值。那里有任何 RegEx 大师可以为我指明正确的方向吗?
sockets - 从部署在 IHS 和 WAS 服务器上的应用程序获取 500 Internal server error
基于 Web 的应用程序间歇性地抛出“500 内部服务器错误”。此应用程序部署在 WAS 8.0 服务器上,IHS 和 WAS 服务器托管在不同的机器上。请在 IHS 端的 TRACE 级别插件日志下方找到。
请帮助我解决问题。提前致谢
websocket - when do sockjs fallback to xhr streaming transport instead of websocket
I have a simple web app, which is using websockets. simple webapp: Frontend - using sockjs, stomp Backend - Spring 4.2.x
Frontend & Backend are packaged in the same WAR, this WAR is deployed on IBM WebSphere Application Server v9.x
When I check the Developer Tools/Web Console in chrome(61.x)/firefox(56.0, 32 bit), I see that websocket transport is not being used, it's always xhr streaming. To use the websocket transport, I have passed the transports option in sockjs, like below, but after this change the websockets stopped working.
var sockjs = new SockJS(my url, null, {transports: ["websocket"]});
Do we need to change any configuration on IBM WebSphere Application Server v9.x to enable websocket transport ?
Update: on tomcat/liberty servers, sample app always uses websocket transport. Only on WAS, it is using xhr streaming. Issue in WAS?