[PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
Hello, There is some week than I trying to solve a critical error on my VirtualCron script. *First of all what is VirtualCron?:* Virtual cron is script that`s call(http request) himself and doing the jobs by the time(like a cron-jobs on linux, but this script build on php and its make it

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Maybe your problem are in the way you're calling your program by socket. If you show me this part of the code, maybe i can help you. Regards, Igor Escobar systems analyst interface designer www . igorescobar . com On Wed, Mar 25, 2009 at 4:01 PM, אלמוג בקו almog.b...@gmail.com wrote:

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
This is a part of the class: private function _request() { //URL information $url= http://.$_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; $url_info= parse_url($url); //Fixing port if(!isset($url_info['port'])) $url_info['port']=80; //Send Cron-data $data

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Try the ignore_user_abort(true); Regards, Igor Escobar systems analyst interface designer www . igorescobar . com On Wed, Mar 25, 2009 at 4:21 PM, אלמוג בקו almog.b...@gmail.com wrote: This is a part of the class: private function _request() { //URL information $url=

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
I already wrote that.. ignore_user_abort(true); set_time_limit(0); sleep(1); * צור איתי קשר:* http://www.facebook.com/profile.php?id=682327963 On Wed, Mar 25, 2009 at 9:38 PM, Igor Escobar titiolin...@gmail.com wrote: Try the ignore_user_abort(true); Regards,

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Igor Escobar
Oh, Sorry, I had not seen. Well, I don't see anything wrong in your code, but maybe...if you find in your apache config file, you can found for something similar to your problem ... Sorry can't help you. Regards, Igor Escobar systems analyst interface designer www . igorescobar . com On

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Shawn McKenzie
אלמוג בקו wrote: This is a part of the class: private function _request() { //URL information $url= http://.$_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; $url_info= parse_url($url); //Fixing port if(!isset($url_info['port'])) $url_info['port']=80;

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
my script(cron.php) check the job and call by http-request himself(cron.php). I already solve the timezone problem, I set the timezone to Israel`s timezone[works fine]: //Set TimeZone date_default_timezone_set(timezone_name_from_abbr(, 2*60*60, null)); * צור איתי

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread Shawn McKenzie
אלמוג בקו wrote: my script(cron.php) check the job and call by http-request himself(cron.php). I already solve the timezone problem, I set the timezone to Israel`s timezone[works fine]: //Set TimeZone date_default_timezone_set(timezone_name_from_abbr(, 2*60*60, null)); I was talking

Re: [PHP] Fwd: A fatal error with php virtual cron

2009-03-25 Thread אלמוג בקו
amm.. i don`t really know what is fast-cgi. well I think I don't use it. however, thanks. * צור איתי קשר:* http://www.facebook.com/profile.php?id=682327963 On Wed, Mar 25, 2009 at 10:33 PM, Shawn McKenzie nos...@mckenzies.netwrote: אלמוג בקו wrote: my

[PHP] Virtual Directory Support

2006-10-05 Thread NicoFr
hello, This question was sent before but there is no good answer so : When i see my phpinfo, Virtual Directory Support is disabled How do I change this from disabled to enabled ? I use php 5 and apache 2 on a linux FC5 server. I also use a wampserver on a winxp workstation and here, it's

Re: [PHP] Virtual includes of PHP into SSI pages.

2005-11-16 Thread cron
this is never parsed to php. Hope i´m making any sense here, bad english Angelo - Original Message - From: Neil Hoggarth [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, November 14, 2005 11:01 AM Subject: [PHP] Virtual includes of PHP into SSI pages. Hi Folks, I'm

[PHP] Virtual Directory Support

2005-11-15 Thread Brad Glonka
Real simple question How do I change this from disabled to enabled. Thanks Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Virtual Directory Support

2005-11-15 Thread Jay Blanchard
[snip] Real simple question How do I change this from disabled to enabled. [/snip] Flip the switch? /subtle :) This an IIS question. Please see http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2 000/en/server/iis/htm/core/iicodirv.htm -- PHP General Mailing List

Re: [PHP] Virtual Directory Support

2005-11-15 Thread Brad Glonka
I think I may be headed down the wring direction. I'm using Apache. What I'd like to be able to do is to pass arguments to a script as though it were a directory. Something like so http://server.com/script.php/some-virtual/dirs/ On 11/15/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Real

RE: [PHP] Virtual Directory Support

2005-11-15 Thread Jay Blanchard
[snip] I think I may be headed down the wring direction. I'm using Apache. What I'd like to be able to do is to pass arguments to a script as though it were a directory. Something like so http://server.com/script.php/some-virtual/dirs/ [/snip] http://us2.php.net/dir

Re: [PHP] Virtual Directory Support

2005-11-15 Thread Jasper Bryant-Greene
Jay Blanchard wrote: [snip] I think I may be headed down the wring direction. I'm using Apache. What I'd like to be able to do is to pass arguments to a script as though it were a directory. Something like so http://server.com/script.php/some-virtual/dirs/ [/snip] http://us2.php.net/dir

Re: [PHP] Virtual Directory Support

2005-11-15 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 02:50:53PM -0500, Brad Glonka wrote: I think I may be headed down the wring direction. Yeah, the Virtual Directory Support isn't really what its name seems to be, it basically is enabled when php is compiled with Zend Thread Saftey which only effects how certain things

Re: [PHP] Virtual Directory Support

2005-11-15 Thread Jasper Bryant-Greene
Brad Glonka wrote: The script does not give me any output. I think this is what I need to enable. No, as has already been said on the list. That virtual directory setting has nothing to do with this AFAIK. Are you running PHP as an Apache module or as CGI? Jasper -- PHP General Mailing

Re: [PHP] Virtual Directory Support

2005-11-15 Thread Brad Glonka
The script does not give me any output. I think this is what I need to enable. On 11/15/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Jay Blanchard wrote: [snip] I think I may be headed down the wring direction. I'm using Apache. What I'd like to be able to do is to pass

[PHP] Virtual includes of PHP into SSI pages.

2005-11-14 Thread Neil Hoggarth
Hi Folks, I'm attempting to diagnose an apparent problem with my Apache/PHP server setup. The platform is SPARC Solaris 9. I'm running Apache httpd 2.0.55 and PHP 4.4.1, built from NetBSD pkgsrc. I have a user who has .shtml (server side include) pages which include PHP fragments using

[PHP] Virtual Host problem

2004-09-23 Thread a.k.a kioto
Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this: #NameVirtualHost *:80 NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for

Re: [PHP] Virtual Host problem

2004-09-23 Thread Jason Davidson
your problem, as correctly outputted, is permission based, and as far as i can tell, has nothing to do with PHP.. Jason a.k.a kioto [EMAIL PROTECTED] wrote: Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this:

RE: [PHP] Virtual Host problem

2004-09-23 Thread Chris Gregors
Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 11:42 AM To: a.k.a kioto; [EMAIL PROTECTED] Subject: Re: [PHP] Virtual Host problem your problem, as correctly outputted, is permission based, and as far as i can tell, has nothing to do with PHP.. Jason

Re: [PHP] Virtual Host problem

2004-09-23 Thread John Nichel
a.k.a kioto wrote: snip I have insert a file index.php in all main folder of virtaul host: /usr/local/apache/users/default/index.php /usr/local/apache/users/mysite/index.php /usr/local/apache/users/brothersite/index.php I have modified the file hosts in etc/hosts. 39.244.88.126 mordoch

Re: [PHP] Virtual Host problem

2004-09-23 Thread Steve Brown
Someone correct me if I am wrong, but haven't you just confused the hell out of Apache? You have just declared three virtual hosts, all listening on port 80, but apache has no way to identify them based on the incoming packets. You need to add a ServerName directive to each virtual host

Re: [PHP] Virtual Host problem

2004-09-23 Thread Pahlevanzadeh Mohsen
please send it to Apache mailling list. --- a.k.a kioto [EMAIL PROTECTED] wrote: Hi all i've try to configure Apache with Virtual Host in the main configuration file of Apache i have modify like this: #NameVirtualHost *:80 NameVirtualHost * # # VirtualHost example: # Almost any Apache

[PHP] virtual domain own php.ini

2004-04-22 Thread Robby Russell
Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't seem to notice my own php.ini file. When the PHP interpreter starts up, it

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't seem to

Re[2]: [PHP] virtual domain own php.ini

2004-04-22 Thread Richard Davey
Hello pan, Thursday, April 22, 2004, 8:19:39 PM, you wrote: p rtfm on ini_set() What on earth has ini_set() got to do with the web server not picking up the alternative php.ini file located in the web root? Sure it will allow you to change *some* of the ini variables, but that wasn't even the

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread John Nichel
pan wrote: Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites that utilize the other) and used the following instructions, but it doesn't

