Re: PHP and the MIME type - an Apache question

From: Date: Sat, 10 Mar 2001 02:51:32 +0000
Subject: Re: PHP and the MIME type - an Apache question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43264@lists.php.net to get a copy of this message
I think it might help if you elaborated a little more on what you mean by "parse out all of my PHP scripts to run a particular CGI script". Apache has to be set up so know how to handle php (mime types), but it almost sounds like you're trying to execute a CGI in place of a php file? Also, if this IS a question related to apache what operating system? Makes a big diff. On Fri, 9 Mar 2001, Richard S. Crawford wrote: > Date: Fri, 09 Mar 2001 18:45:25 -0800 > From: Richard S. Crawford <rscrawford@mossroot.com> > To: Yasuo Ohgaki <yohgaki@hotmial.com>, php-general@lists.php.net > Subject: Re: [PHP] PHP and the MIME type - an Apache question > > Yes... Unfortunately, my question was not answered. > > I also added > > AddType text/php php > > to my httpd.conf file, but still no go. > > > At 11:18 AM 3/10/01 +0900, Yasuo Ohgaki wrote: > >There is a great manual and FAQ. Did you read manual? FAQ? > > > >PHP Manual > >http://www.php.net/manual/en/ > >Install Section > >http://www.php.net/manual/en/installation.php > > > >FAQ > >http://www.php.net/FAQ.php > > > >Regards, > >Yasuo Ohgaki > > > >""Richard S. Crawford"" <rscrawford@mossroot.com> wrote in > >message > >news:5.0.2.1.0.20010309180018.00a12770@mail.mossroot.com... > > > > > > > > > I don't even know if this counts as a basic or an advanced question. Shows > > > how much of a newbie I am. :) > > > > > > I'm trying to configure my Apache server to parse out all of my PHP scripts > > > to run a particular CGI script when a PHP page is served. > > > > > > I know that in order to parse out HTML pages, I add this to my Apache > > > configuration file: > > > > > > Action text/html [cgi script named here] > > > > > > What do I add to make it work for PHP pages? I tried > > > > > > Action text/html/php [cgi script named here] > > > > > > Help! > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > http://www.mossroot.com/index.php > AIM Handle: Buffalo2K > e-mail: rscrawford@mossroot.com > "When you lose the power to laugh at yourself, you lose the power to think > straight." --Clarence Darrow > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > Kelly 303-444-1671 Boulder, Colorado

« previous php.general (#43264) next »