pi3web-users Mailing List for Pi3Web (Page 4)
Brought to you by:
zimpel
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(10) |
Feb
(8) |
Mar
|
Apr
(1) |
May
(3) |
Jun
(7) |
Jul
(2) |
Aug
|
Sep
(11) |
Oct
(7) |
Nov
|
Dec
(2) |
2003 |
Jan
|
Feb
|
Mar
|
Apr
(15) |
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(5) |
Dec
|
2004 |
Jan
|
Feb
(9) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
(8) |
Oct
(4) |
Nov
(1) |
Dec
(1) |
2006 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(4) |
Sep
(2) |
Oct
(7) |
Nov
(1) |
Dec
|
From: <zi...@t-...> - 2002-05-25 07:58:00
|
Hi, I got some questions regarding CGI execution via email and assume, the answers are of general interest for the subscribers of this list: 1.) Q: 500 Internal Server Error, when I tryo to execute a CGI. What's wrong? ======================================================================== The details of the error are: "The server encountered an internal error while processing this request. The following error messages were logged during this request: [Sat May 25 01:48:15 2002 GMT] CGI: error executing CGI program system specific error code is '2'. [Sat May 25 01:48:15 2002 GMT] CGI: DoExecCGIChild() failed. Error code is 2. Start of command line is 'perl C:\Pi3Web\Cgi-Bin\test.cgi '." A: The Win32 error no.2 means: The system cannot find the file specified. The perl program is necessary to run the CGI script but can't be found. Since perl is invoked without path, I assume, perl.exe isn't in your search path. So either - add perl.exe to the path - or - - change the command line in the Pi3Web configuration into an absolute path to perl.exe: Search in the Pi3Web configuration file (Config.pi3) for line CommandLineByExt .cgi="perl %p%q" (within StandardCGI object) and change it accordingly, e.g.: CommandLineByExt .cgi="c:\\Program files\\perl\\bin\\perl %p%q" Consider the double backslash '\\' as path delimiter, because the backslash is used for escape characters, as in character strings in the C programing language. 2.) Q: I ported a perl CGI script from Unix to Win32 but it won't work. The program calls a subroutine using the perl exec() function: ======================================================================= if ($function1 =~ "rebar"){ exec "/home/foo/cgi-bin/bar.cgi $CustomerNo";} Is a special command format needed to call common routines from CGI files when using Pi3Web on Windows? A: No. The reason is: On Unix, the shell is using the 'slashbang' line at the top of a script, e.g. "#!/usr/bin/perl", in order to execute the script using the perl interpreter. On Windows this 'slashbang' line is ignored, thus the above call of exec() will fail. But an application can be associated with file extension .cgi in order to execute the script from the command line without explicitely typing the executable program. The other way is, to invoke perl explicitely with the script name as a parameter. A path must be given as a prefix, if perl.exe can't be found in the search path: if ($function1 =~ "rebar"){ exec "perl /home/foo/cgi-bin/bar.cgi $CustomerNo";} So finally, the solution is very similar to 1.) Hint: Pi3Web 1.03 doesn't support CGI execution by associated file extensions, but Pi3Web 2.0 does. For the interested in web server security: ========================================= What is the disadvantage of using exec() to invoke a CGI program directly from another CGI instead of trigger a redirection of the client to the other program by sending the appropriate response? For the interested in perl CGI programing: ========================================= What is the disadvantage of using exec() instead of using perl language constructs like 'do', 'eval' or 'use' in order to include the code from an external file as a subroutine or a perl module. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <zi...@t-...> - 2002-05-18 13:10:26
|
Hi Liron, a few topics to be checked by you: - Did you install ActivePerl 5.61? - Did you unpack the p3plib package properly into your perl installation path? The pi3.pm e.g. is expected in [perldir]\lib, where [perldir] is the perl installation path on your system. - To add the Pi3Perl.cnf to the config is only the half way. You need at least a mapping, which tags the request, if the URI is related to Pi3Perl or PSP, in order to be executed by the appropriate handler object. And the handler object itself must be invoked somewhere. This is certainly not enough to know exactly what to do. But there's a more comprehensive description about the configuration available from here: http://pi3web.sourceforge.net/support/howto/EmbedPerl.html - Furthermore you can use the sample configuration, which comes with the Pi3Perl package, this is installed in [pi3dir]\Conf\Pi3Perl.pi3, where [pi3dir] is the Pi3Web installation path, normally c:\Pi3Web. You can start Pi3Web with this configuration as follows from the command prompt: > c: > cd \Pi3Web\bin > Pi3 ../Conf/Pi3Perl.pi3 Hope this helps to go ahead. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- Liron Newman schrieb: > > Hello everybody, > > I installed Pi3Perl expecting to use PSP, but no matter what I did it > just didn't work. I added the "include ../Conf/Pi3Perl.cnf" line to my > Configfile, but it still didn't work - In the CGI directory I get a 500 > error because the server can't execute the file, and in the wwwroot dir > I just get the file as is... > > What could I have missed? > > _______________________________________________________________ > Hundreds of nodes, one monster rendering program. > Now that's a super model! Visit http://clustering.foundries.sf.net/ > > _______________________________________________ > Pi3web-users mailing list > Pi3...@li... > https://lists.sourceforge.net/lists/listinfo/pi3web-users |
From: Liron N. <pla...@ul...> - 2002-05-18 09:30:51
|
Hello everybody, I installed Pi3Perl expecting to use PSP, but no matter what I did it just didn't work. I added the "include ../Conf/Pi3Perl.cnf" line to my Configfile, but it still didn't work - In the CGI directory I get a 500 error because the server can't execute the file, and in the wwwroot dir I just get the file as is... What could I have missed? |
From: <zi...@t-...> - 2002-04-21 19:43:58
|
Hello, maybe you already became aware of the Pi3XSLT development, an embedded XSLT engine for 'on the fly' stylesheet transformations based on libxslt and libxml2 (http://xmlsoft.org). I updated the preview release today. The main features are: - supported input markup is XML, HTML or docbook SGML - HTTP request variables are available as global stylesheet parameters - supports POST requests by converting form data into generic XML markup - supports embedded stylesheet syntax - access control for external net and file entities - widely configurable Please don't hestitate to send me comments, bug reports or enhancements. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <le...@ho...> - 2002-02-27 05:27:25
|
Hi I want to have more information about how Pi3Web supports Perl and how = does Pi3Perl exactly works on Pi3Web if Pi3Web already came with Perl = compatibility... Thanks. le...@ho... |
From: <zi...@t-...> - 2002-02-24 19:20:08
|
Hi, I got some questions regarding PHP4 via direct mail and assume, the answers are of general interest: 1.) Do I have to install PHP 4 in order to have PHP 4.0 Support for Pi3Web/2.0.0? No, you don't need to install PHP to run it with Pi3Web because Pi3Web comes with a PHP4 (4.0.5) as a server module. This is faster as the CGI-version, which can be used anyway, if you want. Simply start the server from the command line using the 'featured' configuration (assuming you are on Windows): c: cd \Pi3Web\bin Pi3 ../Conf/Features.pi3 You've to stop a running Pi3Web (NT service or with the admin GUI) before you do this. Then try out the PHP test scripts at, e.g. http://localhost/pidocs/Features/#php4. Look into the server configuration Features.pi3 and add additional URL mapping, if you want to run your PHP applications installed in another folder. You may change the PHP.ini in the .\Pi3Web\bin directory in order to configure PHP for your purposes. Further help is available from here: http://pi3web.sourceforge.net/support/howto/PHP3.html 2.) The following PHP4 code doesn't work on pi3web: $IP = getenv('REMOTE_ADDR'); What's wrong? There's a bug in the current PHP wrapper, which causes only 'non-CGI' server variables to appear in PHP. This is fixed and the fix will be available within the final relase version. Server variables will be issued by the array $HTTP_SERVER_VARS but not by the environment, as in CGI. Use $IP = $HTTP_SERVER_VARS['REMOTE_ADDR']; instead of the above PHP script snipplet. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <zi...@t-...> - 2002-02-18 06:07:55
|
Hi all, I wanted to ask you, if there's somebody, who wants to help me to bring out the final 2.00 release? I need some testing support primarily on Windows and Linux. I could prepare a Windows package immediately and a Linux package until end of this week. The current release notes of the 2.00 release candidate are: Release Notes for Pi3Web 2.0.0r 02/2002 ======================================= This major release contains all features and bugfixes as described for the beta versions. The diff to the beta 2 is: - ISAPI and ISAPIFLT handler have dynamic configurable server variables now - ISAPIFLT forces system logon on Windows NT/2000/XP - Fixed ASP configuration, to run ASP also from "#exec virtual" SSI directives - Directory index can optional tag files newer than a threshold date, e.g. by an <IMG src="/icons/new.gif"> tag - Fixed a bug with chunked transfer-encoding, which resulted strange behaviour with SSI in HTTP/1.1. - Revised the WinCGI handler completely - configuration parameters "EnvironmentSize" and "IncludeParentsEnvironment" were removed, most sections are supported now, remaining incompatibilities are unsupported SELECT MULTIPLE form fields and the [Form File] section - Completed API documentation - Problem with malicious requests in CGI handler on Windows fixed - Fixed a bug in the IOBuffer, which prevented PIIOBuffer_getLine() from reading lines into buffer longer than the input buffer - FCGI handler does process large response from FCGI applications now - PHP4 issue with header() function and redirects solved - Server port is now reported correctly to logic handlers, changed configuration variable "LocalPortVariable STRING:ServerPort" into "ServerPortVariable RFC822:ServerPort" -- Thanks in advance Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <st...@ho...> - 2002-02-14 10:23:49
|
Hello, I am running Pi3Web Server on WinXP. 1) When I try to run a Perl-Script that I put into the folder C:\Program Files\Pi3Web\WebRoot\cgi-bin\ from within a HTML form I get the 404 error. Also other files that I put in the cgi-bin folder aren't found. 2) When I type 'http://localhost in my IE6 I get the 404 error. If you could help me to fix these two problems, I would be thankful regards Stephan Wölfel |
From: <zi...@t-...> - 2002-02-05 21:11:54
|
Hi there, I got some questions via direct mail and assume, the answers are of general interest: Q: I installed a Perl-CGI based application. The static HTML sites are shown, but invocation of a CGI causes an "403 Forbidden" status code. What goes wrong? A: Your CGI application is probably installed in a sub-directory of .\Pi3Web\Cgi-Bin\. You don't have directory browsing permissions here per default, which causes the 403 error correctly. To fix this add an additional CGI mapping to the configuration either with the admin GUI - Type: CGI From: /cgi-bin/mycgiapp/ To: Cgi-Bin\MyCgiApp\ Realm: none or edit in .\Pi3Web\Config.pi3 - Mapping CGIMapper From="/cgi-bin/yabb" To="Cgi-Bin\yabb\" Important (to be considered for both GUI or editor usage): - Don't forget to add the trailing "\" to the physical path - The conbfiguration line with this mapping has to be placed above the 'standard' CGI mapping, which is Mapping CGIMapper From="/cgi-bin/" To="Cgi-Bin\" If the CGI application is deployed into more than one sub-folder, you need accordingly additional CGI mappings. If the location of the CGI's is arbitrary, you can also simply move the scripts to .Pi3Web\Cgi-Bin\. Probably you've to adapt some URL-configuration of the CGI program inside your scripts or the HTML pages for it. Q: I want to execute CGI programs from anywhere within .\Pi3Web\WebRoot, not only from .Pi3Web\Cgi-Bin\. How can I achieve this? A: The solution is a bit tricky deal with the configuration: 1.) Stop server 2.) Make backup copy of .\Pi3Web\Config.pi3 3.) Open .\Pi3Web\Config.pi3 with a text editor 4.) Search in the "Default" handler for the following line: Handle Condition="&and(¬(&dblookup(response,string,ObjectMap)),\ ¬(®exp('internal/*',$c)))" SendFile 5.) Insert the following line before it: Handle Condition="&or(&cmp($c,text/x-perl),&and(&cmp($c,application/octet-stream),\ ®exp('*.exe',$z)))" CGIScripts 6.) Insert a new handler object named 'CGIScripts': <Object> Name CGIScripts Class FlexibleHandlerClass CheckPath RefuseFileByMask AllowFileMask="EFD" RefuseStatus=404 CheckPath RefuseFileByMask AllowFileMask="F" RefuseStatus=403 CheckPath ReturnCode ReturnCode=COMPLETED CheckAccess AccessByFile RequirePermissions="X" CheckType ReturnCode ReturnCode=COMPLETED Handle Condition="&dbreplace(response,rfc822,Content-Type,'')" StandardCGI </Object> 7.) Save .\Pi3Web\Config.pi3 8.) Restart server All path mappings, which are dispatched to the "Default handler" consider .cgi, .exe and .pl files as CGI scripts from now on. If this configuration doesn't work as expected, check, if mime-mappings exist for the following extensions (either in .\Pi3Web\Config.pi3 or with the admin GUI): AddMIMEEntry "cgi text/x-perl" AddMIMEEntry "exe application/octet-stream" AddMIMEEntry "pl text/x-perl" Only for the interested: What is the meaning of: Condition="&dbreplace(response,rfc822,Content-Type,'')" Some lines above the default handler applies a mime-mapping. This is accordingly to the file extension and will send back a Content-Type of e.g. "text/x-perl". This will cause some browsers to show a download-box. The applied mime type is reset by this expression and now taken correctly from the CGI output, which is normally "text/html". Have fun! -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <zi...@t-...> - 2002-02-04 21:46:05
|
Hi Frank, Where is the YaBB.pl installed? What Win32 system do you use (Win 95/98/ME or WinNT/2000/XP)? The 403 HTTP status code could also be raised by the YaBB program itself. You can test it in the following way: - stop the server - open Pi3Web\Config.pi3 - search for "debug" - remove comment ('#' from line) - save Config.pi3 - restart the server - execute a request - stop server - read the file Pi3Web\Logs\Debug.txt This is always helpful for web application debugging profiling. If you don't know, how to interpret the log, drop me a mail with the attached file. Did you change the configuration (e.g. path mappings)? If yes, send me also the file Pi3Web\Config.pi3. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- > Frank Akagi schrieb: > > Dear Sir or Madam, > > I have trouble wihit your Serversoftware. > > > My Problem is, that I dont can run YaBB. I habe a Windowws 32 System ... My Homepage and so on is Hostet on my own PC. > the HTML Documents Show your Server Corectly (i mean the paths and so). But my Problem is, that my browser give me a > errormassage, when i want to test the YaBB board (is a Pearl Board). Massag 403, he don't give access to the YaBB.pl. > I use Active Perl. > I gues the Problem is, that i don't can confic the Server Corectly. So i neet a littel bit Help please. > I have install the Server Software to drve C:\ ... my Active Pearl ist Install to D:\. I hope you can help me, your > server-software is very good. thanks. > > Yours sincerly, > > Frank Akagi |
From: Frank A. <mas...@gm...> - 2002-02-03 19:53:20
|
Dear Sir or Madam, I have trouble wihit your Serversoftware. My Problem is, that I dont can run YaBB. I habe a Windowws 32 System ... = My Homepage and so on is Hostet on my own PC. the HTML Documents Show = your Server Corectly (i mean the paths and so). But my Problem is, that = my browser give me a errormassage, when i want to test the YaBB board = (is a Pearl Board). Massag 403, he don't give access to the YaBB.pl. I = use Active Perl. I gues the Problem is, that i don't can confic the Server Corectly. So i = neet a littel bit Help please. I have install the Server Software to drve C:\ ... my Active Pearl ist = Install to D:\. I hope you can help me, your server-software is very = good. thanks. Yours sincerly, Frank Akagi |
From: <zi...@t-...> - 2002-01-25 21:02:21
|
Hi, I received some individual questions regarding configuration advise for the PHP4 and SSL features this week. Here're my answers as CC to this list. Maybe this will help other people. How to configure Pi3Web 2.0 for SSL: The procedure to setup an HTTPS site depends a bit on the operating system. I assume Windows, if you're under Linux or Solaris, I'm pretty sure you know how to use the following description. Don't use the enhanced (graphical) interface to start the server, but type in (when the server is stopped): c: cd \Pi3Web\bin .\Pi3 ..\Conf\SSL.pi3 This is an 'out of the box' SSL configuration for demonstration, coming with a self-signed server certificate (Explicite warning: Not for production server!). The SSL options are based on the openssl API's and described in the Pi3Web documentation: http://localhost/pidocs/Objects/SSL.html. It depends on the purpose of the HTTPS site you plan, if you need a Global Server ID or maybe a self-signed certificate is sufficient for an SSL intranet. The procedure of creation and enrollment of a CSR (Certificate Signing Request) depends on the CA, so I can't give concrete advise for this step. But you can get information on the websites of the CA's about this. ================================================================================ P.S.: The certificates shipped in the Pi3Web distribution are intentional outdated. Your browser will create a warning, but HTTPS will work, if you ignore it. A few additional remarks: - Key generation, CSR creation, cert. signing, update server Basically a private+public key is generated, the private key should never leave your computer. Based on the public key there's a CSR generated, which has to be send to the CA for signing. You will get back a X.509 certificate. You've to place the private key, the server certificate and the CA-certificate in the configured places (as in SSL.pi3). - Demo-CA There's a demo CA. I wrote it for demonstration purposes only and it can create both server and client certificates. Basically it is a web frontend for openssl using the features of Netscape and MSIE for key- and CSR-generation (much version dependencies for MSIE) and certificate download. You can get it, in order to produce your own keys and certificates (I think some knowledge, how cryptography, openssl and a CA works is required), from the following location: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pi3web/DemoCA/. Further you need perl (for the CGI's) and the openssl 0.95/0.96 binaries (contained in most linux distributions otherwise refer to www.openssl.org) for your platform. This demo CA framework isn't part of Pi3Web but a very good subject for learning and research on openssl, HTTPS, browser technologies, Pi3Web, CGI, perl. - Extended configuration SSL.pi3 does only demonstrate HTTPS but isn't working as GUI based configuration. If you want this, you've to merge the SSL related sections into Config.pi3. Don't hestitate to ask me back if you need further advise. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: <zi...@t-...> - 2002-01-25 20:56:02
|
Hi, I received some individual questions regarding configuration advise for the PHP4 and SSL features this week. Here're my answers as CC to this list. Maybe this will help other people. Step-by-step advise to configure a PHP4 application with Pi3Web 2.0 for Windows: 0.) You should know before you start: Pi3Web comes with a couple of sample configurations in .\Pi3Web\Conf\ folder. The default configuration is .\Pi3Web\Conf\Config.pi3. The PHP samples and also your scripts should run with the configuration .\Pi3Web\Conf\Features.pi3. Both configurations are for personal server or features demonstration and not for internet use (.\Pi3Web\Conf\Internet.pi3). 1.) Stop the server. Open a DOS prompt and type in (assumed Pi3Web is installed at c:\Pi3Web): c: cd \Pi3Web\bin Pi3 ..\Conf\Features.Pi3 There's a line displayed 'Pi3Web http server started.'. 2.) Open your browser, type in http://localhost/ and use the 'features' link at the default page and then the link 'PHP4 support' (or type in http://localhost/pidocs/Features/#php4). Click on the 3 PHP sample links to see what happens. 3.) To run own PHP scripts from custom directories: - Open .\Pi3Web\Conf\Features.pi3 with a text editor. - Search for line Mapping Condition="®exp('*.php*',$U)" \ - Insert a line for URL-path mapping (or more of them), which points to your PHP application folder, e.g.: Mapping Condition="®exp('*.php*',$U)" \ PHP4Mapper From="/MyURL/" To="MyPhpFolder/" - Save Features.pi3, restart the Server, use Ctrl-C + 2.) again - Create a directory .\Pi3Web\MyPhpFolder - Copy your PHP stuff into this folder - You should be able to call your PHP scripts 4.) Optional: To make configuration changes available with the start menu and the GUI-based administration: - Change the start menu entry for Pi3Web accordingly from C:\Pi3Web\bin\EnhPi3.exe /START ..\Conf\Config.pi3 into C:\Pi3Web\bin\EnhPi3.exe /START ..\Conf\Features.pi3 Note: Features.pi3 doesn't support the admin GUI! - Or copy all PHP4 related sections from Features.pi3 into Config.pi3 (only recommended for advanced users) More questions? Don't hestitate to ask. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: Bradford B. <bb...@in...> - 2002-01-19 15:31:42
|
It sounds like your router is not "forwarding" port 80 to your computer. The address you would use from outside is usually not the address you use on your local lan. You should contact someone familiar with your router for the correct settings for what you're doing. Brad Bruce ----- Original Message ----- From: "Tyrone Phillips" <ty...@ac...> To: <pi3...@li...> Sent: Friday, January 18, 2002 10:03 PM Subject: [SPAM] [SPAM] [Pi3web-users] Re: Pi3web-users digest, Vol 1 #9 - 3 msgs > I am connected to the internet DSL with a DHCP and IP address. I used the IP > address in the appropriate space. I did get the local to work. It came > through on 127.0.0.1. I use the DHCP for the local lan and the IP through > the WAN. I use a router and DSL modem I do not have the server in front of > the router but access all through the router. > ----- Original Message ----- > From: <pi3...@li...> > To: <pi3...@li...> > Sent: Friday, January 18, 2002 11:20 AM > Subject: Pi3web-users digest, Vol 1 #9 - 3 msgs > > > > Send Pi3web-users mailing list submissions to > > pi3...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/pi3web-users > > or, via email, send a message with subject or body 'help' to > > pi3...@li... > > > > You can reach the person managing the list at > > pi3...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Pi3web-users digest..." > > > > > > Today's Topics: > > > > 1. http server (jack) > > 2. RE: http server (Bradford Bruce) > > 3. DOS Vulnerability? (Bradford Bruce) > > > > --__--__-- > > > > Message: 1 > > From: "jack" <ja...@cf...> > > To: <pi3...@li...> > > Date: Thu, 17 Jan 2002 13:55:03 -0500 > > Subject: [Pi3web-users] http server > > > > I downloaded and installed pi3 http server ver 2.0 on windows 98, it is > > running fine in the local lan but can't be accessed from the internet, how > > do I configure the server to make it accessible from the internet. I tried > > all options in the general tab none of them worked. an answer to this will > > be greatly appreciated. > > > > Thanks, > > > > > > > > --__--__-- > > > > Message: 2 > > From: Bradford Bruce <bb...@in...> > > To: 'jack' <ja...@cf...>, pi3...@li... > > Subject: RE: [Pi3web-users] http server > > Date: Fri, 18 Jan 2002 08:49:19 -0500 > > > > How are you connected to the internet? > > > > Brad Bruce > > > > -----Original Message----- > > From: jack [mailto:ja...@cf...] > > Sent: Thursday, January 17, 2002 1:55 PM > > To: pi3...@li... > > Subject: [Pi3web-users] http server > > > > > > I downloaded and installed pi3 http server ver 2.0 on windows 98, it is > > running fine in the local lan but can't be accessed from the internet, how > > do I configure the server to make it accessible from the internet. I tried > > all options in the general tab none of them worked. an answer to this will > > be greatly appreciated. > > > > Thanks, > > > > > > _______________________________________________ > > Pi3web-users mailing list > > Pi3...@li... > > https://lists.sourceforge.net/lists/listinfo/pi3web-users > > > > > > --__--__-- > > > > Message: 3 > > From: Bradford Bruce <bb...@in...> > > To: pi3...@li... > > Date: Fri, 18 Jan 2002 08:52:21 -0500 > > Subject: [Pi3web-users] DOS Vulnerability? > > > > http://archives.neohapsis.com/archives/vulnwatch/2002-q1/0015.html > > > > > > > > --__--__-- > > > > _______________________________________________ > > Pi3web-users mailing list > > Pi3...@li... > > https://lists.sourceforge.net/lists/listinfo/pi3web-users > > > > > > End of Pi3web-users Digest > > > _______________________________________________ > Pi3web-users mailing list > Pi3...@li... > https://lists.sourceforge.net/lists/listinfo/pi3web-users > |
From: Tyrone P. <ty...@ac...> - 2002-01-19 03:07:37
|
I am connected to the internet DSL with a DHCP and IP address. I used the IP address in the appropriate space. I did get the local to work. It came through on 127.0.0.1. I use the DHCP for the local lan and the IP through the WAN. I use a router and DSL modem I do not have the server in front of the router but access all through the router. ----- Original Message ----- From: <pi3...@li...> To: <pi3...@li...> Sent: Friday, January 18, 2002 11:20 AM Subject: Pi3web-users digest, Vol 1 #9 - 3 msgs > Send Pi3web-users mailing list submissions to > pi3...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/pi3web-users > or, via email, send a message with subject or body 'help' to > pi3...@li... > > You can reach the person managing the list at > pi3...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pi3web-users digest..." > > > Today's Topics: > > 1. http server (jack) > 2. RE: http server (Bradford Bruce) > 3. DOS Vulnerability? (Bradford Bruce) > > --__--__-- > > Message: 1 > From: "jack" <ja...@cf...> > To: <pi3...@li...> > Date: Thu, 17 Jan 2002 13:55:03 -0500 > Subject: [Pi3web-users] http server > > I downloaded and installed pi3 http server ver 2.0 on windows 98, it is > running fine in the local lan but can't be accessed from the internet, how > do I configure the server to make it accessible from the internet. I tried > all options in the general tab none of them worked. an answer to this will > be greatly appreciated. > > Thanks, > > > > --__--__-- > > Message: 2 > From: Bradford Bruce <bb...@in...> > To: 'jack' <ja...@cf...>, pi3...@li... > Subject: RE: [Pi3web-users] http server > Date: Fri, 18 Jan 2002 08:49:19 -0500 > > How are you connected to the internet? > > Brad Bruce > > -----Original Message----- > From: jack [mailto:ja...@cf...] > Sent: Thursday, January 17, 2002 1:55 PM > To: pi3...@li... > Subject: [Pi3web-users] http server > > > I downloaded and installed pi3 http server ver 2.0 on windows 98, it is > running fine in the local lan but can't be accessed from the internet, how > do I configure the server to make it accessible from the internet. I tried > all options in the general tab none of them worked. an answer to this will > be greatly appreciated. > > Thanks, > > > _______________________________________________ > Pi3web-users mailing list > Pi3...@li... > https://lists.sourceforge.net/lists/listinfo/pi3web-users > > > --__--__-- > > Message: 3 > From: Bradford Bruce <bb...@in...> > To: pi3...@li... > Date: Fri, 18 Jan 2002 08:52:21 -0500 > Subject: [Pi3web-users] DOS Vulnerability? > > http://archives.neohapsis.com/archives/vulnwatch/2002-q1/0015.html > > > > --__--__-- > > _______________________________________________ > Pi3web-users mailing list > Pi3...@li... > https://lists.sourceforge.net/lists/listinfo/pi3web-users > > > End of Pi3web-users Digest |
From: <zi...@t-...> - 2002-01-18 23:53:04
|
Hi all, I tried to figure out this issue, which was originally reported in the bugtraq mailing list http://www.securityfocus.com/archive/1/250126 a few days ago and found out the following: There's really a problem with Pi3Web 2.0 CGI handler for physical paths, which are exactly MAX_PATH (260) bytes long and end with illegal (series of) dot(s). The problem does exist due to a specific behaviour of the Windows API, which isn't handled correctly and will crash the server reproducible. - The problem is limited to Pi3Web 2.0 on Win32 only. - Linux and Solaris aren't affected. - Older versions of Pi3Web aren't affected. - Configurations without CGI aren't affected. The problem could be reproduced by using the url from the attached file in your browser. May be you vary the number of dots a bit (increase and/or decrease) to see what happens. A patch fixing the problem is available at sourceforge from now: http://sourceforge.net/tracker/index.php?func=detail&aid=505583&group_id=17753&atid=317753 This .ZIP file contains 2 DLL's which must be replaced in Pi3Web/bin. Don't forget to stop Pi3Web before you apply the patch and restart the server afterwards. A configuration based workaround is also possible by addition of the following line in object Scripts, e.g. in Pi3Web/Conf/Config.pi3: <Object> Name Scripts Class FlexibleHandlerClass Condition "&cmp(&dblookup(response,string,ObjectMap),Scripts)" # line added to check for script names ending on '.' CheckPath Condition="®exp(*.,$z)" StatusCode StatusCode="404" ... Please report, if the problem could be reproduced before you applied the patch and if it was safely solved afterwards. Only if interested - look into the details: The Windows API does accept filenames ending on (series of) '.' in functions like FindExecutable() or FindFirstFile(). If the path name is longer than MAX_PATH, an error will be raised anyway. The problem arised due to bypassing the check for file existance, which uses FindFirstFile() and the subsequent behaviour when trying to resolve a file association using FindExecutable() in the CGI handler. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- Bradford Bruce schrieb: > > http://archives.neohapsis.com/archives/vulnwatch/2002-q1/0015.html > > _______________________________________________ > Pi3web-users mailing list > Pi3...@li... > https://lists.sourceforge.net/lists/listinfo/pi3web-users |
From: Bradford B. <bb...@in...> - 2002-01-18 13:52:28
|
http://archives.neohapsis.com/archives/vulnwatch/2002-q1/0015.html |
From: Bradford B. <bb...@in...> - 2002-01-18 13:49:29
|
How are you connected to the internet? Brad Bruce -----Original Message----- From: jack [mailto:ja...@cf...] Sent: Thursday, January 17, 2002 1:55 PM To: pi3...@li... Subject: [Pi3web-users] http server I downloaded and installed pi3 http server ver 2.0 on windows 98, it is running fine in the local lan but can't be accessed from the internet, how do I configure the server to make it accessible from the internet. I tried all options in the general tab none of them worked. an answer to this will be greatly appreciated. Thanks, _______________________________________________ Pi3web-users mailing list Pi3...@li... https://lists.sourceforge.net/lists/listinfo/pi3web-users |
From: jack <ja...@cf...> - 2002-01-18 06:55:29
|
I downloaded and installed pi3 http server ver 2.0 on windows 98, it is running fine in the local lan but can't be accessed from the internet, how do I configure the server to make it accessible from the internet. I tried all options in the general tab none of them worked. an answer to this will be greatly appreciated. Thanks, |
From: <zi...@t-...> - 2002-01-13 09:47:19
|
"goku984 dbzmail.com" wrote: > > How do I make it so that other people who come to my server thing can upload some files > onto the server for like a website???? In general, there're some different ways to upload a file to a web server: 1. HTTP/1.1 method PUT -> generic support in Pi3Web 2.0 2. RFC1867 compliant form upload -> generic support in Pi3Web 2.0 3. Frontpage extensions, WebDAV -> no generic support in Pi3Web 4. FTP upload, other ways -> out of scope Remark: 3. may be based on 1. and/or 2. and there're also PHP/CGI/JSP scripts, which upload a file using 1. and/or 2. or even using POST-based mechanism Now more concrete, how is file upload done with Pi3Web 2.0? 1. HTTP/1.1 PUT - Use an html-editor which supports PUT and uses HTTP/1.1 (e.g. Netscape composer unfortunately uses PUT with HTTP/1.0 to publish a file) to publish a file from the editor - Run Pi3Web 2.0 with configuration in Features.pi3, i.e. > cd Pi3Web/bin > Pi3 ../Conf/Features.pi3 - This configuration is for demonstration and allows to create or update an existing file in the WebRoot of the server but can be easily adapted/extended. 2. RFC1867 form upload - Run Pi3Web 2.0 with configuration in Features.pi3 (refer above) - invoke the following URL with your browser (Netscape 4.x or MSIE >5.x) http://localhost/pidocs/Features/fupload.htm - lookup a local file, edit the comment and press 'upload' - the file is uploaded to the WebRoot, and - the file .desc is maintained, which is used to format a directory index - the file [originalname_ext].txt contains a log record Lastly, how to adapt/extend this features? - The PUT related configuration lines in Features.pi3 are: # --- # Upload # Handle file requests with HTTP methods other than GET | HEAD # --- <Object> Name Upload Class FlexibleHandlerClass Condition "¬(&or(&cmpi($m,GET),&cmpi($m,HEAD)))" CheckPath ReturnCode ReturnCode=COMPLETED CheckAccess ReturnCode ReturnCode=COMPLETED # supress conditional get CheckType ReturnCode ReturnCode=COMPLETED # Extended SendFile object will handle # DELETE, PUT and POST HTTP requests Handle SendFile Methods="POST | PUT | DELETE" \ Annotation="From:\t$A$MHost:\t$h$MTime:\t$t$MUrl:\t"$r\"$M" \ DescriptionFile=".desc" </Object> - To adapt/extend this configuration, refer to http://localhost/pidocs/Objects/HTTP.html#SendFile - Limitations: Only upload of one single file per request is supported by both PUT and RFC1867 form upload in Pi3Web 2.0 currently. - Related stuff: Tested ASP 1.0 and ColdFusion 4.5 with Pi3Web but not all aspects. I don't know if content management works based on that. There's also a rudimentary content management for Pi3Web 1.3 upwards. This sub project (called 'Kiev') was frozen and could only revived with additional developer resources. -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: goku984 dbzmail.c. <go...@db...> - 2002-01-12 23:09:19
|
How do I make it so that other people who come to my server thing can upload some files onto the server for like a website???? -- Get your free email from www.dbzmail.com Powered by Outblaze |
From: <zi...@t-...> - 2001-11-22 19:41:37
|
Hi John, I tried out the well known search engine written by Matt Wright with Pi3Web: http://www.worldwidemart.com/scripts/ Other resources providing CGI script resources including search engines are: http://www.awsd.com/scripts/ http://cgi.resourceindex.com/Programs_and_Scripts/Perl/ http://www.cgistorehouse.com/ http://www.hotscripts.com/Perl/Scripts_and_Programs/ -- regards Holger TMTOWTDI - There's More Than One Way To Do It - Perl motto ---------------------------------------------------------- Holger 'zimpel' Zimmermann ---------------------------------------------------------- Wendishain Germany ---------------------------------------------------------- http://home.t-online.de/home/zimpel/ http://pi3web.sourceforge.net/ mailto:zi...@t-... ---------------------------------------------------------- |
From: John P. <joh...@ya...> - 2001-11-22 03:58:15
|
What is the best free cgi script for pi3web running on win98 to search for= information in an intranet web site. Thanks for any help John Peterson |