× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My normal configuration has virtual host too. Thanks for the tip. I’ll try it when I return to the office.


Nathan Andelin


On Jun 20, 2018, at 10:22 AM, Tim Fathers <X700-IX2J@xxxxxxxxxxx> wrote:

...I think you might need

AllowEncodedSlashes On

..but if that doesn't help I can send you our config, but that is with virtual hosts too.
________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Nathan Andelin <nandelin@xxxxxxxxx>
Sent: 20 June 2018 17:35
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: [WEB400] IBM i HTTP server (reverse proxy)

Would anyone be willing to post an HTTP server configuration for a reverse
proxy running on IBM i 7.3?

The one I migrated from 7.1 doesn't work at 7.3. I whittled it down to the
following (attempting to simplify):

LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
Listen *:80 http
ProxyPassReverse / https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2F65.103.249.57%3A9000%2F&data=02%7C01%7C%7C290c0f7aff954f34a0dd08d5d6c3776d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636651057361731754&sdata=cR2cVYnFQ0kCoW%2Bi4Qgfgh8iMWmjsVEIxU%2BqVegAUWk%3D&reserved=0
ProxyPass / https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2F65.103.249.57%3A9000%2F&data=02%7C01%7C%7C290c0f7aff954f34a0dd08d5d6c3776d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636651057361731754&sdata=cR2cVYnFQ0kCoW%2Bi4Qgfgh8iMWmjsVEIxU%2BqVegAUWk%3D&reserved=0

When I do logging in both the reverse proxy instance, which is listening on
port 80, and the normal instance which is listening on port 9000, the
requested URL's often don't match. Some of the URL's requested are munged
into unexpected paths, which don't exist, as logged by the instance that is
running on port 9000.

I figure I'm missing some "fix_it" directive.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7C290c0f7aff954f34a0dd08d5d6c3776d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636651057361731754&sdata=VP9yQ9z30vYX0jCRHwmU1MsepwefXvdXYlVSyOyislI%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7C290c0f7aff954f34a0dd08d5d6c3776d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636651057361731754&sdata=jw9B62zwV9x5Y9ge4YP6YRR8UiVhM4NX0bxmS5r8BLo%3D&reserved=0.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.