[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auth report.
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 4 Mar 1999, Daniel E. Markle wrote:
> On Thu, Mar 04, 1999 at 08:54:05AM -0800, Aaron D. Turner wrote:
> > /cgi-bin/ - anyone can run (no protection)
> > /cgi-bin/comment/ - commenting scripts
> > /cgi-bin/add/ - adding content to DB
>
> I don't think apache supports .htaccess files in the cgi directories. Unless
> mod_perl does, I don't think it will work this easily.
>
> The way I understand it mod_perl scripts are not like cgi's, they are more
> like php, in which case, do we even need/want to put these in cgi-bin,
> should we put these in the document dirs like php scripts?
Actually, you're right, I was being a bit too simple. PHP doesn't go in
cgi-bin and neither do mod_perl scripts. mod_perl scripts need to go in a
mod_perl enabled directory such as /perl.
BTW, we don't need to put the control in .htaccess files, you can also put
them in the httpd.conf file as well in <Directory></Directory> blocks.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNt763TM3jpXy1kJtAQFFoAP/YXR+Jef2ae+n/XvD8vvfkwYfKpTwHgO7
Eyw9DHiCpriP1dtY9TaKW2wDQ8UeiE8wDryyjkS8BXb3Fa0vppjNTpixs1kTuMCa
f+V9fL4DlAesOcUKZxJUroihJLR6Uo1hPQVQXpNyzIFBV1gPDFXvS1eLSdHx1UG6
UIKMmQnoPwM=
=4mIW
-----END PGP SIGNATURE-----