× 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.



I am using virtual hosting and have a couple questions. We are trying to
combine a couple instances and are having problems. I copied the config from
one instance and modified from there. I have moved some things around. The
full config is listed below. Any ideas or suggestions for my questions would
be appreciated.

1) How do I secure one of the sites not all of them? This works for all of
the sites.
Protection SignOn {
     PasswdFile    QGPL/LAWSON
     ACLOverride   Off
     AuthType      BASIC
     ServerID      As400t
     UserID        LAWSON7
     Mask          all@(*)
}
Protect /* SignOn

2) It takes forever before I can hit the server after I start it. I would
say 5 - 10 mins. What could cause this? There are several EXEC statements
attached to one of the domains in the config.


#    AS/400 Internet Connection Server Configuration
# * * * * * * * * * * * * * * * * * * * * * * * * * * *
# * * * LAWSON CONFIGURATION * * * * * * * * * * * *
#------------------------------------------------------
HostName 172.25.4.41 Port 80 Bindspecific On
Welcome /LAW7/web/lawson/office/index.html
myoffice.tc.inet
Welcome /www/as400t/index.html
as400t.tc.inet
Welcome index.html
#-----------------------------------------------------
   Enable GET Enable HEAD Enable HOST
#------------------------------------------------------
#------------------------------------------------------
AccessLog /log/main/mainError
ErrorLog /log/main/mainError
LogFormat          COMMON
LogTime            LocalTime
#------------------------------------------------------
#------------------------------------------------------
   InputTimeOut              2 mins
   OutputTimeOut             20 mins
   ScriptTimeOut             5 mins
#------------------------------------------------------
SuffixCaseSense Off
#----------------------------------
Protection SignOn {
     PasswdFile    QGPL/LAWSON
     ACLOverride   Off
     AuthType      BASIC
     ServerID      As400t
     UserID        LAWSON7
     Mask          all@(*)
}
Protect /* SignOn

DirAccess  On

Exec /cgi-lawson/del-save.pgm* /LAW7/web/cgi-lawson/del-save.pgm*
myoffice.tc.inet
Exec /cgi-lawson/del-save.exe* /LAW7/web/cgi-lawson/del-save.pgm*
myoffice.tc.inet
Exec /cgi-lawson/del-save* /LAW7/web/cgi-lawson/del-save.pgm*
myoffice.tc.inet
Exec /cgi-lawson/redirectusr.pgm* /LAW7/web/cgi-lawson/redirectusr.pgm*
myoffice.tc.inet
Exec /cgi-lawson/redirectusr.exe* /LAW7/web/cgi-lawson/redirectusr.pgm*
myoffice.tc.inet
Exec /cgi-lawson/redirectusr* /LAW7/web/cgi-lawson/redirectusr.pgm*
myoffice.tc.inet
Exec /cgi-lawson/textgif.pgm* /LAW7/web/cgi-lawson/textgif.pgm*
myoffice.tc.inet
Exec /cgi-lawson/textgif.exe* /LAW7/web/cgi-lawson/textgif.pgm*
myoffice.tc.inet
Exec /cgi-lawson/textgif* /LAW7/web/cgi-lawson/textgif.pgm*
myoffice.tc.inet
Exec /cgi-lawson/logansrch.pgm* /LAW7/web/cgi-lawson/logansrch.pgm*
myoffice.tc.inet
Exec /cgi-lawson/logansrch.exe* /LAW7/web/cgi-lawson/logansrch.pgm*
myoffice.tc.inet
Exec /cgi-lawson/logansrch* /LAW7/web/cgi-lawson/logansrch.pgm*
myoffice.tc.inet
Exec /cgi-lawson/*.exe/ /LAW7/web/cgi-lawson/*.pgm
myoffice.tc.inet
Exec /cgi-lawson/*.exe /LAW7/web/cgi-lawson/*.pgm
myoffice.tc.inet
Exec /cgi-lawson/*.pgm /LAW7/web/cgi-lawson/*.pgm
myoffice.tc.inet
Exec /cgi-lawson/* /LAW7/web/cgi-lawson/*.pgm
myoffice.tc.inet
Exec /cgi-bin/* /LAW7/web/cgi-lawson/*
myoffice.tc.inet

Pass /lawson/* /LAW7/web/lawson/*           myoffice.tc.inet
Pass /forms/* /LAW7/web/forms/*             myoffice.tc.inet
Pass /help/* /LAW7/web/help/*               myoffice.tc.inet
Pass / /LAW7/web/lawson/office/index.html   myoffice.tc.inet
Pass /printfiles/* /LAW7/lawson/print/*     myoffice.tc.inet
Pass /reports/* /LAW7/TCreports/*           myoffice.tc.inet
Pass */reports/* */LAW7/TCreports/*          myoffice.tc.inet
Pass *reports/* */LAW7/TCreports/*          myoffice.tc.inet
Pass /pldist/* /pldist/*                    myoffice.tc.inet
Pass /lawpdf/* /lawpdf/*                    myoffice.tc.inet
Pass /* /www/as400t/*                       as400t.tc.inet
Pass /* /www/main/*

AddType .htm       text/html  8bit 1.0
AddType .gif       image/gif  binary 1.0
AddType .class     application/octet-stream
AddType .js        application/x-javascript


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.