AmigaActive (474/1947)

From:Don Cox
Date:7 Apr 2001 at 15:44:26
Subject:Re: AA tutorials

Hello David

On 07-Apr-01, David Jones wrote:
> Hi,
> I have been working on a number of AA tutorials based around Apache
> and running cgi scripts.
> I have successfully installed Apache and it works great with php. The
> problem is that when trying to run the guestbook cgi script,(mentioned
> in the AA tutorial) I get an error saying I have no permission to
> access the cgi-bin. I have already run chmod which allowed me to run
> the script in the first place, but when I enter details into the
> browser page. I get the above Apache error message. No details
> appeared in the tutorial about how exactly chmod is used.I ran it
> through the shell using 755 and naming the files I wanted to change
> the permissions on. But I'm not sure if this was correct. What is the
> line I should have typed? If anyone understands my problem and can
> help let me know. Any help would be great.

The problem I found was that if you change the script and save it,
AmigaDOS changes the permission bits again. The Amiga "rwed" doesn't seem
to match what these Unix programs want.

So you have to run chmod again after every save.

Anyone know any more?

Regards



Don Cox
doncox@enterprise.net

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Do you have 128-bit SSL encryption server security?
Get VeriSign's FREE Guide, "Securing Your
Web Site for Business." Get it now!
http://us.click.yahoo.com/2cW4jC/c.WCAA/bT0EAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/