Gennady wrote:
> Greg Brondo wrote:
> 
>> I guess I'm a little confused.  How can I setup eruby to process .rhtml
>> files without using mod_ruby? (I want it to run as a standard cgi app --
>> I'm going to run it under abyss webserver to be exact).
>>
>> Thanks!
>> Greg B.
>>
> First of all, you need to register extention .rhtml to be handled as a 
> CGI script in your webserver. Then, assuming the server runs on Unix, 
> you should add
> 
> #!/usr/local/bin/eruby -Mc
> 
> as a first line in your .rhtml file.

and make your .rhtml file executable with "chmod +x", of course.

> 
> You may need to replace "/usr/local/bin" with whatever directory "eruby" 
> is installed in on your system.
> 
> Gennady.
>