×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




you could add your own headers to each request to know which one it is.
Inside each virtualhost...

<virtualhost xxxxxx:80>
SetEnv SITE_ENV http
.....
</virtualhost>

<virtualhost xxxxx:443>
SetEnv SITE_ENV https
....
</virtualhost>

Then you can grab the SITE_ENV (or whatever you want to call it) and tell
what environment it is.

Bradley V. Stone
www.bvstools.com
GreenTools for PayPal <https://www.bvstools.com/g4pp.html>: Easily send
PayPal invoices from your IBM i applications using RPG ILE! Process
refunds, get account balances and more!

On Tue, Apr 21, 2020 at 10:54 AM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

I have an internal Apache instance that allows both HTTP and HTTPS
connections. Is there a good way to identify clients connecting in the
clear using HTTP? It looks like I could try and parse my access_log, but
that seems clunky and error prone.

TIA
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
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 ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.