Re: eruby installation remote

<[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
It worked!!!

The exmples run great.

One more question. I have a main public_html folder and my cgi-bin folder is directly underneath it.

I moved the examples test.rhtml and foo.rhtml to the main public_html folder. I have my .htaccess file in the main public_html folder with the options listed below. The file includes  seem to be relative to the eruby executable - I needed to change a line in test.rhtml to ERuby.import("../foo.rhtml"). Is this correct? Will all my *.rhtml incluse be handled the same way?

.htaccess
AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby

AddHandler cgi-script .rb

Thanks!

> 
> From: Shugo Maeda <[email protected]>
> Date: 2004/02/26 Thu PM 07:24:24 CST
> To: [email protected] (modruby ML)
> Subject: Re: eruby installation remote
> 
> Hi,
> 
> At Thu, 26 Feb 2004 11:44:22 -0600,
> <[email protected]> wrote:
> > From the Apache error log:
> > make: execvp: /home/theketch/public_html/cgi-bin/eruby-1.0.5/bin2c: Permission denied
> 
> Please make /home/theketch/public_html/cgi-bin/eruby-1.0.5/bin2c
> executable like this:
> 
> $ chmod +x bin2c
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.