Thread: [Pi3web-users] A few questions for a new Pi3Web newbie, (be easy :)
Brought to you by:
zimpel
|
From: Victor B. G. <pi3...@vb...> - 2003-04-09 02:55:32
|
Hello pi3web-users, This is my very first message to this list. Hello to everyone :) I am not a super newbie to the serving scene but have a few questions regarding Pi3Web. 1. I am on Windows XP, 1.2 Athlon, 512RAM, cable connection. Directory indexing doesn't work on a default installation to C:\Pi3Web a.) It doesn't work if I say ok on all setup prompts and it doesn't work if I configure it during setup... Any ideas? 2. Though I can see the homepage and make it publicly available to friends over the net the initial style sheet keeps breaking. White background to blue background, broken images, etc... Any ideas? 3. If I click on the 10 minute tour the following links lead to "The page cannot be found" error pages. The following links are: a.) Automatic Directory Indexing (all links) b.) Pi3Expressions (the first link) c.) Configurable Error Messages d.) Fast CGI (most links) e.) User Directory Mapping (2nd Link) f.) I am surprised and happy php4 works *but* how do I upgrade it to the latest version. g.) ISAPI Filters (install.daf) It is vital I install the latest versions of php and active state perl 5.8.+, I am sure this is possible, any suggestions about how best to go about it? To make a quick recap of my questions: 1. Directory indexing is broken on default and custom installation. Why? 2. Stylesheet keeps breaking, very unstable, Why? 3. Most of the ten minute tour lead to "page cannot be found" Why? I really think the potential of this server is through the roof! I do not know much about its support but otherwise so far it is awesome... I just wish their was more information on it :) Please help PS. Is it possible to upgrade PHP with Zend Optimizer and add PERL 5.8.+? PSS. Thank you for your time :) -- Best regards, Victor B. Gonzalez pi3...@vb... |
|
From: <zi...@t-...> - 2003-04-09 19:31:45
|
Victor B. Gonzalez schrieb: > Hello pi3web-users, > > This is my very first message to this list. Hello to everyone :) ^^ Hello Victor. > > I am not a super newbie to the serving scene but have a few questions > regarding Pi3Web. > > 1. I am on Windows XP, 1.2 Athlon, 512RAM, cable connection. Directory > indexing doesn't work on a default installation to C:\Pi3Web > > a.) It doesn't work if I say ok on all setup prompts and it doesn't > work if I configure it during setup... Any ideas? ^^ I assume this is related to your other posting, so I will come back to you there. If not correct, let me know. > > 2. Though I can see the homepage and make it publicly available to > friends over the net the initial style sheet keeps breaking. White > background to blue background, broken images, etc... Any ideas? ^^ Don't know. Pi3Web demo pages don't use CSS stylesheets. A problem with (stylesheet) URL? An example, access log etc. would be great. Could be related to 1.) > > 3. If I click on the 10 minute tour the following links lead to "The > page cannot be found" error pages. The following links are: > > a.) Automatic Directory Indexing (all links) ^^ Read the information on this page related to the link: "Note this example is not available if you used the Pi3Web enhanced interface (EnhPi3.exe) for setup and configuration." > b.) Pi3Expressions (the first link) ^^ Read the information on this page related to the link: "Note this example is not available if you used the Pi3Web enhanced interface (EnhPi3.exe) for setup and configuration." > c.) Configurable Error Messages ^^ This is intentional in order to bring up an error. > d.) Fast CGI (most links) ^^ Read the information on this page related to the link: "If you start a fast cgi application server using something like cgi-fcgi -start -connect :3333 echo.exe you will be able to issue a fast CGI request against it with..." I.e. you need to install a FastCGI application server first. > e.) User Directory Mapping (2nd Link) ^^ Read the information on this page related to the link: "Should map to /home/jroy/public_html/hello" This is obviously for Unix. But not good documented here. > f.) I am surprised and happy php4 works *but* how do I upgrade it to > the latest version. ^^ Because I use a (fast), embedded, SAPI based build, it depends on the next Pi3Web release. Unfortunately the build made by the PHP group and shipped in the PHP Win32 binaries seems not to work. > g.) ISAPI Filters (install.daf) Read the information on this page related to the link: "This example is disabled by default. To switch on the filter read the instructions in install.daf." > > It is vital I install the latest versions of php and active state perl > 5.8.+, I am sure this is possible, any suggestions about how best to > go about it? ^^ Perl (CGI) is no problem. The latest version of PHP can be used as CGI. Use the latest download package from php.net. > > To make a quick recap of my questions: > 1. Directory indexing is broken on default and custom installation. > Why? > 2. Stylesheet keeps breaking, very unstable, Why? > 3. Most of the ten minute tour lead to "page cannot be found" Why? > > I really think the potential of this server is through the roof! I do > not know much about its support but otherwise so far it is awesome... > I just wish their was more information on it :) ^^ The problem is the leak of time for ALL the supplementary work such a project needs. > > Please help > > PS. Is it possible to upgrade PHP with Zend Optimizer and add PERL > 5.8.+? ^^ Mmhh, don't know. > > PSS. Thank you for your time :) > -- 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: Victor B. G. <pi3...@vb...> - 2003-04-10 12:08:41
|
Hello Everyone, Got most if not all of my questions answered quickly. I did a search on the web too and found the mailing list archive... Sorry but I somehow keep missing the little things :( Thanks for the Directory Indexing patch Holger as it worked out beautifully :) This next problem really bugs me. The initial default index page provided by Pi3Web keeps breaking. It doesn't end up as a 404 or anything but the style to the page frequently changes... It goes from one background color of white to blue, back to white and vice versa and the logos and bullet images keep breaking at random. I decided to go out onto the web and download a really graphic intensive page... I went to http://www.znet.com and downloaded the page with graphics and all... I put the files into a sub directory and then accessed it's index page... The background color stays white but hardly ever can the whole page load up without a broken image... The images break at random... One image would load, then a refresh will break it. I'll refresh again and the broken one would load and another one would break... I am not using Pi3Web in any productions yet as I still have to upgrade both PHP and PERL. I still have some questions and this is more of a bug report except I do not know where to start as I do not know whats causing the randomly breaking images... Any idea whats the cause? Is anyone else experiencing this? I am running Pi3Web 2.0.1 as a desktop application (not a service) with SSL and remote administration on at port 443. I never joined sourceforge but I will as so to try and help out as best I can. I really believe this project is amazing and has enourmous potential. I really want to help with it. Any idea why the broken images and when will a new release be out? Thanks in advance :) -- Best regards, Victor B . Gonzalez pi3...@vb... |
|
From: Victor B. G. <pi3...@vb...> - 2003-04-10 14:29:23
|
Hello Everyone, I think I figured out 50% of the broken image problem. It seems to stem from utilizing the SSL encryption. Out of about 10 refreshes with SSL only once could the page load up with all images... Out of about 20 refreshes without SSL all images showed perfectly. Any ideas? -- Best regards, Victor B . Gonzalez pi3...@vb... |
|
From: <zi...@t-...> - 2003-04-11 05:37:01
|
Victor B. Gonzalez schrieb: > Hello Everyone, ^^ Hello Victor, > > I think I figured out 50% of the broken image problem. It seems to > stem from utilizing the SSL encryption. > > Out of about 10 refreshes with SSL only once could the page load up > with all images... > > Out of about 20 refreshes without SSL all images showed perfectly. > > Any ideas? > ^^ Mmmh, there's a known problem regarding openssl with Newtscape 6.2 (and above?) with multithreading. Look into the openssl-dev list: http://marc.theaimsgroup.com/?l=openssl-dev&w=2&r=1&s=netscape+hangs&q=b The described problem is: Netscape starts another thread in order to load content embedded in a web document (e.g. an image). The problem is, the browser leaves the socket related to the first thread, which loaded the main document open, expecting the server to close it. The browser starts sending on the 2nd socket only when the 1st has been closed. The 2nd socket will block until timeout and the ssl handshake will fail. Related to Pi3Web: The behaviour with NS6.2 can be observed with Pi3Web ('ssl_accept failed' in debug-log). With 7.0 it seems no more to hang but the failure is still there. The behavour can be influenced a bit by adjustment of the I/O timeouts, but at least one embedded document (image) will fail. Other browser (Opera 6.0, MSIE6.0 SP1) worked for me. There is also a list of known issues for openssl with older versions of MSIE. Because I don't know, what browser version you are using, I cannot determine, if this is related to your problems. what browser you are using? Did you try out other browsers? Discussion/ToDo's: There was a lot of bugfixes in openssl 0.9.7. I will examine this version. Furthermore, the original openssl (ssleay) library has not been designed to be threadsafe, e.g. the interface of some callback functions enforced the usage of global variables (it was sufficient for Apache 1.x, mod_ssl etc., i.e. when multithreading was no topic on the agenda). Pi3Web is multithreaded from the beginning and requires thread safe libraries. Some improvements in the openssl library have been made for thread synchronization meanwhile (Apache 2 came out), but they have to be used explicite. Pi3Web currently doesn't use this stuff. Let me investigate this. -- 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-... ---------------------------------------------------------- |