Re: How to avoid the screen timeout when no activity
Hello Jeremy, Am 18:02 2003-01-07 -0800 hat Jeremy C. Reed geschrieben: On Wed, 8 Jan 2003, Samantha Scafe wrote: How can avoid the timeout of the monitor. Look at setterm(1). Try: setterm -blank 0 This works only, if you have minimal one login after reboot... Is there a possibility to get it without login ??? Thanks Michelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: best NIC Speed
Hello Marco, Am 19:21 2003-01-09 +0100 hat Marco Kammerer geschrieben: ok :-) so what should i use? normally i use the 8139 becaue the work everywhere. In windows PCs i use DLink 530TX but i now change some Servers from SuSE to debian and now is the best time to get them a good nic. so if you say use 3com type xyz with woody than I will do that. I am use since 1988 only 3Com Cards and never had problems with it... So, ich empfehle Dir die Verwendung der 3c905C oder der Server-Karte 3c982 die vom gleichen Treiber unterstuetzt wird. Schoene gruesse ins Alpenland Michelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
pppstats and console...
Hello, last year I have seen, that it is possibel, to run a program like pppstats on a VC without login, - exactly, insteed of the login. Since many weeks I am searching for the solution, how to do... /etc/login.defs, /etc/inittab, getty, login, ... But nothing... Can anyone tell me, how I can do it ? How can I disable the screenblanker without using 'setterm -blank 0' because this works only, if I have had minimum one login after startup. I like to controll the traffic on my ppp-box from startup directly. Thanks in advance Michelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: best NIC Speed
Hello Shawn, Am 12:08 2003-01-09 -0600 hat Shawn Wallbridge geschrieben: Intel If you need 100Mb, then the Pro/100. If you need GigEcu then the Pro/1000MT. It's the only Ethernet card I will use. I only wish the Pro/100s (different from the Pro/100) was able to use the onboard IPSec chips in any OS besides Windows. Right, I have two of them gotten on http://www.eBay.de/ and tried to get them running. But only success in Pro/100 Mode. :-P Michelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apache / PHP4 config problem (newbee on PHP)
Dear all, Hope I am at the right place/list. Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attachedare both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). I think that this should not be a tough problem, but all FAQs and manuals I have read already are stating different things which seem not be compatible. That is why I turn to you, Debian gurus ;-) Any clue highly appreciated ! Caracal - G. Hostettler6, ch. du Raidillon1522 Lucens Tél: 079 342 97 66 e-mail travaux généraux : [EMAIL PROTECTED]e-mail travaux webmaster : [EMAIL PROTECTED]e-mail personnel : [EMAIL PROTECTED] test.php Description: Binary data apachev Description: Binary data error.log Description: Binary data httpd.conf Description: Binary data srm.conf Description: Binary data access.log Description: Binary data
Re: Apache / PHP4 config problem (newbee on PHP)
Hi, On Wed, Jan 15, 2003 at 01:50:24PM +0100, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). In all your effort to provide information, you forgot to tell us what you think should happen and what does happen, and in which circumstance...? I.e. what works different from what you expect? Where does it hurt? Cheers, Emile. -- E-Advies / Emile van Bergen | [EMAIL PROTECTED] tel. +31 (0)70 3906153| http://www.e-advies.info -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to avoid the screen timeout when no activity
On za, 2003-01-11 at 14:05, Michelle Konzack wrote: Am 18:02 2003-01-07 -0800 hat Jeremy C. Reed geschrieben: On Wed, 8 Jan 2003, Samantha Scafe wrote: How can avoid the timeout of the monitor. Look at setterm(1). Try: setterm -blank 0 This works only, if you have minimal one login after reboot... Is there a possibility to get it without login ??? No need to login. Just add the command to a file in /etc/init.d/ and make sure that file is executable and is linked to the various /etc/rc?.d directories. See the update-rc.d manpage. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to avoid the screen timeout when no activity
On Sat, 11 Jan 2003, Michelle Konzack wrote: setterm -blank 0 This works only, if you have minimal one login after reboot... Is there a possibility to get it without login ??? I understand what you mean. setterm outputs an escape code like: \033[9;0] only when the TERM is con or linux. The parameter 9 is for set blanking interval. This escape sequence is used by setterm_command() in the Linux kernel's linux/drivers/char/console.c which does a poke_blanked_console(). I wonder if there is a tool to directly call those kernel functions? Jeremy C. Reed echo 'G014AE824B0-07CC?/JJFFFI?D64CBD=3C427=;6HI2J' | tr /-_ :\ Sc-y./ | sed swxw`uname`w -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: best NIC Speed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 11 January 2003 14:20, Michelle Konzack wrote: I am use since 1988 only 3Com Cards and never had problems with it... Well eversince i use 3com i had problems with it (novell, os/2...). I doesn't work well under heavy load. Might be the drivers in linux, but otoh Intel nic's work out-of-box. meine 0.02 e - -- We should not be trying to use technical solutions to solve a social problem. [Thomas R. Stephenson (about SPAM - Pegasus list 16.12.1999)] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+JZK5EyTmlrVpUvwRAknLAJ43vtA72t50lSKWG+Qbeh+Cq/CVRgCffLcc t4KF5pZXKwokw9YdT71R2Rg= =/92x -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
It seems to me that the php4 engine never starts to generate pages... Make sure the LoadModule line for php in apache's config file is uncommented. Then make sure you have MIME types set up for PHP files. AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Should do the trick. -- Chris Hilts [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
On Wed, Jan 15, 2003 at 05:32:45PM +0100, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: not strange at all. - Using IE6, the browser asks me if I want to download the test.php script (???) Sure, because it is the wrong mime type. - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho In other words, it serves it as text/html, which is also incorrect. (It doesn't execute the php.) - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... You're right, it's not being invoked. Any other idea ? Change this (in srm.conf) AddType application/x-httpd-php4 .php To: AddType application/x-httpd-php .php -- brian moore [EMAIL PROTECTED] | The only really perfect love | Is one that gets away -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
On Wednesday 15 January 2003 17:32, Gregoire Hostettler wrote: Hi There, you`ve an error in your srm.conf you have to replace AddType application/x-httpd-php4 .php with AddType application/x-httpd-php .php So i think it should work now ! :) The file location should be the normal DocumentRoot not the CGI-Script directory. Michi Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- Bisping Bisping GmbH Co. KG Michael Streb internet and network [EMAIL PROTECTED] Spitalstrasse 21-24-26 Tel. +49-9123-9740-630 91207 Lauf a. d. Pegnitz Fax. +49-9123-9740-97 http://photo.bisping.de *http://bisping.de *http://lauf.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
On Wed, 15 Jan 2003 at 17:32:45 +0100, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho Yes. - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Or Apache doesn't recognise .php files as files for PHP4. Any other idea ? I seem to remember that I had to add these lines into srm.conf to have PHP4 working: AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php (.php3 in case there are files ending with .php3). Note: this is x-httpd-php _not_ x-httpd-php4 which you have got in your srm.conf. PS. Please, switch OFF unconditionally composing HTML-ised messages in your mail program (your original question contained HTML-ised version)! -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
You'll have to look at your httpd.conf (in /etc/apache/ ) You'll have to uncomment several sections for php to start working. The LoadModule section php4 The two file type lines for php4 and you might want to add index.php to the list of allowed index files After that, restart apache and you should be all set. Todd On Wed, 2003-01-15 at 11:32, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
On wo, 2003-01-15 at 17:32, Gregoire Hostettler wrote: I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) bartjan@trillian:~$ grep php4 /etc/apache/mime.types application/x-httpd-php4php4 I think that you don't have the correct mime type set for php files in the /etc/apache/mime.types or Apache is not using this file. - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho Yes. What you could do now is to add .html to the line in srm.conf (newer Apache versions have all options in httpd.conf) that already has: AddType application/x-httpd-php .php So that you get: AddType application/x-httpd-php .php .html This adds php-support for .html files in adition to .php files. - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? Yes. Please do not top-post and learn to strip what you are quoting. On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to avoid the screen timeout when no activity
On Wednesday 15 January 2003 06:57 am, Bart-Jan Vrielink wrote: On za, 2003-01-11 at 14:05, Michelle Konzack wrote: Am 18:02 2003-01-07 -0800 hat Jeremy C. Reed geschrieben: On Wed, 8 Jan 2003, Samantha Scafe wrote: How can avoid the timeout of the monitor. Look at setterm(1). Try: setterm -blank 0 This works only, if you have minimal one login after reboot... Is there a possibility to get it without login ??? No need to login. Just add the command to a file in /etc/init.d/ and make sure that file is executable and is linked to the various /etc/rc?.d directories. See the update-rc.d manpage. Or you can just set the BLANK_TIME variable in /etc/console-tools/config to 0, and this will be done automatically with the rest of the initialization. No need to set it twice. - Keegan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Be sure to add these lines to your httpd.conf: AddType application/x-httpd-php .php .php3 .phtml AddType application/x-httpd-php-source .phps (you technically only need the .php suffix, but I put all of them in there for backwards compatibility... you also don't really need the .phps one if you don't wish to see php code formatted in the browser.) Eric On Wednesday, January 15, 2003, at 08:32 AM, Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Try adding this line to your httpd.conf (and restarting apache) AddType application/x-httpd-php .php .php3 .html .htm good luck, ~c Gregoire Hostettler wrote: Thank you for your response. I moved the script to its original location (/var/www) but I get a strange behavior: - Using IE6, the browser asks me if I want to download the test.php script (???) - If I rename the .php script to .html, it displays just the header, nothing else, which is correct imho - If I try to access test.php via lynx, it just displays the html text. There is a tmp html file created, althought It seems to me that the php4 engine never starts to generate pages... Any other idea ? TYIA On wo, 2003-01-15 at 13:50, Gregoire Hostettler wrote: Got a (supposed) config problem with PHP4/Apache. OS: Debian potato 2.2r7, kernel 2.2.19 Apache 1.3.9 (Debian implementation) PHP4 4.0.3pl1-0p Attached are both the httpd.conf and srm.conf files, along with the access.log, error.log, php script involved and the output of apache -V (apachev file). Only the error.log was enough: [Wed Jan 15 14:29:55 2003] [notice] Apache/1.3.9 (Unix) Debian/GNU PHP/4.0.3pl1 mod_perl/1.21_03-dev configured -- resuming normal operations [Wed Jan 15 14:29:55 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec) [Wed Jan 15 14:31:49 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/test.php failed [Wed Jan 15 14:31:49 2003] [error] [client 192.168.124.1] Premature end of script headers: /usr/lib/cgi-bin/test.php You are placing html files in cgi-bin directories. Don't do that, because cgi-bin directories are reserved only for cgi scripts, not html or php files. Just place the .php file in /var/www and I think it should work. -- Tot ziens, Bart-Jan Vrielink -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Thanks a lot to everybody. Everything works fine now. The reason was: Replaced AddType application/x-httpd-php4 .php with AddType application/x-httpd-php .php as Michael Streb among aothers pointed out ! /gh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache / PHP4 config problem (newbee on PHP)
Hi, Glad you got it working. As an aside, I would recommend you upgrade your Apache and php because various vulnerabilities have come out. For example: http://www.debian.org/security/2002/dsa-168 http://www.debian.org/security/2002/dsa-187 Among others. You can also easily upgrade from Potato to Woody with minimal disruption. Regards, Fred. -- Fred Clausen - Systems Administrator Unique Interactive, part of UBC Media Group plc Winners of the 2002 CRCA NTL New Media Award http://www.ubcmedia.com http://www.uniqueinteractive.co.uk T: +44 (0)20 7453 1677 F: +44 (0)20 7486 5081 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to avoid the screen timeout when no activity
On Wed, 15 Jan 2003, Jeremy C. Reed wrote: On Sat, 11 Jan 2003, Michelle Konzack wrote: setterm -blank 0 This works only, if you have minimal one login after reboot... Is there a possibility to get it without login ??? I understand what you mean. setterm outputs an escape code like: \033[9;0] only when the TERM is con or linux. The parameter 9 is for set blanking interval. More info here: # man console_codes (package manpages) Search for Linux Console Private CSI Sequences. Cheers, Cristian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: best NIC Speed
I double checked with the sysadmin who had problems with 3Com Cards (once and then) spontaneously sending broadcast when the card turns old. He says, it is not Windows specific, but happens on Linux too and he once read some article where 3Com confirmed the problem - however: no reference given. Message from him (in spanish) copied at the bottom of this mail Regards, Jorge-León El mié, 15-01-2003 a las 10:56, jernej horvat escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 11 January 2003 14:20, Michelle Konzack wrote: I am use since 1988 only 3Com Cards and never had problems with it... Well eversince i use 3com i had problems with it (novell, os/2...). I doesn't work well under heavy load. Might be the drivers in linux, but otoh Intel nic's work out-of-box. meine 0.02 e - -- We should not be trying to use technical solutions to solve a social problem. [Thomas R. Stephenson (about SPAM - Pegasus list 16.12.1999)] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+JZK5EyTmlrVpUvwRAknLAJ43vtA72t50lSKWG+Qbeh+Cq/CVRgCffLcc t4KF5pZXKwokw9YdT71R2Rg= =/92x -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Hola Jairo! El lun, 13-01-2003 a las 11:58, [EMAIL PROTECTED] escribió: ... de mi experiencia el broadcast lo genera desde Linux y desde Windows. ... Se me podrías dar algunos detalles técnicos sobre la falla, los comparto en la lista. De otra manera no puedo mantener el argumento. el problema con la 3com es que con el tiempo el chipset empieza a enviar paquetes de tipo broadcast sin que nadie se lo pida, eso lo podes descubrir con un software analizador de paquetes o de manera chapiolla usando el comando ping x.x.x.0 -b de esa forma analizar cual tarjeta en tu segmento esta haciendo broadcast pero la mejor forma es con un analiador de paquetes y miras los envios de tipo broadcast que la jodida esta haciendo sin sentido y sin que nadie se lo pida una vez lei un articulo de 3com sobre ese fallo que ellos reconocieron que era cierto. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]