---
title: "extrem mini-installation"
type: "forum-thread"
url: "https://www.webforum.nu/amne/webbservrar/20877-extrem-mini-installation"
topic: "Webbservrar"
topic_url: "https://www.webforum.nu/amne/webbservrar"
author: "P"
published: "2001-06-05T13:08:00.000Z"
updated: "2001-06-10T14:27:00.000Z"
replies: 9
views: 648
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/webbservrar/20877-extrem-mini-installation"
---

# extrem mini-installation

## #1 — P, 2001-06-05T13:08Z

Finns det någon liten version av Apache så att man kan köra den på Windows CE? Jag har bara ett 2 mb kort. :e

Permalänk: https://www.webforum.nu/p/20877

## #2 — emission, 2001-06-05T16:36Z

Nej, den måste inte bara var liten, den ska ju portas till WinCE också, och det har ingen gjort (ännu). 

På vissa CE-maskiner kan man slänga ut Windows och köra Linux, och då kan man nog knapra ihop en liten fungerande Apache.

Måste det vara Apache?

Permalänk: https://www.webforum.nu/p/350834

## #3 — P, 2001-06-05T18:01Z

nej absolut inte... jag är ute efter en webbserver som klarar php och kanske mysql... om detta nu är möjligt

Permalänk: https://www.webforum.nu/p/350835

## #4 — emission, 2001-06-05T19:32Z