Re: Re[2]: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello pan, Thursday, April 22, 2004, 8:19:39 PM, you wrote: p rtfm on ini_set() What on earth has ini_set() got to do with the web server not picking up the alternative php.ini file located in the web root? Sure it

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] pan wrote: Robby Russell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to use own php.ini file (rather than the one that the webserver sees by default) for a web site (on a box that has many websites

Re[4]: [PHP] virtual domain own php.ini

2004-04-22 Thread Richard Davey
Hello pan, Thursday, April 22, 2004, 8:36:51 PM, you wrote: p on most servers ini_set will be the best you can hope for p security settings won't allow alternative php.ini file reads p that's why Perhaps it would have been more useful to state this in the original post. -- Best regards,

RE: [PHP] virtual domain own php.ini

2004-04-22 Thread Rick Fletcher
on most servers ini_set will be the best you can hope for security settings won't allow alternative php.ini file reads If we're talking about Apache, you can place php config commands in an .htaccess or httpd.conf file. Those files can easily be associated with a particular VirtualHost.

Re: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Rick Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] on most servers ini_set will be the best you can hope for security settings won't allow alternative php.ini file reads If we're talking about Apache, you can place php config commands in an .htaccess or httpd.conf

Re: Re[4]: [PHP] virtual domain own php.ini

