PHP and Livecode Server living together on Dreamhost.

stephen barncard stephenREVOLUTION2 at barncard.com
Sun Jan 15 18:51:03 EST 2012


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