This release contains everything you need to compile and run the GoAhead WebServer under WindRiver VxWorks, Windows 95, 98, NT, and CE, LynxOS, LINUX and QNX. More supported platforms will be included with each release. Before trying to build GoAhead WebServer make sure you have the most recent version by checking http://www.goahead.com/webserver.
Each supported platform has an operating system sub-directory, which includes a Makefile for building and a main program for invoking and initializing the GoAhead WebServer. To build and run the GoAhead WebServer, change to the relevant operating system directory and use make to initiate the build. Individual instructions for each operating system are provided below.
If you do not want GoAhead WebServer to use the default settings and configuration, you will need to modify the Makefile and main program file (main.c) for your operating system before compiling. See Configuring GoAhead WebServer for more information.
cd VXW486 make
Load webs.o onto the target system and use standard VxWorks procedures to load the program into memory and execute it.
cd WIN nmake /f webs.mak webs
To stop the web server, right click on the taskbar icon for the GoAhead GoAhead WebServer and select "Close".
cd WIN setpath ( NOTE: Users of Visual Studio 6.0 may not need to use this command to set their environment path. ) nmake /f webs.mak webs
To stop the web server, right click on the taskbar icon for the GoAhead GoAhead WebServer and select "Close".
NOTE FOR USERS OF MICROSOFT VISUAL C++
If you get the following Setup Environment Variables message after installing Visual C++, follow the instructions below BEFORE building and running GoAhead GoAhead WebServer.
"For your convenience, the environment variables required to run build tools from a command prompt are saved in the VCVARS32.BAT file in your BIN directory."
Instructions:
- Copy the VCVARS32.BAT file to your root directory (usually C:\).
- Add the file's path name to your AUTOEXEC.BAT file.
- Reboot your System.
In Microsoft Visual C++ DeviceStudio open the workspace webs.dsw in the CE sub-directory. Set the include and library paths properly for your device. Be sure the symbolic constants CE, UEMF, and UNICODE are defined. Use the build facilities of DeviceStudio to generate webs.exe. Load webs.exe and your web pages on to your CE device using your normal procedures to transfer file to the device. The default location for the web pages is in the \web directory. This can be modified in main.c. Using pre-compiled 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.
CD LINUX make su ;# As super user webs
CD LYNX make su ;# As super user webs
CD QNX4 make su ;# As super user webs
To access the GoAhead WebServer home page, point your browser to "http://hostname", assuming you are running on port 80, or to "http://localhost", if you are running the browser on the same system as the server. The server's default home page is "home.asp".