[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Universal CGI-BIN
- Subject: Re: [cobalt-users] Universal CGI-BIN
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Sat Aug 12 00:52:52 2000
> ><form action=/cgi-sys/formmail.pl>
> >
> >So far I think I make an alias in the srm.conf
> >/cgi-sys/ /home/sites/home/web/cgi-sys/
>
> That is correct. You will need to restart httpd after you add the above
to
> srm.conf. I used /cgi-local/ /home/sites/home/web/cgi-local/ and it seems
> to be working correctly.
BE CAREFUL!
I would suggest you...
su
enter roots passwd
cp /etc/httpd/conf/srm.conf /etc/httpd/conf/srm.conf.clean
pico -w /etc/httpd/conf/srm.conf file
ScriptAlias /cgi-sys/ /usr/cgi-sys/ (By the other one)
to restart apache use
/etc/rc.d/init.d/httpd.init restart
exit
However that won't work the greatest because you have to add every new
domain by hand to the formmail program. for example:
@referers = ('worldwidemart.com','206.31.72.203'); but you can do it.
http://www.worldwidemart.com/scripts/cgi-bin/download.cgi?s=formmail&c=txt&f
=README
Zeffie