RevServer on OSX (Snow Leopard Server)
Keith Clarke
keith.clarke at clarkeandclarke.co.uk
Thu Dec 16 08:25:25 EST 2010
...sorry, you're correct, it's an alias - mea culpa, still learning the jargon as well as the syntax!
Just to be clear, are you running a standard Snow Leopard machine as a server or the formal OSX Server product - I'm running the latter and the web services settings are very different to those on my standard Snow Leopard MBP?
On 16 Dec 2010, at 13:11, Andre Garzia wrote:
> Keith,
>
> Symlink? Are you sure your CGI-BIN folder is a symlink and not an alias?
>
> Check your Apache Error logs for suEXEC violations, you may be facing Apache
> suEXEC violations...
>
> As for your other email, this is plain vanilla snow leopard. I think it
> creates a conf file for each user in the machine automatically, can't
> remember if I created that or not.
>
> On Thu, Dec 16, 2010 at 10:57 AM, Keith Clarke <
> keith.clarke at clarkeandclarke.co.uk> wrote:
>
>> ...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
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> 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