Apache2 and PHP as CGI

2006-03-30 Thread Stephen Le
I'm having some difficultly running PHP4 scripts as CGI with Apache2. I've installed the php4-cgi package and followed the instructions in /usr/share/doc/php4-cgi/README.Debian.gz, and uncommented the following line in my apache.conf: AddType application/x-httpd-php .php But I get a 404 error when

Re: apache2 and php rendering

2005-09-08 Thread Angelo Bertolli
Bernd Prager wrote: Hi, I'm trying to use some Flickr images on my website and wrote a php script that gets me the link. Within the html page I want to use now a tag like for the image. If I call the script directly in the browser with "http://myserver/php/getImage.php"; I get the desired imag

Re: apache2 and php rendering

2005-09-08 Thread Almut Behrens
On Thu, Sep 08, 2005 at 06:01:07PM -0400, Bernd Prager wrote: > > I'm trying to use some Flickr images on my website and wrote a php > script that gets me the link. > Within the html page I want to use now a tag like src="/php/getImage.php" /> for the image. > If I call the script directly in the

apache2 and php rendering

2005-09-08 Thread Bernd Prager
Hi, I'm trying to use some Flickr images on my website and wrote a php script that gets me the link. Within the html page I want to use now a tag like for the image. If I call the script directly in the browser with "http://myserver/php/getImage.php"; I get the desired image. But when I try to in

Re: apache2 and php - firefox wants to download phtml file?

2004-10-02 Thread Jule Slootbeek
Did you add index.php to apache's httpd.conf DirectoryIndex ? that directive tells apache to also look for index.php when a directory is accessed. -JSS Micha Feigin wrote: I installed some php application of a server here which I installed with apache2 (prefork). When accessing the directory wit

apache2 and php - firefox wants to download phtml file?

2004-09-30 Thread Micha Feigin
I installed some php application of a server here which I installed with apache2 (prefork). When accessing the directory without the trailing index.php I get a message from mozilla firefox prompting me to save a .phtml file. If I access it with .../index.php it works fine. I added .phtml to the p

Re: Apache2 and PHP

2004-09-24 Thread JoeHill
On Fri, 24 Sep 2004 10:35:17 -0400 Johann Koenig disseminated the following: > > RedirectMatch ^/$ /apache2-default/ > > It looks more to me like it says 'if you get a request for /, forward > them to apache2-default instead.' I read nothing in it about re-writing > the name. Loo

Re: Apache2 and PHP

2004-09-24 Thread Johann Koenig
On Friday September 24 at 09:09am JoeHill <[EMAIL PROTECTED]> wrote: > RedirectMatch ^/$ /apache2-default/ It looks more to me like it says 'if you get a request for /, forward them to apache2-default instead.' I read nothing in it about re-writing the name. But then again, I use

Re: Apache2 and PHP

2004-09-24 Thread JoeHill
On Fri, 24 Sep 2004 12:42:47 +0200 Micha Feigin disseminated the following: > > ie. when I load www.freeyourmachine.org from the Internet or LAN, shows > > 'www.freeyourmachine.org/apache2-default/' in the address field. > > > > I have a feeling I'm doing something terribly wrong. > > > > I bel

Re: Apache2 and PHP

2004-09-24 Thread Micha Feigin
On Thu, Sep 23, 2004 at 06:48:54PM -0400, JoeHill wrote: > On Thu, 23 Sep 2004 18:23:46 -0400 > JoeHill disseminated the following: > > > > Did you perform the 'a2enmod php4' to enable PHP4 module support > > > on Apache2? If you did there should be the php4.conf and php4.load > > > symlinks und

Re: Apache2 and PHP

2004-09-23 Thread JoeHill
On Thu, 23 Sep 2004 18:23:46 -0400 JoeHill disseminated the following: > > Did you perform the 'a2enmod php4' to enable PHP4 module support > > on Apache2? If you did there should be the php4.conf and php4.load > > symlinks under /etc/apache2/mod-enabled/. I have no problems with > > Apache2 a

Re: Apache2 and PHP

2004-09-23 Thread JoeHill
On Thu, 23 Sep 2004 14:49:11 -0700 Jeremy T. Bouse disseminated the following: > Did you perform the 'a2enmod php4' to enable PHP4 module support > on Apache2? If you did there should be the php4.conf and php4.load > symlinks under /etc/apache2/mod-enabled/. I have no problems with > Apache2

Re: Apache2 and PHP

2004-09-23 Thread Jeremy T. Bouse
Did you perform the 'a2enmod php4' to enable PHP4 module support on Apache2? If you did there should be the php4.conf and php4.load symlinks under /etc/apache2/mod-enabled/. I have no problems with Apache2 and PHP4 on my machine at home. I have libapache2-mod-php4 along with php4 and the ph

Apache2 and PHP

2004-09-23 Thread JoeHill
I'm almost there... My site relies on some very minor PHP bits on the main page, index.php. I have installed: node3:/var/www/apache2-default# apt-get install libapache2-mod-php4 Reading Package Lists... Done Building Dependency Tree... Done libapache2-mod-php4 is already the newest version. as

Re: Apache2 and.... php

2003-10-22 Thread John Foster
Ron Rademaker wrote: Hello, I guess this discussion has come along quite a few times already :) But I want to get it to work, I only want to use it! I've had it running fine for over a year on a RH server, but I just want to use debian. I'm running testing but found some php 4.3.3 packages that I

Apache2 and.... php

2003-10-22 Thread Ron Rademaker
Hello, I guess this discussion has come along quite a few times already :) But I want to get it to work, I only want to use it! I've had it running fine for over a year on a RH server, but I just want to use debian. I'm running testing but found some php 4.3.3 packages that I installed... Why are