[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CGI bin directory outside document root
- Subject: Re: [cobalt-users] CGI bin directory outside document root
- From: Rob Kennedy <rob@xxxxxxxxx>
- Date: Tue Apr 17 06:09:50 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Most of the time people put it up one directory.. so let's say with the
main site on your raq.. doc root is /home/sites/home/web/ .. make a
cgi-bin in /home/sites/home/ , and add a 'ScriptAlias' line in your
httpd.conf to point to the location like:
ScriptAlias /cgi-bin/ "/home/sites/home/cgi-bin/"
in the virtualhost settings for that domain.
Rob
- --
Rob Kennedy
ASPRE, Inc.
rkennedy@xxxxxxxxx
http://www.aspre.net/
Managed e-Business that works
- ---------------------------------
the first exclusive e-Business Application Service Provider (ASP)
t. 215.957.2266 Ext. 2145
f. 215.957.2277
113 Rock Road
Horsham, PA 19044
On Fri, 13 Apr 2001, Jamie Sue Winkelman wrote:
> I understand that for security reasons, the cgi-bin directory should be
> located outside the server's document root. Where is the best place to
> put this directory? How do I then call scripts located in that
> directory?
>
> I can successfully run scripts from within the server's document root,
> but wish to move the scripts outside the server's document root and have
> not had any luck. Any suggestions?
>
> Thanks!
>
> Jamie
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE62yswgExIAP5wKEsRAryBAJ9iX/r5opZdNCTh3fKdObzdN0eS8gCgg2PA
KOj8aKwTOq9YcWXYl5gJWAg=
=eJaK
-----END PGP SIGNATURE-----