Nej, då blev det ännu värre. Om du kan nöja dig med ASP så kan GoAhead funka. Den är, rent generellt, en väldigt trevlig server.
 [www.goaehad.com](http://www.goaehad.com)

Permalänk: https://www.webforum.nu/p/350836

## #5 — P, 2001-06-06T06:42Z

Fungerar asp på den och hur får jag in det? Är adressen [www.goahead.com?](http://www.goahead.com?) 

> How big is the code? 
> The footprint of the compiled version of the embedded server in a Windows CE environment is less than 60K of code.

Tar den bara 60k?

Permalänk: https://www.webforum.nu/p/350837

## #6 — P, 2001-06-06T17:46Z

ingen?

Permalänk: https://www.webforum.nu/p/350838

## #7 — sgtpepper, 2001-06-06T18:29Z

Ja, i startläge antar jag. Men när den börjar hantera HTTP-förfrågningar så upptar den med största sannolikhet mer minne för att hantera varje request-tråd.

Permalänk: https://www.webforum.nu/p/350839

## #8 — P, 2001-06-06T19:45Z

Jag laddade ner en zip-fil på ca 800 kb, zippade upp och gjorde som det stod i
manualen. Testade att köra servern på min windows burk och det funkade fint men nu
vill jag ha över den till windows CE. Hur gör jag.. jo !

> For Windows CE:
>
> Either of two different methods may be used to build the Windows CE
> WebServer: 
>
> Using build.bat:
>
> In the WebServer build.bat file (CE/build.bat), ensure that the "set PATH"
> statement is correct, and that both the include and library files paths are
> correct.
> Ensure that all compiler flags are set correctly.
>
> Note: You can get the correct flag settings for each processor from within
> Visual C++. Set your project to build against the target SDK. Access the
> compiler settings from the menu bar. Choose Project, Settings, and the
> C/C++ tab. The textbox labeled "Preprocessor definitions" lists the compiler
> settings. 
> Run the build.bat file. 
> Load webs.exe and your web pages on to your CE device using your normal
> procedures to transfer files to the device. The default location for the web
> pages is in the \\web directory. This can be modified in main.c. Using
> precompiled and linked pages (see WEBS_PAGE_ROM and WebCompiler
> below) make it easy to load the application and its pages to the system in
> one step. 
> Using Microsoft's C++ Visual Studio: 
>
> In Microsoft Visual C++, Visual Studio, open the workspace webs.dsw in the
> CE subdirectory.
> Set the include and library paths properly for your device. 
> Be sure the symbolic constants CE, UEMF, WEBS, and UNICODE are defined.
>
> Use the build facilities of Visual Studio to generate webs.exe. 
> Load webs.exe and your web pages on to your CE device using your normal
> procedures to transfer files to the device. The default location for the web
> pages is in the \\web directory. This can be modified in main.c. Using
> precompiled and linked pages (see WEBS_PAGE_ROM and WebCompiler
> below) make it easy to load the application and its pages to the system in
> one step. 
> Note: By default, user management and digest access are not added when
> WebServer compiles. If these features are desired, set the proper flags in
> the build.bat file.

Det är bara det att jag fattar noll av vad som menas....

Build-filen ser ut så här:

> set PATH=C:\\WINNT\\system32;D:\\Program Files\\Microsoft Visual
> Studio\\Common\\Tools\\WinNT;D:\\Program Files\\Microsoft Visual
> Studio\\Common\\MSDev98\\Bin;D:\\Program Files\\Microsoft Visual
> Studio\\Common\\Tools;D:\\Program Files\\Microsoft Visual
> Studio\\VC98\\Bin;D:\\Windows CE Tools\\wce212\\TEST1\\Lib\\x86;
>
> cl -ML -W3 -GF -D "CE" -D "WEBS" -D "UEMF" -D "\_WIN32\_" -D "OS=CE" -D
> "\_WIN32_WCE=212" -D "UNDER_CE=212" -D "x86" -D "\_i386\_" -D "i_386\_" -D
> "\_x86\_" -D "\_MBCS" -D "UNICODE" -D "\_UNICODE" -D "NATIVE64" -O2
> \-I"D:\\Windows CE Tools\\wce212\\TEST1\\Include" -c main.c wincompat.c
> ../asp.c ../balloc.c ../base64.c ../cgi.c ../default.c ../ejlex.c ../ejparse.c
> ../emfdb.c ../form.c ../h.c ../handler.c ../md5c.c ../mime.c ../misc.c
> ../page.c ../ringq.c ../rom.c ../security.c ../sock.c ../sockGen.c ../sym.c
> ../uemf.c ../um.c ../umui.c ../url.c ../value.c ../webrom.c ../webs.c
> ../websda.c ../websuemf.c
>
> link -out:webs.exe main.obj wincompat.obj asp.obj balloc.obj base64.obj
> cgi.obj default.obj ejlex.obj ejparse.obj emfdb.obj form.obj h.obj handler.obj
> md5c.obj mime.obj misc.obj page.obj ringq.obj rom.obj security.obj sock.obj
> sockGen.obj sym.obj uemf.obj um.obj umui.obj url.obj value.obj webrom.obj
> webs.obj websda.obj websuemf.obj "D:\\Windows CE
> Tools\\wce212\\TEST1\\Lib\\x86\\winsock.lib" "D:\\Windows CE
> Tools\\wce212\\TEST1\\Lib\\x86\\commctrl.lib" "D:\\Windows CE
> Tools\\wce212\\TEST1\\Lib\\x86\\corelibc.lib" "D:\\Windows CE
> Tools\\wce212\\TEST1\\Lib\\x86\\coredll.lib" /machine:IX86 /incremental:no
> \-nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib
> /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib
> /nodefaultlib /subsystem:windowsce,2.12

Någon som har tid och ork eller nån bra adress på hur man gör det så att man förstår?

Permalänk: https://www.webforum.nu/p/350840

## #9 — emission, 2001-06-10T13:17Z

GoAhead Webserver distribueras endast som källkod (förutom till vanlig Windows), så man måste ha Visual C++ för att kompilera den.

Permalänk: https://www.webforum.nu/p/350841

## #10 — P, 2001-06-10T14:27Z

ok

Permalänk: https://www.webforum.nu/p/350842

---

Tråden på webben: https://www.webforum.nu/amne/webbservrar/20877-extrem-mini-installation
