How to get Rainer Keuchels' Apache port working on an Axim X51V:
---Prerequisites:
* Download:
apache-arm-ppc-wce300-2002-10-18.tar.gz
celib-3.13-dll-bin-all-platforms.tar.gz
and unpack
apache-arm-ppc-wce300 and
wince-arm-pocket-wce300-release
somewhere.
Copy the folders to your pda.
* Get a registry editor and a good file explorer. I use:
PHM registry editor
and
Total Commander
---On your device:
* Copy celib.dll to \Windows
* Create a new root folder:
I chose to create it in the BIS.
\unix
* Create a logfile folder inside the root folder.
\unix\logs
* Copy the "apache" folder to the root folder.
The root folder now looks like this:
\unix (root)
\unix\logs (logfile folder)
\unix\apache (apache folder. Contains apache.exe and subfolders)
* Edit \unix\apache\conf\httpd.conf (this is probably easier to do on a pc)
The line:
ServerRoot "/speicherkarte/apache"
should be:
ServerRoot "/unix/apache"
The line:
ServerName jornada....
Should be:
ServerName 127.0.0.1
The line:
DocumentRoot "/speicherkarte/apache/htdocs"
Can be anything. It's the folder that contains the web page that you want to serve.
I chose (the test page):
DocumentRoot "/unix/apache/htdocs"
The line:
<Directory "/speicherkarte/apache/htdocs">
Should be the same as DocumentRoot:
<Directory "/unix/apache/htdocs">
The line:
ServerSignature On
can be left unchanged. I however changed it to Off:
ServerSignature Off
* Create a new registry key called Environment in HKEY_LOCAL_MACHINE
\\HKEY_LOCAL_MACHINE\Environment
* Create string values APACHEDIR, CELIBSTDLOGDIR inside the Environment key:
APACHEDIR = \unix\apache
CELIBSTDLOGDIR = \unix\logs
* Fire up apache.exe and look at your working web server.
With some more tweaks you can get cgi/perl working.
I've attached my httpd.conf. Unzip it to your \unix\apache\conf