# SSL Issue

**URL:** <https://forum.infinityfree.com/t/ssl-issue/63054>\
**Category:** Hosting Support\
**Created:** [June 23, 2022, 3:52pm UTC](https://forum.infinityfree.com/t/ssl-issue/63054 "2022-06-23T15:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [June 25, 2022, 9:07am UTC](https://forum.infinityfree.com/t/ssl-issue/63054/7 "2022-06-25T09:07:41Z")

</div>

![Screenshot 2022-06-25 110607](https://forum-cdn.infinityfree.net/original/3X/1/0/1019d60417268e85d4a169c4601b984273f08661.png)  
 ![Screenshot 2022-06-25 110525](https://forum-cdn.infinityfree.net/original/3X/6/9/698052276182b0d7ef9c59433f808a85fe94c9bb.png)

And that code is repeated in various pages

* * *

It would be better not to have a `public` dir

![Screenshot 2022-06-25 111504](https://forum-cdn.infinityfree.net/original/3X/7/f/7f66634e1d923e1bc262c875f8ef8c7da1ab6b0b.png)

rather than having all the files from it put to root (keep the files structure that is inside that dir)

root = htdocs folder

so index.php is called when someone types just this into the browser  
`octatradefx.freecluster.eu`

Note: complications are possible if the `public` dir is hardcoded somewhere in the path of your code.

In addition, it would be desirable [to create a .htaccess file](https://forum.infinityfree.com/t/how-to-set-custom-htaccess-rules/49350)  
in the htdocs folder (or edit existing if you have it in the `public` folder after you move the files)  
so that no one can dig through the contents of your directories.

```auto
# Disable Directory Listings in this Directory and Subdirectories
Options -Indexes

```

---

_[View the full topic](https://forum.infinityfree.com/t/ssl-issue/63054)._