2004-04-22 Thread pan
Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello pan, Thursday, April 22, 2004, 8:36:51 PM, you wrote: p on most servers ini_set will be the best you can hope for p security settings won't allow alternative php.ini file reads p that's why Perhaps it would

[PHP] virtual() include path problems

2004-03-15 Thread Scott Taylor
I've been trying to use virtual to include a .shtml file that is outside of my current directory (one level up). I've tried the following: a) virtual(../header.shtml); b) virtual($_SERVER['DOCUMENT_ROOT'] . /header.shtml); c)

Re: [PHP] Virtual Directory Support

2003-12-03 Thread Jason Wong
On Wednesday 03 December 2003 12:51, Ralph Guzman wrote: I have a new installation of PHP 4.1.2 and it appears I cannot run php scripts outside of apache root directory. How did you come to this conclusion? Was there an error message? If so, what did it say? If there was no error message, then

RE: [PHP] Virtual Directory Support

2003-12-03 Thread Ralph Guzman
pages appear to be loading faster. I guess compiling from source provides better performance than installing using rpm. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 1:43 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Virtual Directory

[PHP] Virtual Directory Support

2003-12-02 Thread Ralph Guzman
I have a new installation of PHP 4.1.2 and it appears I cannot run php scripts outside of apache root directory. I look at phpinfo() and I saw Virtual Directory Support is set to disabled. I'm suspecting this could me the problem, but I have not been able to find anything on google or the lists

Re: [PHP] virtual() test

2003-02-28 Thread Ernest E Vogelsinger
At 03:09 28.02.2003, John W. Holmes said: [snip] Can anyone with Apache verify that you can pass arguments inside of a virtual() call? Something like: Virtual(script.pl?id=1) And have $id available within script.pl. I don't have access to an Apache server

