the DtTvB Posted December 9, 2006 Author Share Posted December 9, 2006 Uhh, sorry that I haven't help with the code, I am too busy these days. I will try to help as much as I can. Wow, PHP, never know of this! Really cool. About the name, The AutoIt Community Web Server would be great. For the small name, what about Auws? About configging the program, what about placing a script into a site, say, config.aux? I think it would be fairly easy to do. For preventing other people to access it, I can getEnv('REMOTE_ADDR') [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
spyrorocks Posted December 9, 2006 Share Posted December 9, 2006 If someone can give me a template style for the admin panal (web-based) i can make the config thing. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
McGod Posted December 9, 2006 Share Posted December 9, 2006 If someone can give me a template style for the admin panal (web-based) i can make the config thing.Rofl, I've noticed when making these types of things, I spend like 3/4 of the time making a nice site for it, not the actual code.Is this new? [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
spyrorocks Posted December 9, 2006 Share Posted December 9, 2006 Yeah i cant do styling but i can do main code. I love web-based autoit. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
theguy0000 Posted December 9, 2006 Share Posted December 9, 2006 Yeah i cant do styling but i can do main code. I love web-based autoit.yeah you've made some real nice apps with my web-based thing...blogger, forum, guestbook..... 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 More sharing options...
spyrorocks Posted December 9, 2006 Share Posted December 9, 2006 Plus my POC scripts that i dont release. I have always had a thing for web development. Thats why i caught on when i saw your autoit gone webbased thing. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
piccaso Posted December 9, 2006 Share Posted December 9, 2006 Whats a POC Script? About web pannel... There is a sample for basic authentication somewhere in /testauth/auth.au3 or so... I got AutoForum running under the server. Neato CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
piccaso Posted December 9, 2006 Share Posted December 9, 2006 (edited) @the DtTvB did you commit an modified old version over the new one? there are several changes missing i did yesterday. they where necessary for compatibility with php's header() function... and did you know that StdoutRead() is a blocking function. do Rev.20 will hang forever if the cgi interpreter doesent output something. however. what was the purpose of your update? i see the ZZID env variables _m(), _e() and you removed the 'scite compatible' error messages for the server.conf parser (why?) and the 'reload configuration' from tray menu is gone too... edit: the reason why i ask you so many questions is because i want to merge either 19 to 20 or 20 to 19... Python 2.5 and ActivePerl 5.6.1 Worked 'out of the box'! yay ... with Rev.19 Edited December 10, 2006 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 More sharing options...
the DtTvB Posted December 10, 2006 Author Share Posted December 10, 2006 @the DtTvBdid you commit an modified old version over the new one?there are several changes missing i did yesterday.they where necessary for compatibility with php's header() function...and did you know that StdoutRead() is a blocking function.do Rev.20 will hang forever if the cgi interpreter doesent output something.however.what was the purpose of your update?i see the ZZID env variables_m(), _e()and you removed the 'scite compatible' error messages for the server.conf parser (why?)and the 'reload configuration' from tray menu is gone too... edit:the reason why i ask you so many questions is because i want to merge either 19 to 20 or 20 to 19...Python 2.5 and ActivePerl 5.6.1 Worked 'out of the box'! yay ... with Rev.19 Yes, I am sorry.I tried rev. 20 with PHP and it worked.And about CGI, I forgot about it that it waits for the output.You know that if a client doesn't set output, the environment variable won't be set,and therefore, won't be deleted. So I used ZZID to provide unique ID for each request._m displays an informational balloon message, and _e displays an error message.About reload configuration, I don't even notice that it does exists!I am also going to test perl also. [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
spyrorocks Posted December 10, 2006 Share Posted December 10, 2006 I need some basic auth functions. Someone should make some functions like the .htaccess type ones that popup asking for your username and password. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
piccaso Posted December 10, 2006 Share Posted December 10, 2006 DtTvB, thanks for reminding me to that HTTP_* issue Spyro, this already works for cgi. and there are 2 examples in public_html one for Rev19 and one for 20 I'm currently merging Rev19 & 20 in 21 there will only be one... do you know the power of .htaccess ? this wont happen overnight. but you can count on Basic Authentication CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
spyrorocks Posted December 10, 2006 Share Posted December 10, 2006 Yes i know about .htaccess. All iwa sasking is the authentication power of htaccess, not the full out htaccess features. Basic authetication would be good. something like this function maybe: auth("Relm", $username_array, $password_array, "<b>Code to show if authenitcation fails</b>") if right username/pwd is entered, it will return the username of the logged in user. if it fails, it will return 0. as for the username/password array, it would look like this: dim $username_array[4] = ['user1', 'user2', 'user3'] dim $password_array[4] = ['user1password', 'user2password', 'user3password'] i dunno something like that. it would be powerful, i guess if it was like that. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
piccaso Posted December 10, 2006 Share Posted December 10, 2006 i know what you mean, i just wanted to say that .htaccess like stuff is far awaywhat you want is not hard to do, but i'm busy on Rev21 for now.until someone has time for it you could read a bit about it if your interested... CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
spyrorocks Posted December 10, 2006 Share Posted December 10, 2006 I already know how it works. There is a base 64 encoder/decoder on this forum for when you need it to de/encode the passwords. as soon as i get a basic authentication system, i will make 2 things: 1. Admin interface for this server 2. A Interface for blocking access or only allowing acces from certin users with the authentication thing. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
the DtTvB Posted December 11, 2006 Author Share Posted December 11, 2006 (edited) Spyrorocks: I've made the basic auth already. See these two files in the repository: - public_html/base64.au3 - public_html/www-auth.aux Edited December 11, 2006 by the DtTvB [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
McGod Posted December 11, 2006 Share Posted December 11, 2006 (edited) Does POST work in lastest vers? Cuz when I add Global $POST = ConsoleRead(EnvGet("CONTENT_LENGTH")) it just hangs. I know my older version worked(self-brew), but its alot slower. Aswell do cookies work? Edited December 11, 2006 by Chip [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
the DtTvB Posted December 11, 2006 Author Share Posted December 11, 2006 Darn, darn, darn, I can't use the server on my PC, as the program keeps changing Cr to CrCr. Anyway I can still telnet to it. [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
piccaso Posted December 11, 2006 Share Posted December 11, 2006 Does POST work in lastest vers? Cuz when I add Global $POST = ConsoleRead(EnvGet("CONTENT_LENGTH")) oÝ÷ Ú+cºËajx,"IèÂl¨×«½êìð¢¹vÇ¥}ºÞÁ»Ûl¬0zY]¡Ê('¬Âäþ«¨µé¨²× Ën}ü(®K'£§r[x¢"zȶØ^ê®zË[¡Ü«pk&®¶sdvÆö&Âb33cµõ5B¢bVçdvWBgV÷C´4ôåDTåEôÄTäuDgV÷C²fwC²FVà b33cµõ5BÒ6öç6öÆU&VBVçdvWBgV÷C´4ôåDTåEôÄTäuDgV÷C²¢VæD ConsoleRead("") or ConsoleRead(0) just hangs, but that's autoit specific. i don't have problems like this, can you be a bit more specific? but this shouldn't be a problem with html... CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
piccaso Posted December 11, 2006 Share Posted December 11, 2006 did you know...HTTPS is possible with Stunnelbut you need to configure it.there is a commented section in stunnel.confjust uncomment it and change connect = <nr> to the port your server runsand start stunnel[https] accept = 443 connect = 80 TIMEOUTclose = 0you may want to use your own certificate if you want to go publicbut there is a certificate supplied which suits fine for testing just tested with stunnel 4.20, works like a charm CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
the DtTvB Posted December 12, 2006 Author Share Posted December 12, 2006 Yeah, I know. Ummm, there are not any problem with HTML, but it makes an error with CGI scripts. Testcase: ConsoleWrite(@CrLf); Expected: 10 13 Output: 10 10 13 [right]Please visit: My biggest project, the DtTvB's AutoIt Web ServerOlder Stuff: A Smoother MouseMove :: AutoIt Syntax Highlighter[/right] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now