RevServer on OSX (Snow Leopard Server)
Keith Clarke
keith.clarke at clarkeandclarke.co.uk
Thu Dec 16 07:57:57 EST 2010
...thanks, Andre. I've added the ExecCGI option to the /Library/WebServer/Documents/ directory directive and removed the trailing '/' on the irev script action directive, as my revServer engine is a file within in the (symlinked) /cgi-bin/ folder. Not working yet but hopefully two fewer typos to worry about!
On 16 Dec 2010, at 12:24, Andre Garzia wrote:
> Oh and one addendum (thats latin for missed one thing):
>
> In this piece here from your configuration file:
>
> <Directory "/Library/WebServer/Documents">
> AllowOverride All
> Options MultiViews
> Order allow,deny
> Allow from all
> AddHandler irev-script .irev
> Action irev-script /cgi-bin/revserver/
> </Directory>
>
> You need to change to this:
>
> <Directory "/Library/WebServer/Documents">
> AllowOverride All
> Options MultiViews ExecCGI
> Order allow,deny
> Allow from all
> AddHandler irev-script .irev
> Action irev-script /cgi-bin/revserver/revserver
> </Directory>
>
> You need ExecCGI and you need to provide the engine to the Action handler
> not the folder the engine is in.
>
>
> On Thu, Dec 16, 2010 at 10:21 AM, Andre Garzia <andre at andregarzia.com>wrote:
>
>> Keith,
>>
>> I have this on /etc/apache2/users/soapdog.conf
>>
>> <Directory "/Users/soapdog/Sites/" >
>> AddHandler cgi-script .cgi
>> AddHandler irev-script .irev
>> Action irev-script /cgi-bin/revserver
>> Options Indexes MultiViews ExecCGI FollowSymLinks
>> AllowOverride All
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>> This allows me to execute revserver on my users Sites folder such as
>> http://localhost/~soapdog/test.irev
>>
>> I have this on /Library/WebServer/Documents/.htaccess
>>
>> Options ExecCGI
>> AddHandler irev-script .irev
>> Action irev-script /cgi-bin/revserver
>>
>>
>> I have nothing on Apache httpd.conf and on the .htaccess of CGI-Executables
>> I just have ExecCGI. That is all, things run fine here. I think you are
>> missing ExecCGI on your /Library/WebSever/Documents options.
>>
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list