# Accessible directory

**URL:** <https://forum.ghost.org/t/accessible-directory/46566>\
**Category:** Developer help\
**Created:** [April 15, 2024, 12:35am UTC](https://forum.ghost.org/t/accessible-directory/46566 "2024-04-15T00:35:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![h3nd1](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/h3nd1/32/29875_2.png) [@h3nd1](https://forum.ghost.org/u/h3nd1)\
**Post date:** [April 15, 2024, 12:35am UTC](https://forum.ghost.org/t/accessible-directory/46566/1 "2024-04-15T00:35:51Z")

</div>

Hi all the gurus

I just managed to setup ghost (self host), with environments as follow: Ubuntu, Apache, MariaDB, Node’s 18.x and also managed to install ghost with: ghost install (ghost 5.82.1) - my not to fancy site: [https://ic3blue.com/](https://ic3blue.com/)

I also would like to host Clamav database cvdupdate e.g. [https://ic3blue.com/clamavcvd](https://ic3blue.com/clamavcvd) - I managed to make it work with Wordpress, but not with ghost

Below is the snippet of my conf setting:

ServerName [ic3blue.com](http://ic3blue.com)

DocumentRoot /var/www/ghost/

```
    Alias "/clamavcvd/" "/var/www/testing/"

    <Directory "/var/www/testing/">
       Options All
       Require all granted
       AllowOverride All
       Order allow,deny
       allow from all
    </Directory>

    <Directory /var/www/ghost/>
        Options Multiviews FollowSymlinks
        DirectoryIndex index.php index.html
        AllowOverride All
        Require all granted
        Satisfy Any
    </Directory>

```

ErrorLog ${APACHE\_LOG\_DIR}/ghost\_error.log  
CustomLog ${APACHE\_LOG\_DIR}/ghost\_access.log combined  
SSLEngine on  
SSLCertificateFile /etc/letsencrypt/live/ic3blue.com/fullchain.pem  
SSLCertificateKeyFile /etc/letsencrypt/live/ic3blue.com/privkey.pem  
Include /etc/letsencrypt/options-ssl-apache.conf  
ProxyPreserveHost On  
ProxyPass / [http://127.0.0.1:2368/](http://127.0.0.1:2368/)  
ProxyPassReverse / [http://127.0.0.1:2368/](http://127.0.0.1:2368/)  
RequestHeader set X-Forwarded-Proto “https”

Can somebody help me please 🙂

Thank you

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [April 15, 2024, 12:23pm UTC](https://forum.ghost.org/t/accessible-directory/46566/2 "2024-04-15T12:23:45Z")

</div>

It’s always helpful if you can post in what way something is not working, including any error messages.

BTW, in case you’re not aware, MariaDB is not officially supported since 5.x, and you may have issues running a Ghost version that high on it. (It was around 5.25 that there was something breaking with Maria, but it’s possible that 5.81 runs - not sure.)

---

<div class="post-metadata">

**Author:** ![h3nd1](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/h3nd1/32/29875_2.png) [@h3nd1](https://forum.ghost.org/u/h3nd1)\
**Post date:** [April 15, 2024, 4:27pm UTC](https://forum.ghost.org/t/accessible-directory/46566/3 "2024-04-15T16:27:10Z")

</div>

Thank you for your reply, ghost gave me 404 page not found

The reason I used MariaDB is because my old setting with Wordpress

With Wordpress, I can access the directory and the clamav database is listed. With ghost (same setting of Alias), it gave me error 404

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [April 15, 2024, 5:05pm UTC](https://forum.ghost.org/t/accessible-directory/46566/4 "2024-04-15T17:05:04Z")

</div>

So I don’t do Apache, but it looks like you’re telling it to serve files from a Ghost directory. That doesn’t work. Instead, you need to set up Apache to act as a proxy for your Ghost server, and let the Ghost server (Node) do its thing.

This is older, but might help get you started: [Ghost in Subdirectory on Apache2 - #3 by Hannah](https://forum.ghost.org/t/ghost-in-subdirectory-on-apache2/9759/3)

---

<div class="post-metadata">

**Author:** ![h3nd1](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/h3nd1/32/29875_2.png) [@h3nd1](https://forum.ghost.org/u/h3nd1)\
**Post date:** [April 15, 2024, 8:30pm UTC](https://forum.ghost.org/t/accessible-directory/46566/5 "2024-04-15T20:30:54Z")

</div>

Hi Cathy

I already read the link that you provided and still not successful

At the end, I rebuild my server, the environments now: Ubuntu, Nginx, mysql, nodejs 18.x and current ghost.

Now, I can managed to host the clamav database, yay 🙂

My other question is: regarding of Mailgun - get my heads in - perhaps I should publish a new post?
