
Apache V. 1.3.1 Released
|
Apache v1.3.1 web
server has just been released and there's an OS/2 version available at:
http://www.apache.org/dist/binaries/os2/apache_1.3.1-os2.zip
Apache has been the most popular web server on the Internet
since April of 1996. The June 1998 WWW server site survey by Netcraft found that
over 53% of the web sites on the Internet are using Apache and its derivatives --
thus making it more widely used than all other web servers combined.
The Apache web site is:
http://www.apache.org/
How To Install Apache Server
======================
by Luc De Pourcq, Team OS/2 - Belgium
(luc.de.pourcq@skynet.be)
Now we will try to configure your PC
to
use OS/2 Apache.
First thing is to determine your TCP/IP Config in
OS/2 config folder on your desktop. If you have a domaine name you must have the
same IP adress on your PC.
If you haven't a DNS Server (for your network), you must specify a
configuration without DNS Server in "HOST NAME". Specify your IP adress
in this box and add a name like SERVER.MACARLO.COM and
as alias all your domain names : WWW.MACARLO.COM
WWW.NEXT.COM ... Check box
"lockup HOST before DNS name server". After that get out and save.
It's all what you need in config. Sorry if names specifications aren't like English
but my system run in french language.
Now you must unzip contains of Apache on a directory called
"OS2HTTPD" on drive C. It's not an obligation but it's more easy.
1. You must have "Emx 0.9c" with FIX 03 installed on your system. This
program needed as runtime for Apache.
2. In directory "OS2HTTOD/CONF" you found 4 files provide as
default. Copy all this files in same directory with another suffixe (ie : xxx-dist).
3. Edit file named "HTTPD.CONF" in this directory. At the end of this
file add this lines :
<VirtualHost www.macarlo.com>
ServerAdmin maca@macarlo.com
DocumentRoot d:/web
ServerName www.macarlo.com
ErrorLog logs/www.macarlo.com-error.log
TransferLog logs/www.macarlo-access.log
</VirtualHost>
Put your web site on other drive to secure ftp server to put/retrieve
documents from C drive (ie d:/web).
If you have more than one domain name repeat this operation for each domain.
Don't forget to make a little program to clear logs files when you start your PC
(see my startup.cmd file as attachement) otherwize this files will grow very fast.
If you need proxy for intranet or as gateway you can specify in this
file:
CacheRoot /os2httpd/proxy
CacheSize 20000
CacheGcInterval 12
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
CacheDirLevels 0
CacheDirLevels must be set to 0 instead of 3. Other program will
generated errors when clear files.
4. in "ACCESS.CONF" file you must change this line :
<Directory D:/web>
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
</Directory>
Allow access to this directory for browsers.
<Directory e:/web/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>
Allow programs & scripts execution from only this directory ! be
carreful to deny access for ftp send/receive !!!
You can put a counter program for web page. I have found a very nice which runs
fine. I put it as attachement. Easy to configure for
running.
5. in "SRM.CONF" :
DocumentRoot D:/WEB
# For ftp send/receive
UserDir D:/WEB/DOWNLOAD
#document to load when not specified
DirectoryIndex index.html
Hope that this informations will help you to configure a very powerfull platform
and how more stable than Windoze fucking programs...
@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited
[TOP]
[HOME] [INDEX]