Date: Tue, 25 Jan 2005 13:07:43 +0300 (EAT) From: Joseph Begumisa <begj@trueafrican.com> To: Gareth Bailey <gjbailey@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: A simple CGI question Message-ID: <20050125130514.G95995@mail.trueafrican.com> In-Reply-To: <48a5f32a05012501075d2ebef5@mail.gmail.com> References: <48a5f32a05012501075d2ebef5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
normally it would be http://ppp.yyy.com/cgi-bin/cgi-scriptname however, it depends on your scriptalias setting in the httpd.conf file. to access it as above, you would have something like: ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" <Directory "/usr/local/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Joseph. On Tue, 25 Jan 2005, Gareth Bailey wrote: > Hi there, > > I have what i think is a really simple question regarding cgi scripts. > I have an apache chpasswd cgi script that i want to make available so > that users can browse to the url and change their own passwords. > > If a cgi script is in my /usr/local/www/cgi-bin directory, what url > would i use to access the cgi from the web. Would i need to copy the > cgi into my data directory? - i tried this and the browser treated it > as a download. > > Please advise. > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050125130514.G95995>