It' s been a long time since I found what I was looking for.
We all know the existance of the AuCGI Handler created by "theguy0000".
Which makes AU3 a nice scripting tool, enabling you to make webpages using existing AU3 scripts + HTML.
Between 2006 and now I was still looking for a webserver that could work together well with this CGI handler.
And of cource would be a good marriage with AU3.
I have tested several webservers. But either they could not start the AuCGI Handler, or the where to skinny, or the heavy, or ...
I have tested IIS, APACHE, ABYSS? sHTTPD, TINY Webserver etc.
And I found what I was looking for in the LightTD webserver.
OK it's not that I am on a diet or so, always bringing up "light" stuff. But it is accidently the better software that goes with AU3.
(Only the best is good enough for AU3 !!).
What is LightTD? (pronounce lighty).
And this is only a limited description of what it has to offer. It has been adopted by famous sites.Security, speed, compliance, and flexibility -- all of these describe lighttpd which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems. And best of all it's Open Source
- LightTD is running on Windows and Linux.lighttpd powers several popular Web 2.0 sites like YouTube, wikipedia and meebo. Its high speed io-infrastructure allows them to scale several times better with the same hardware than with alternative web-servers.
- It does not need to be installed (runs as standalone EXE)
- Runs even from a thumb drive if needed.
- Easy configurable.
- Fast (faster than Apache it seems !!)
- SSL
- Optimized for FLV streaming
- ...
Where can you find it ?
Look here to download : LightTD for Windows
How to use it withAU3 ?
1. After downloading it, extact it. And put in you C:drive. Like this : C:LightTPD.
2. Create and extra folder in C:LightTPD called AU3. like this C:LightTPDau3.
3. Copy the CGI Handler in there C:LightTPDau3AuCGI.exe
4. Replace the Config file in the C:LightTPDConf folder with this one
lighttpd_inc.zip 3.55K
568 downloads5. Put these test files in the root folder of the webserver C:LightTPDhtdocs
htdocs.zip 1.53K
602 downloads6. Use this command to start it. Put it in a start.bat file.
@ECHO OFF ECHO LightTPD Start mode (with log) ECHO Press 'CTRL + C' to exit. ECHO. ECHO LightTPD Output: ECHO ---------------- cd C:LightTPD START /B lighttpd.exe -f conflighttpd-inc.conf -m lib
7. Don't close the CMD window because this is where you will see ERRORS appear when started.
The config file also expects you to have PHP installed in C:Program FilesPHP.
If not you will to blank out some lines in the Config file.
I have tested and it runs like a charm, using AU3 and PHP at the same time.
FAQ's
Enjoy !!Q1.How do I show that it is working?
A. you have to create a Start.bat file with, the command in it, explained in step 6.
Q2. What can I run on it?
A. Once it is started you have a webserver running that can be accessed by any browser
Once it runs it shows a black CMD window with the status of the webserver.
Q3. How do I set something up to see?
A. Go to http://localhost:8080/index.html
A. Or try http://localhost:8080/index.au3
Q4. How do I connect to it from local machine?
A. see Q 3.
Q5. How do I connect to it from other machine?
A. See 2 -> http://IPADDRESS_OF_YOUR_MACHJINE:8080/index.html
Q6. How do I connect to it from other location?
A. See Q 5.
Q7. Are there any example scripts to show?
A. Yes, See step 5 of the explanation.
ptrex
Edited by ptrex, 14 September 2012 - 09:26 AM.






