<div dir="auto">Thanks. I thought I had seen this talked about on the list</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 16, 2023, 1:03 PM Michael Stauber <<a href="mailto:mstauber@blueonyx.it">mstauber@blueonyx.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tim,<br>
<br>
> I have a client that uses FTP to put files up in a dir and then he <br>
> points his clients to that dir to download the file(s)<br>
> <br>
> Problem is ...  his client now gets  "  You do not have permission to <br>
> access the requested file on this server."<br>
> <br>
> How do I turn on "show files in a dir (without an index.php file in there)"<br>
<br>
<br>
This feature in Apache is called "Autoindex". If enabled and allowed, it <br>
will generate a list of files in the given directory - provided there is <br>
no index.html or index.php (or similar) present.<br>
<br>
We recently made this configurable via the GUI and the details of that <br>
are explained here:<br>
<br>
<a href="https://mail.blueonyx.it/pipermail/blueonyx/2022-December/062852.html" rel="noreferrer noreferrer" target="_blank">https://mail.blueonyx.it/pipermail/blueonyx/2022-December/062852.html</a><br>
<br>
In essence:<br>
---------------------------------------------------------------------<br>
Under "Server Management" / "Network Services" / "Web" under the divider<br>
called "Options" you have the checkbox called "Indexes".<br>
<br>
If this is NOT ticked, then directory listings will now be forbidden in<br>
everything under /home/sites/.<br>
---------------------------------------------------------------------<br>
<br>
But you can also forbid it server wide and just selectively put an <br>
.htaccess file into directories you want to expose to the public. In <br>
that case just put this text into the .htacces file:<br>
<br>
Options +Indexes<br>
<br>
That should do the trick.<br>
<br>
-- <br>
With best regards<br>
<br>
Michael Stauber<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank" rel="noreferrer">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer noreferrer" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div>