WEBMASTER wrote:
> Hello everybody.

Hi. Real names appreciated.

> 
> I am on a new server and have discovered the Directories in the
> CGI-BIN are visible to everybody. This is, if a type
> www.mysite.com/cgi-bin  I get a list of all the files and
> subdirectories, and so for every subdirectory. 
> 
> I had never had this issue.

Somebody has mucked with the server configuration.

> 
> What is the best permission for my directories?

Not the issue.

> 
> Now, they are 755, but I'm not sure if changing it will cause the
> scripts not to run.

That should be fine.

> 
> The other way would be to place an index.html file in every directory
> causein the files not to get listed, but I'm sure there's a correct
> way to do it.

You need to disable index generation. It's not a permission issue. It's also
not a Perl issue. Read the docs for your web server.

HTH

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to