home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
sokwatch.zip
/
apache.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
2002-01-30
|
445b
|
16 lines
/* REXX batch for starting apache */
/* The type is either 'normal' or 'ssl' */
type='ssl'
if type='ssl' then switch = '-D SSL'
else switch = ''
'E:'
'cd \os2httpd'
emxopt = value('EMXOPT',,'OS2ENVIRONMENT')
if pos('-!', emxopt)=0 then 'SET EMXOPT=' || emxopt '-!0x800'
'SET TELNET.PASSWORD.ID='
'SET PASSWD='
'del logs\ssl_* >nul 2>&1'
'copy .' || type || '\*'
'E:\OS2HTTPD\HTTPD.EXE -fE:/os2httpd/conf/httpd-hroch.conf' switch