Hi All,
I am sorry for making any trouble... as long I am still very new to here...
and I am here because I am very new to perl too... I have no idea on how
to identify if my question is a real cgi question. I ask, just because I
only
think in the way if there are any problems along my scripts.
At lease, in my case, I am unable to read write files... but I don't know if
there is something wrong in my script or becasue of path declarations.
Anyway, would anybody inform me some more correct behavior for
using these mailing list? and I am very happy to see any forward ideas
for my case. Thank you very much
Exile
----- Original Message -----
From: Gary Stainburn <[EMAIL PROTECTED]>
To: Exile <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 5:40 PM
Subject: Re: CGI-BIN
> Hi,
>
> firstly, a couple of netiquet (I hate that word) points. It's
> generally not a good idea to post to many lists at once, as this causes
> duplicated and fragmented threads. The beginners-cgi is probably the
> best of the two to use.
>
> Secondly, this isn't really a perl question, but a web server question
> - although we're not averse to answering those too, but you would get
> better replies from a web server mailing list.
>
> the /cgi-bin/ directory is actually an alias set up in the web server's
> config file. On Apache, which you're running, this will be somewhere
> in httpd.conf. This file will probably be in /etc/httpd/conf or
> /usr/apache/conf, depending on which Linux distribution you're running
> and how you installed Apache. If you are running virtual hosts, it
> will probably be in the ...../conf/vhosts/Vhosts.conf.
>
> This alias can point to any directory on Linux's filestore depending on
> your apache and Linux permissions. Apache knows because it's a
> ScriptAlias to run the file as a program rather than to simply send
> it's contents to the browser.
>
> There are plenty of good books and tutorials out there for Apache. I
> suggest that you have a look, and do some reading - at least covering
> the basics of Apache and Linux.
>
> Gary
>
> On Tuesday 05 June 2001 9:00 am, Exile wrote:
> > Hi All,
> >
> > I 've try to write some CGI scripts, however, I have to put my
> > scripts in cgi-bin..
> > so... anybody tell me what is this?
> >
> > I mean.... anybody can tell me some concepts about redirect? My most
> > problem is, I can't read write files in my home directory.
> >
> > The other case is , is that cgi-bin is not a real folder? Is that
> > helpful to hide my
> > scripts from users?
> >
> > Besides, is that the cgi script can be called globally within my
> > account? such as, I can put <form action=/cgi-bin/myscrip.pl
> > method=post> wherever?
>
> --
> Gary Stainburn
>
> This email does not contain private or confidential material as it
> may be snooped on by interested government parties for unknown
> and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
>
>