php-general | 2001032
Date: 03/22/01
- Next message: YoBro: "[PHP] Move data from one MySql table to another?"
- Previous message: ..s.c.o.t.t.. [gts]: "RE: [PHP] php 4.04pl 1-3 for red hat 7"
- In reply to: ..s.c.o.t.t.. [gts]: "RE: [PHP] PHP/CGI Help"
- Next in thread: Nicholas Marouf: "Re: [PHP] PHP/CGI Help"
- Reply: Nicholas Marouf: "Re: [PHP] PHP/CGI Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
you also need to have
ScriptAlias /src "/home/src/"
Action application/x-httpd-php4 "php excicution file location"
AddType application/x-httpd-php4 .php
> -----Original Message-----
> From: marouf <email protected> [mailto:marouf <email protected>]On Behalf
> Of Maroufski
> Sent: Thursday, March 22, 2001 5:41 PM
> To: php-general <email protected>
> Subject: [PHP] PHP/CGI Help
>
>
> Hi all,
> This is a tough one, wasn't able to find a solution so far. But
> I hope that someone can help me out
> or point me in the right direction.
>
> Here is what I got:
>
> /src contains a bunch of cgi scripts that require apache to have an
> entry like this
>
> ScriptAlias /src "/home/src/"
>
> When I try to run a file with .php extension in /src I get an error.
> I figured out since I have ScriptAlias /src, Apache will handle every
> file called in that directory as if it were a perl /cgi program.
>
> I need to be able to have apache execute the .cgi and .php files in
> /src
> Any ideas on how to make Apache differentiate between the two.
>
> Any help would be greatly appreciated.
>
>
> Nick
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Nicholas Marouf || http://www.RamallahOnline.com
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: YoBro: "[PHP] Move data from one MySql table to another?"
- Previous message: ..s.c.o.t.t.. [gts]: "RE: [PHP] php 4.04pl 1-3 for red hat 7"
- In reply to: ..s.c.o.t.t.. [gts]: "RE: [PHP] PHP/CGI Help"
- Next in thread: Nicholas Marouf: "Re: [PHP] PHP/CGI Help"
- Reply: Nicholas Marouf: "Re: [PHP] PHP/CGI Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

