# APACHE directives to run Mauro Benedetti applications #========================================================================= # PART 1 #========================================================================= ServerName PERUGIA ServerRoot /www/webmb2 DocumentRoot /www/webmb2 ## 11/03/2026 DirectoryIndex HTM000.PGM # Timeout generale per le richieste HTTP (in secondi) Timeout 1800 Listen 8159 CGIConvMode %%EBCDIC/EBCDIC%% CGIJobCCSID 01144 MaxCGIJobs 50 MaxThreadedCGIJobs 50 CacheLocalFile /www/webmb2/*.* #========================================================================= # PART 2 #========================================================================= ## Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec -Indexes -MultiViews Options +ExecCGI -FollowSymLinks +Includes -Indexes -MultiViews ThreadsPerChild 50 UseCanonicalName Off ## 28/11/2024 DirectoryIndex /QSYS.LIB/KLDVPM.LIB/htm000.pgm DefaultFsCCSID 01144 DefaultNetCCSID 01208 LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined ErrorLog logs/basic_error_log CustomLog logs/access_log Common LogLevel debug AccessFileName .htaccess SetEnvIf User-Agent "Mozilla/2" nokeepalive SetEnvIf User-Agent "JDK/1\.0" force-response-1.0 SetEnvIf User-Agent "Java/1\.0" force-response-1.0 SetEnvIf User-Agent "RealPlayer 4\.0" force-response-1.0 SetEnvIf User-Agent "MSIE 4\.0b2;" nokeepalive SetEnvIf User-Agent "MSIE 4\.0b2;" downgrade-1.0 SetEnvIf User-Agent "MSIE 4\.0b2;" force-response-1.0 #========================================================================= # PART 3 - Directives commented out #========================================================================= ScriptAliasMatch /KLDVPM/(.*) /qsys.lib/KLDVPM.lib/$1 ScriptAliasMatch /KLDVPM/(.*).pgm /qsys.lib/KLDVPM.lib/$1.pgm ScriptAliasMatch /KLDVPM/(.*).cgi /qsys.lib/KLDVPM.lib/$1.pgm ScriptAliasMatch (.*).pgm /QSYS.LIB/KLDVPM.lib/$1.pgm ScriptAliasMatch (.*).rpg /QSYS.LIB/KLDVPM.lib/$1.pgm Alias /img/ /www/webmb/images Alias /kldvpm/ /QSYS.LIB/KLDVPM.LIB/ order allow,deny allow from all AllowOverride None RewriteEngine Off Options +Indexes # Per accesso a directory strategi AliasMatch ^/Progetti/(.*) /Progetti/$1 order allow,deny allow from all order allow,deny allow from all # Per accesso a directory strategi AliasMatch ^/STAMPE/(.*) /STAMPE/$1 order allow,deny allow from all # Per accesso a directory strategi AliasMatch ^/Preventivi/(.*) /Preventivi/$1 order allow,deny allow from all Options None order allow,deny allow from all SetEnv QIBM_CGI_LIBRARY_LIST "QTEMP;BENEDETTI;VARACGV3;ACGPTF_380;KLDVPM;CGIDEV2;QGPL;QRPG;MMAIL;LIBHTTP;POI36" AllowOverride Limit Options #========================================================================= # PART 4- FUPLOAD directives #========================================================================= AllowOverride None Options None order allow,deny allow from all AllowOverride None Options None order allow,deny allow from all ## ## AuthType Basic ## AuthName iSeries_WEB_Access_Toolkit ## PasswdFile %%SYSTEM%% ## UserID %%CLIENT%% ## Require valid-user ##