RE: [PHP] virtual() test

2003-02-28 Thread John W. Holmes
At 03:09 28.02.2003, John W. Holmes said: [snip] Can anyone with Apache verify that you can pass arguments inside of a virtual() call? Something like: Virtual(script.pl?id=1) And have $id available within script.pl. I don't have access to an

RE: Re[2]: [PHP] virtual() test

2003-02-28 Thread John W. Holmes
TR Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH Can anyone with Apache verify that you can pass arguments inside of a JWH virtual() call? Something like: JWH Virtual(script.pl?id=1) JWH And have $id available within script.pl. JWH I don't have access to an Apache server

Re[4]: [PHP] virtual() test

2003-02-28 Thread Tom Rogers
Hi, Friday, February 28, 2003, 10:41:24 PM, you wrote: TR Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH Can anyone with Apache verify that you can pass arguments inside JWH of a JWH virtual() call? Something like: JWH Virtual(script.pl?id=1) JWH And have $id available within

[PHP] virtual() test

2003-02-27 Thread John W. Holmes
Can anyone with Apache verify that you can pass arguments inside of a virtual() call? Something like: Virtual(script.pl?id=1) And have $id available within script.pl. I don't have access to an Apache server right now to test, so thank you very much. ---John W. Holmes... PHP Architect - A

Re: [PHP] virtual() test

2003-02-27 Thread Tom Rogers
Hi, Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH Can anyone with Apache verify that you can pass arguments inside of a JWH virtual() call? Something like: JWH Virtual(script.pl?id=1) JWH And have $id available within script.pl. JWH I don't have access to an Apache server right now to

Re[2]: [PHP] virtual() test

2003-02-27 Thread Tom Rogers
Hi, Friday, February 28, 2003, 1:16:56 PM, you wrote: TR Hi, TR Friday, February 28, 2003, 12:09:30 PM, you wrote: JWH Can anyone with Apache verify that you can pass arguments inside of a JWH virtual() call? Something like: JWH Virtual(script.pl?id=1) JWH And have $id available within

[PHP] Virtual Directory Support

2003-02-07 Thread Rw
On my phpinfo() it shows Virtual Directory Support to be DISABLED .. does anyone know what the switch setting is called in the php.ini file to ENABLE this setting? Thanks!

[PHP] Virtual includes

2002-08-26 Thread Gregory Barker
Hi all, I'm trying include .php files which reside in alternative directories or sub-directories. Such as a file which reside in www/chat/page.php, and for this page I would like to include a file which resides in www/forum/include/ I've tried the following which just results in a error: include

Re: [PHP] Virtual includes

2002-08-26 Thread David T-G
Gregory -- [You know, you shouldn't just reply to any old message and start a new topic; send a fresh message to the list instead so that it will be the start of a new thread.] ...and then Gregory Barker said... % % Hi all, Hello! % % I'm trying include .php files which reside in

RE: [PHP] Virtual includes

2002-08-26 Thread Scott Houseman
PROTECTED] Subject: [PHP] Virtual includes Hi all, I'm trying include .php files which reside in alternative directories or sub-directories. Such as a file which reside in www/chat/page.php, and for this page I would like to include a file which resides in www/forum/include/ I've tried

Re: [PHP] Virtual includes

2002-08-26 Thread Steve Keller
At 11:12 AM 8/26/2002 +0200, you wrote: I'm trying include .php files which reside in alternative directories or sub-directories. Such as a file which reside in www/chat/page.php, and for this page I would like to include a file which resides in www/forum/include/ Using $DOCUMENT_ROOT has

[PHP] virtual hosting using php as apache module

