Roundcube Community Forum

Release Support => Older Versions => Release Candidate 1 => Topic started by: hcl on October 18, 2007, 09:41:23 PM

Title: How to protect show directory
Post by: hcl on October 18, 2007, 09:41:23 PM
Hi all
..how to protect directory http://mail.mydomain.tld/skin/ or http://mail.mydomain.tld/program/ for not show guest on the web ?

if guest click link http://mail.mydomain.tld/skin/ there can show file, how to protect ?
let me know
Title: Re: How to protect show directory
Post by: SKaero on October 18, 2007, 09:48:59 PM
Just make a new file index.html and upload it to the sever that will keep it from showing up.
Title: Re: How to protect show directory
Post by: hcl on October 18, 2007, 09:56:01 PM
Good idea - im forget -lol- 8)

Im write custom page here:
Code: [Select]
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;[url]http://www.w3.org/TR/html4/strict.dtd&quot;>[/url]
<HTML><HEAD><TITLE>Directory listing is denied</TITLE>
<META HTTP-EQUIV=&quot;Content-Type&quot; Content=&quot;text/html; charset=Windows-1252&quot;>
<STYLE type=&quot;text/css&quot;>
 BODY { font: 8pt/12pt verdana }
 H1 { font: 13pt/15pt verdana }
 H2 { font: 8pt/12pt verdana }
 A:link { color: red }
 A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>

<h1>Directory listing is denied</h1>
The Web server is configured not to display a list of the contents of this directory.
<hr>
<p>Please try the following:</p>
<ul>
<li>Contact the Web site administrator if you believe this directory should allow browsers to display a list of its contents.</li>

</ul>
<h2>HTTP Error 403.14 - Forbidden: Directory listing denied.<br />
APACHE </h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a href=&quot;[url]http://httpd.apache.org/&quot;>apache[/url] </a> and perform a title search for the words <b>HTTP</b> and <b>403</b>.</li>

<li>Open <b>httpd Help</b>, which is accessible in httpd Manager (apache),
 and search for topics titled <b>Web Site Setup</b>, <b>Securing Your Site with Web Site Permissions</b>, and <b>About Custom Error Messages</b> on <a href=&quot;[url]http://httpd.apache.org/docs/&quot;>here</a>[/url] </li>
</ul>

</TD></TR></TABLE></BODY></HTML>