>Hi all: > >I have a newbie problem: > >I wrote a guestbook script that writes to my "guestbook.htm" file. I put >this file inside the cgi-bin so it could be written to, but now, obviously, >nobody can view it and they get a 500 internal server error. > >What is the right way to do this? Should I put the .htm file outside the >cgi-bin and set write permissions on it? "Right way?" I'm not sure I've ever heard of the right way. You could: -Put it outside and give you webserver permissions to write to it. -Or have the guestbook script actually return the file on the fly for you. If you do that, then you can actually keep the guestbook info in a database type thing and format it on the fly. -Andrew /*------------------------------------------------------------- Andrew O. Mellinger Direct: (503) 265-1220 Critical Path Software, Inc. Main: (503) 222-2922 General Specialist Fax: (503) 222-3020 mailto:andrew@criticalpath.com http://www.criticalpath.com -------------------------------------------------------------*/ # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org