2002-08-03 Thread Ryan
Hi everybody, I would like to know how to make the directive user/group in virtualhost working with php. I prefer to use php as modules but not cgi, as it is more handy and easy for upgrade. How to do that ? Thx ! Regards, Ryan -- PHP General Mailing List (http://www.php.net/) To

[PHP] virtual coin toss 55%

2002-05-17 Thread Randy Johnson
I was surfing the internet today and found a site that offered a coin toss game in PHP.The site claimed that it used the latest and most random computer algorithms to do the Coin Toss. In the next line it said that you (the player) would win 45% of the time. I would like opinions how

Re: [PHP] virtual coin toss 55%

2002-05-17 Thread Richard Baskett
; our planet is the mental institution of the universe. - Unknown From: Randy Johnson [EMAIL PROTECTED] Date: Fri, 12 Apr 2002 01:07:53 -0400 To: [EMAIL PROTECTED] Subject: [PHP] virtual coin toss 55% I was surfing the internet today and found a site that offered a coin toss game in PHP

Re: [PHP] virtual coin toss 55%

2002-05-17 Thread Jason Wong
On Friday 12 April 2002 13:07, Randy Johnson wrote: I was surfing the internet today and found a site that offered a coin toss game in PHP.The site claimed that it used the latest and most random computer algorithms to do the Coin Toss. In the next line it said that you (the player)

Re: [PHP] virtual host problem

2002-05-10 Thread Ian Newlands
Re question 2: You can set this using the php_value command in apache. I think you need to have the SAPI version configured for this to work though. You might want to check that out. I have only done this on XP, haven't tried it on linux yet. VirtualHost * ServerAdmin [EMAIL PROTECTED]

[PHP] Virtual Directory Support disabled

2001-11-18 Thread Mit Rowe
in phpinfo() displays Virtual Directory Support disabled what exactly is this, and where can i find documentation on it? -Mit ___ Mit Rowe (Will Mitayai Keeso Rowe) Internet Services DreamLabs/Branch Media Inc. ph:

Re: [PHP] virtual

2001-10-30 Thread Nikola Karoviæ
you could try using require(/cgi-bin/folder/program.pl); instead - volim popit, volim zagalamit - Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 30. listopad 2001 04:41 Subject: [PHP] virtual What would cause a fatal error using virtual(/cgi

Re: [PHP] virtual

2001-10-30 Thread Gary
: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 30. listopad 2001 04:41 Subject: [PHP] virtual What would cause a fatal error using virtual(/cgi-bin/folder/program.pl); ? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] virtual

2001-10-30 Thread Nikola Karoviæ
- From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 30. listopad 2001 04:41 Subject: [PHP] virtual What would cause a fatal error using virtual(/cgi-bin/folder/program.pl); ? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] virtual

2001-10-29 Thread Gary
What would cause a fatal error using virtual(/cgi-bin/folder/program.pl); ? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] virtual nulls include problem

2001-09-01 Thread Alfredo Yong
Hi. I use allways the include built in function to conditionally select the php script that build the web page. I need to add a header at he beginning of an already working script, but the directive include don't work: !-- #include virtual=../../../../headlvl4.shtml -- So I'm using

[PHP] virtual() call to CGI script

2001-08-28 Thread Egan
I use the PHP virtual() function to call a CGI script, and that works fine. But I need to prevent the CGI from being executed directly, in case someone tries to access its URL. Since HTTP_REFERER is unreliable, I was wondering how others have solved this problem ... Egan -- PHP General

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Egan
On Tue, 28 Aug 2001 16:38:14 +1000, Jason Brooke [EMAIL PROTECTED] wrote: I use the PHP virtual() function to call a CGI script, and that works fine. But I need to prevent the CGI from being executed directly, in case someone tries to access its URL. Since HTTP_REFERER is unreliable, I

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Jason Brooke
if you're using apache, something along the lines of the following untested directives should prevent anyone but the localhost (which is where your virtual() calls should be coming from) from accessing the cgi's via http Directory /path/to/usr/cgi order deny, allow deny from all allow from

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Egan
On Tue, 28 Aug 2001 23:38:30 +1000, Jason Brooke [EMAIL PROTECTED] wrote: if you're using apache, something along the lines of the following untested directives should prevent anyone but the localhost (which is where your virtual() calls should be coming from) from accessing the cgi's via http

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Jason Brooke
We don't define any virtual hosts in httpd.conf; instead, we use a custom handler hooked into post-read-request. So I won't be able to define /path/to/usr/cgi in httpd.conf. But if that concept will work in user .htaccess files, it would be an improvement over my current techniques. I'll

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Egan
On Wed, 29 Aug 2001 00:16:10 +1000, Jason Brooke [EMAIL PROTECTED] wrote: It will work in .htaccess if you enable it, or you might even be able to use something like: DirectoryMatch ^/path/to/.*/cgi (untested again) After testing this I see that: Apache uses the IP address of the remote host

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Jason Brooke
After testing this I see that: Apache uses the IP address of the remote host to determine whether to allow or deny access. Even though PHP is running on localhost, and making a request via the virtual() function, Apache still knows the IP address of the remote host, and uses that. I

