At this point the system is returning the user ID QTMHHTTP which is
the user ID that the apache server jobs run under.
I tried to retrieve the REMOTE_USER environment variable, but it is
returned as blanks.
I have configured apache to validate user ID when signing on and this
is working.
How do you retrieve the user profile used to sign on to the browser
session?
Thanks
Darryl.
1st Option:
Require SSL port 443 connections. Then REMOTE_USER will get populated.
2nd Option:
Specify UserId %%CLIENT%% in your directory path to your program
library.
Each user will spawn their own Apache instance, but REMOTE_USER will
get populated.
<Directory /QSYS.LIB/INTRANET.LIB/>
AuthName Intranet-Security
AuthType Basic
Require valid-user
PasswdFile %%SYSTEM%%
UserId %%CLIENT%%
</Directory>
Yes the browser does prompt for the user ID and password.
Thank you, I was missing the "require valid-user". It got dropped
somehow.
When I added it back, the Current User in the rtvjoba was corrected
populated with the user id in the browser.
Thanks