How can I get my script's output without Apache buffering it? Why doesn't my server push work?
Apache Server Frequently Asked Questionsof Apache 1.3, CGI scripts are essentially not buffered. Every time your script does a "flush" to output data, that data gets relayed on to the client. Some scripting languages, for example Perl, have their own buffering for output - this can be disabled by setting the $| special variable to 1. Of course this does increase the overall number of packets being transmitted, which can result in a sense of slowness for the end user. Prior to 1.
Related QuestionsApache Server Frequently Asked QuestionsIn order to improve network performance, Apache buffers script output into relatively large chunks. If you have a script that sends information in bursts (eg. as partial-done messages in a multi-commit database transaction or any type of server push), the client will not necessarily get the output as the script is generating it. To avoid this, Apache recognizes scripts whose names begin with "nph-" as non-parsed-header scripts.Related Questions
Why doesn't Expect work when called from a setuid script?
Expect FAQ (Frequently Asked Questions)From: Rusty Wright <rusty@socrates.berkeley.edu> >I'm trying to run a setuid shell script that calls expect. When >expect does a spawn it gets the error message: > > open(slave pty): bad file number > parent: sync byte write: broken pipe > >Here are the version numbers: > > expect: expect-5.28 > tcl: tcl8.0.3 > OS: SunOS 5.6 (sparc) > >Expect and tcl were compiled with gcc-2.8.1.
Related QuestionsWhy doesn't Apache include SSL?
Apache Server Frequently Asked QuestionsSSL (Secure Socket Layer) data transport requires encryption, and many governments have restrictions upon the import, export, and use of encryption technology. If Apache included SSL in the base package, its distribution would involve all sorts of legal and bureaucratic issues, and it would no longer be freely available. Also, some of the technology required to talk to current clients using SSL is patented by RSA Data Security, who restricts its use without a license.
Related QuestionsHow can I have my script output parsed?
Apache Server Frequently Asked QuestionsSo you want to include SSI directives in the output from your CGI script, but can't figure out how to do it? The short answer is "you can't." This is potentially a security liability and, more importantly, it can not be cleanly implemented under the current server API. The best workaround is for your script itself to do what the SSIs would be doing. After all, it's generating the rest of the content.
Related QuestionsWhy doesn't my cgi script work?
Web Hosting Support FAQ'sThe most common reason for this to happen is that the scripts permissions haven't been set properly. Make sure that the permissions of the script file and the directory tree (relative to the server's document root) are set no higher than 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x). Web Hosting | Web Hosting Support | Contact | Linking | Site Map | Acceptable Use | Privacy Policy | Service Agreement
Related QuestionsWhy doesn't my shell script work?
The Cygwin FAQThere are two basic problems you might run into. One is the fact that /bin/sh is really ash, and is missing some features you might expect in /bin/sh, particularly if you are used to /bin/sh actually being bash (Linux) or ksh (Tru64). For example: Or, it could be a permission problem, and Cygwin doesn't understand that your script is executable. Because 'chmod' may not work (see FAQ entry above), Cygwin must read the contents of files to determine if they are executable.
Related QuestionsWhat is buffering?
Internet Streaming Media FAQPlayers that read streaming media must first process a certain amount of the stream (at least one packet) in order to display anything. The buffer is a word for computer memory that stores digital information that will later be processed. The computer memory can either be in the form of RAM or a partial temporary file that the media player constructs from the stream.
Related QuestionsDoes or will Apache act as a Proxy server?
Apache Server Frequently Asked QuestionsApache version 1.1 and above comes with a proxy module. If compiled in, this will make Apache act as a caching-proxy server.
Related QuestionsCan I use Active Server Pages (ASP) with Apache?
Apache Server Frequently Asked QuestionsThe base Apache Web Server package does not include ASP support. However, a number of projects provide ASP or ASP-like functionality for Apache. Some of these are:
Related QuestionsAny way to 'hg push' and have an automatic 'hg update' on the remote server?
FAQ - MercurialThis goes in .hg/hgrc on the remote repository. Output has to be redirected to stderr (or /dev/null), because stdout is used for the data stream.
Related QuestionsWhy doesn't DirectX acceleration work in .NET Server?
Unofficial FAQ for Windows.NET Server 2003Official Answer: This is by design. Graphics Acceleration is disabled by default, which disables DirectX functionality. This is to enhance server stability and is not needed in standard server scenarios. Re-enabling such functionality is not a valid server testing scenario. Unofficial Answer: To enable Direct X, you must first enable graphics acceleration.
Related Questionstop 14. Why doesn't SiteX work on my server?
SiteX - FAQs (Frequently Asked Questions)There are a number of reasons why SiteX may not be working correctly on your site. Please check that your webhosting meets the following requirements:
Related QuestionsWhy does Server Push not work with Internet Explorer?
Webcam32 - Frequently Asked QuestionsServer Push is a Netscape only feature. It has not been implemented natively by Microsoft in Internet Explorer V5.0. An alternative solution using Java has been developed called JavaCamPush. More information on JavaCamPush is available here.
Related QuestionsWhy can't I publish to my Apache server using PUT on Netscape Gold and other programs?
Apache Server Frequently Asked QuestionsBecause you need to install and configure a script to handle the uploaded files. This script is often called a "PUT" handler. There are several available, but they may have security problems. Using FTP uploads may be easier and more secure, at least for now. For more information, see the Apache Week article Publishing Pages with PUT.
Related QuestionsHow do I enable 2 Tomcat servers to work with 1 HP Apache server?
hp apache-based web server faqsroot stop Apache, Tomcat, and Tomcat2. /opt/apache/bin/apachectl stop /opt/tomcat/bin/shutdown.sh /opt/tomcat2/bin/shutdown.sh As root start Apache, Tomcat, and Tomcat2. /opt/apache/bin/apachectl start /opt/tomcat/bin/startup.sh /opt/tomcat2/bin/startup.sh
Related QuestionsWhat is Apache?
Apache Server Frequently Asked Questionsruns on Windows NT/9x, Netware 5.x and above, OS/2, and most versions of Unix, as well as several other operating systems DBM databases for authentication allows you to easily set up password-protected pages with enormous numbers of authorized users, without bogging down the server. Customized responses to errors and problems Allows you to set up files, or even CGI scripts, which are returned by the server in response to errors and problems, e.g.
Related QuestionsWhat if it doesn't work?
The Society for Clinical & Medical Hair Removal, Inc. | ...If the area being treated does not respond as described in the consultation and if there are other arising health problems, (ie., irregular periods, weight gain, etc.) discuss this with the electrologist so a medical treatment plan can be implemented if necessary.
Related QuestionsLasik laser eye surgery from Ultralase: Frequently asked que...After treatment, the eyes go through a natural recovery period. For 97% of patients, the results reach the target standard of vision - or better. A few people do not quite achieve the desired standard of vision - for these people, a re-treatment can be one option. Remember all your aftercare is backed up by our unique Lifetime Care Guarantee.Related Questions
Frequently Asked Questions About Molluscum and ZymaDermWe can't guarantee that ZymaDerm will work for you, but we do offer a 6 month money back guarantee to help assure your satisfaction. If you are not happy let us know and we will give you a refund up to 6 months from the date of purchase. No conditions, no exceptions. (Please don't cheat. Thank you).Related Questions
How does the provided script work?
Internet Explorer 7 Blocker Toolkit: Frequently Asked Questi...The script accepts one of two command line options (block and unblock) and creates or removes the registry key that controls whether Internet Explorer 7 is offered automatically to the system (via Automatic Updates or the "Express" install option for manual Windows Update/Microsoft Update site scans).
Related QuestionsHow do I get MetaSynth output to work with ProTools?
Frequently Asked QuestionsThere is an application supplied with ProTools called CoreAudio Setup. You need to use it to specify MetaSynth as a 3rd-party app that will be routed through the card. You also need to choose the ProTools card as the Default Audio device.
Related QuestionsI get a Server Error when I run my cgi script. How can I fix that?
CheaperWebHost.com - Frequently Asked Questions (FAQs)First, make sure that the permissions on the file are set properly for execute permission. By default, the permissions are 644 (rw-r--r--) and do not allow execution. You need to change the permissions, or the mode, on your cgi script to 755 (rwxr-xr-x). Some FTP programs allow you to change file permissions, if yours doesn't, then you can use the File Manager in your Control Panel to change the permissions.
Related QuestionsHow does The Apache Group's work relate to other server efforts, such as NCSA's?
Apache Server Frequently Asked QuestionsWe, of course, owe a great debt to NCSA and their programmers for making the server Apache was based on. We now, however, have our own server, and our project is mostly our own. The Apache Project is an entirely independent venture.
Related QuestionsI want to customize the output of the script. How can I do that?
I Own TheseThe category field is surrounded by a span of class iot_title and the listing is in a span of class iot_list. Just set your style sheet to change the properties of these fields. Also the powered by line is enclosed in a small tag.
Related QuestionsWhy doesn't my CGI/PHP/MySQL script work?
Granite Belt Hosting FAQThere are many reasons for CGI or PHP scripts not running, first try consulting the documentation that came with the script.If dose not help try the support forum for the software or contact us for a small fee we will have a look.
Related Questions