Re: [PHP] virtual() call to CGI script

2001-08-28 Thread Egan
,Deny Allow from env=CGI_REFERER The environment variable CGI_REFERER does not exist unless Apache is processing a request for the_cgi_caller.php in document root, and thus requesting any file in the /cgi subdirectory via its URL results in a HTTP Error 403 - Forbidden. And since PHP virtual

[PHP] virtual() ignoring str_replace()

2001-08-19 Thread Charlie Romero
I'm trying to include a .cgi using the virtual() function and then do a string replace on a string w/in the included page. The virtual seems to ignore the str_replace it just prints the virtual include w/out replacing the word window w/ the word DOG in my example. What am I doing wrong? ?

Re: [PHP] Virtual Servers (apache) and php

2001-08-19 Thread B. van Ouwerkerk
AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .phps If those lines aren't you should get your code in your browser. 403 might be a rights issue. Say you created the file you're trying to open as root you should chown it to the user under which

[PHP] Virtual Servers (apache) and php

2001-08-14 Thread Jay Paulson
Hello- I'm using the virutal hosting in Apache 1.3.19 and I was wondering how to I load php as a module in apache for each virutal web site? anyone have a good link telling you how to do this.. ie a tutorial on the topic? i've read the docs on apache.org and it doesn't really say much at all

Re: [PHP] Virtual Servers (apache) and php

2001-08-14 Thread CGI GUY
Wouldn't it be just to add, say, AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .phps or approximation within the Directory/Directory tags? I think (fingers crossed here) that should do it... --- Jay Paulson [EMAIL PROTECTED] wrote: Hello- I'm

[PHP] Virtual Host document directory.

2001-05-23 Thread Richard Quadling
Hi. I am using Sambar Server on Win98SE, PHP 4.0.5. All is well. The server supports virtual hosts. I am not sure of the terminology outside of Sambar, but effectively, I can go to my browser and enter ... local.site1.com local.site2.com etc. And get different sites. I have a set of PHP

[PHP] Virtual Hosts document root directory.

2001-05-23 Thread Richard Quadling
Hi. I am using Sambar Server on Win98SE, PHP 4.0.5. All is well. The server supports virtual hosts. I am not sure of the terminology outside of Sambar, but effectively, I can go to my browser and enter ... local.site1.com local.site2.com etc. And get different sites. I have a set of PHP

Re: [PHP] Virtual Hosts document root directory.

2001-05-23 Thread Joseph Blythe
Richard Quadling wrote: I assume there is a variable somewhere? Ideas/suggestions please. I think its the predefined apache variable $DOCUMENT_ROOT (look under predefined variables in manual), or try $SCRIPT_FILENAME, you may then parse the part you need. I use Linux so I am only

[PHP] Virtual Hosts on Solaris with iPlanet Enterprise

2001-04-06 Thread Tom Freeman
Does anyone know the way to make php4 running as NSAPI, work with named virtuals? It seems to work only if it is a real virtual (with its own IP) and not a named virtual. Any help is greatly appreciated Tom Freeman Web Analyst StellarRAD Systems an Everest Global Technologies Company p |