Re: VDE

From: Date: Thu, 26 Oct 2000 03:50:02 +0000
Subject: Re: VDE
Groups: php.general 
Request: Send a blank email to php-general+get-22019@lists.php.net to get a copy of this message
Addressed to: glenn palmer <gpalmer@sfu.ca> php-general@lists.php.net ** Reply to note from glenn palmer <gpalmer@sfu.ca> Mon, 23 Oct 2000 16:28:11 -0700 > > Hi all, We are building a site on a server which is set up in a way I've > never come across before. They use what they call a > VDE(VirtualDomainEnvironment). Has anyone come across this before? Its > unlike anything I've ever seen, and the support is very slim unless one > is using perl. > > From what I can gather, scripts must go in a directory called /cgi. First > line needs to be a shebang like in perl, but pointing to > /usr/local/bin/php. What the file extension needs to be is anyone's > guess. I've tried putting a test file with every extension I could think > of (.php, .php3,.phtml and even .html) and I get a 404 when I try to > access it. > > Has anyone ever worked in this kind of environment? Is anyone, perchance, > building sites that are hosted by xo.com? I'm really stuck and the faq's > all presume the scripting is being done in perl? Any help or hints > gratefully received. Follow the instructions for Perl, except where they show: #!/path/to/perl as the first line, and perl code in the programs you do: #!/path/to/php as the first line, and use php code in the files. That first line controls what 'shell' executes the scrip. If they are actually using it as it should be used, just substituting the path to php should cause your scripts to be executed by php. Rick Widmer Internet Marketing Specialists www.developersdesk.com

« previous php.general (#22019) next »