PHP and Livecode Server living together on Dreamhost.

stephen barncard stephenREVOLUTION2 at barncard.com
Sun Jan 15 21:50:59 EST 2012


Thanks Michael - that did the trick.  This saved me a lot of searching...
I guess making any statement would wipe out params set at a higher level.
Hierarchal - like css.
this works all around - everybody's happy

Options +ExecCGI FollowSymLinks
AddHandler livecode-script .lc .irev
AddHandler php5-script php htm html
DirectoryIndex index.irev index.lc index.php index.html
Action livecode-script /cgi-bin/livecode-server/livecode-server


On 15 January 2012 18:33, Michael Kann <mikekann at yahoo.com> wrote:

> -- You might have to let php in on the fun in the following line:
> AddHandler livecode-script .lc .irev
>
> http://www.webmasterworld.com/php/3127670.htm
>
> --- On Sun, 1/15/12, stephen barncard <stephenREVOLUTION2 at barncard.com>
> wrote:
>
> From: stephen barncard <stephenREVOLUTION2 at barncard.com>
> Subject: PHP and Livecode Server living together on Dreamhost.
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Date: Sunday, January 15, 2012, 5:51 PM
>
> Hi Gang,
>
> I host many livecode-driven sites on *Dreamhost* using the *
> .htaccess*method, thanks to refinements developed by Andre Garzia a
> few months back.
> This way I don't have to touch Apache, and can't because it's a shared
> server. We couldn't get it to work on the VPS server there, as DH
> virtualize a lot of Apache stuff.
>
> So I put a short file at the top of every domain folder. this (along with
> another .htaccess file in cgi-bin) allows Livecode Server to run:
>
> Options +ExecCGI FollowSymLinks
> AddHandler livecode-script .lc .irev
> DirectoryIndex index.irev index.lc index.php index.html
> Action livecode-script /cgi-bin/livecode-server/livecode-server
>
> This is a modification of a script provided in the docs.
>
> however this script seems to disallow the running of php scripts at the
> same time.
> When this top *.htaccess *script is removed then PHP works.
>
> Is there something I'm missing?
> Surely it's something I said.
>
>
> thanks in advance for any help.
>
> sqb
> --
>
>
>
> Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list