From: John Joyce Date: 2007-07-02T02:13:31+09:00 Subject: Re: Ajax with Ruby problem On Jun 28, 2007, at 8:23 PM, Gale CC wrote: > > I'm sorry to spam the board like this, but I had to correct myself on > what I wrote before. I had a new insight which conflicts with what I > wrote before. > >> No, I dont think just pre-pending "/cgi-bin" would do any magic. > > Yes, adding /cgi-bin does do the magic! I realized this after playing > around with Apache and html scripts for a while today. I noticed that > the httpd.conf had the line : > ScriptAlias /cgi-bin/ /usr/local/apache2/htdocs/cgi-bin/ > > This means that whatever that is inside > /usr/local/apache2/htdocs/cgi-bin/ would now simply be referred to as > /cgi-bin no matter where you access it from. So whatever I wrote > before > is completely wrong - sorry about that. > > Thanks, > Gale > Thanks for posting your solution! It may be useful to somebody else. I thought it might be something like that. I have had my own difficulties with Apache configuration before! (and still do from time to time)