Jump to content

the DtTvB's AutoIt Web Server


the DtTvB
 Share

Recommended Posts

  • Replies 171
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

D-Generation X: What do you mean? "In site advisor, your site shows up as red."

I use No-IP with Yi.org.

Server 1.1 is released! Please check the first post.

Edited by the DtTvB
Link to comment
Share on other sites

$listenIP should always be @IPAdress1....correct?

That worked for me, and I've seen it like that on other servers, too.

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

D-Generation X: What do you mean? "In site advisor, your site shows up as red."

I use No-IP with Yi.org.

There is a FireFox extension called McAFee SiteAdvisor. It crawls around the web and tells you how safe sites are.

Say look up in google for goggle.com: It will tell you the site is pure evil and breaches browser security. (DO NOT GO TO GOGGLE.COM)

If you look up your site, it says it links to sites that breach browser security, but it only shows the ending part of your domain (Ex, Co.nr, It.ts, ect)

Link to comment
Share on other sites

OK, here is my version with soem edits.

here are the following added features ontop of v1.1:

1. Directory Listing

if you dont have a index file, it will list the fiels and folders in the directory.

2. Autoit Syntax Highlighting

When the server trys to serve a .au3 file, it will first highlight all the text (like scite) then output it. Looks a lot nicer!

3. AutoIt Pre-Processor

You can (optionally) set up the webserver to pre-process specifyed extentions of autoit scripts, like Abyss webserver. It even has a (optional) protection mode that will try to prevent people from executing functions that could be damagaing to the server. Simply set a few variables in server.au3 and it will preprocess all the specified file extentions as autoit scripts.

Download: webserver_directory_listing___autoit_preprocessor___autoit_syxtax_highliting.zip

Link to comment
Share on other sites

Thank you very much, Spyrorocks.

;)The next thing then..

  • The file listing page should be in a file, like, list.html.
  • In preprocessor, stop outputting the header (in order to comply with web.au3)
  • As I said in the To-Dos.
  • Make the code look easier. As the code get longer, it gets harder to read.
Spyrorocks' code will be included in this script! Thank you very much.
Link to comment
Share on other sites

i finished that load balancer i was talking about yesterday...

edit: *snip*, pn me if you need it

How to use it:

Setup port and bind adress in Loadbalancer.au3

start some servers on different ports

the modified server.au3 will notify the load balancer

its based on 1.1, if you like it i'll merge it into your next release

how about using HTTP/1.0 For now because none of the 1.1 specific featured are present?

Edited by piccaso
CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
Link to comment
Share on other sites

how about using HTTP/1.0 For now because none of the 1.1 specific featured are present?

I don't think it's a good idea, because most application uses HTTP/1.1, because the parameter "Host:" is required in HTTP/1.1.

But making backwards compatibility is good idea through.

$listenIP should always be @IPAdress1....correct?

Uhh, I see many servers use 0.0.0.0, because it aceepts ALL connections.

DTTVB you should update the first post.

It's not ready yet, I will post some updates later.

are you guys familiar with svn?

how about https://opensvn.csie.org/?

If you mean Subversion, no.

I don't know how to use it.

Edited by the DtTvB
Link to comment
Share on other sites

Looks really good guys but with the listing file. is that supposed to list the directory that its in? how does that work?

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

Version 1.2 is released! Check the first post..

piccaso: Thank you very much, please port the load balancer if you wanted to.

Spyrorocks: I included your script, and I made an interface for file listing, based on the default theme. Based on www.CyberZeroCool.com's request, I made a link to the parent directory that works better. I didn't include syntax highlighter, as it is slow.

Everyone: Thank you for your comments!

;)Something to do if you boring :lmao:

This is a game I made, it improves my typing speed a lot. Note that words are not case sensitive.

Edited by the DtTvB
Link to comment
Share on other sites

Impressive, DtTvB !

I've been working on a web server too, based on the version Thatsgreat2345 just pointed at.

But I found your web server easier to understand and modify.

May I suggest a small modification :

Global $preprocessor_path       = @AutoItExe ; Path to autoit3 executeable to preprocess autoit files with.oÝ÷ Ù8b³²Ê¢}ý¶¯zÚv+më®÷«jíßW£*.q©ÚuÛ(ëax%G¡µ§zË=§zË¢{k¢RØ­¶¬Á¬ºÚ"µÍÛØ[ ÌÍÐXØÙH[TXY
    ÌÍÒSK    ][ÝÓ]ÛÜÉ][ÝË ][ÝØXØÙ ][ÝË  ][ÝÌ  ][ÝÊBÌÍÐXØÙHÝ[ÔÜ]
    ÌÍÐXØÙ ][ÝË  ][ÝÊoÝ÷ Ù8b²+-ã^·
+Ƕ*'¡ù²xW¡×½Ô×­Âä÷yb²×§

_IPInRange can be found here :

http://www.autoitscript.com/forum/index.php?showtopic=36061

A good idea too, is to use a .ini file for basic settings (port, document_root, preprocessor enabled or not...)

If the .ini file doesn't exist, the script should create it with default values or ask for them.

I hope this will help ;)

Apzo.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...