PDA

View Full Version : How to create cgi-local?


myplanet
21st June 2006, 02:41 PM
Hello,

I've tried Google but cannot find an answer. I need to run a perl script within a password protected directory. How can I create a subdirectory cgi-local with the appropriate permissions to run this?

I'm a newbie, but comfortable with FTP or working via SSH.

Cheers, Jason

myplanet
24th June 2006, 08:56 AM
Is it not possible?

mikk
24th June 2006, 10:22 AM
plesk8 allows you to easily password protect a directory in the cgi-bin, so really unsure as to what your query really is.

myplanet
24th June 2006, 11:50 AM
We have a directory already secured with a wide variety of username/password. This is managed by a php script and is located under httpdocs.

I have a cgi-script that needs to be run under this directory (so it is protected by the same set of username/password).

If I locate it under the CGI bin, the original php script cannot secure two directories at once, so it wont work.