*Match directives are slower than their non-match versions but one of the things I see right away is there is a duplicate ScriptAliasMatch. The configuration files are not case sensitive so there is no need for two of them. In fact, I would get rid of the first two ScriptAliasMatch's and replace them with this:
ScriptAlias /MYLIB/RESPONSE /qsys.lib/MYLIB.lib/PGM35.pgm
Also, options +ExecCGI is redundant (but harmless).
Finally, why limit yourself to serving just .html files?
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Wednesday, April 09, 2008 9:12 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Could not swap to user profile QTMHHTP1
The config is fairly straight forward and is as follows:
Listen *:8181
DocumentRoot /www/MYLIB/htdocs
ErrorLog trans/error_log
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog trans/access_log common
CGIConvMode %%EBCDIC/EBCDIC%%
ScriptAliasMatch ^/MYLIB/RESPONSE /qsys.lib/MYLIB.lib/PGM35.pgm
ScriptAliasMatch ^/MYLIB/response /qsys.lib/MYLIB.lib/PGM35.pgm
ScriptAliasMatch ^/MYLIB/(.*) /qsys.lib/MYLIB.lib/$1.pgm
MaxCgiJobs 50
StartCGI 20 QTMHHTP1
<Directory />
Options None
order deny,allow
deny from all
</Directory>
<Directory /www/MYLIB/htdocs>
order allow,deny
allow from all
<FilesMatch "\.html(\..+)?$">
Options +Includes
SetOutputFilter Includes
</FilesMatch>
</Directory>
<Directory /qsys.lib/MYLIB.lib>
allow from all
order allow,deny
options +ExecCGI
</Directory>
On Wed, Apr 9, 2008 at 2:15 PM, Nathan Andelin <nandelin@xxxxxxxxxxxx> wrote:
Aaron Bartell wrote:
> Could not swap to user profile qtmhhtp1.
I wonder if it could be a problem with authority:
wrkaut '/qsys.lib/QTMHHTP1.USRPRF'
Regarding the delay on the first call, that was the problem I recently
experienced with the HTTP server configuration that I downloaded from
http:/www.easy400.net.
When I use my default configuration, the delay went away.
Nathan.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.