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 "[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"