Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bitnami WordPress GCP] What's the difference between /bitnami/wordpress and /opt/bitnami/wordpress? #1643

Closed
everydayrice opened this issue Aug 28, 2024 · 2 comments
Assignees
Labels
how-to How to issues reported by users solved triage Triage is needed wordpress

Comments

@everydayrice
Copy link

Describe your issue as much as you can

As the title states, what is the difference between /bitnami/wordpress and /opt/bitnami/wordpress?

Also, I noticed something similar with /opt/bitnami/apache/htdocs and /opt/bitnami/apache2/htdocs. Any file I upload to apache2 is automatically mirrored in apache. How does this work?

Where exactly is the "root" directory? As in the directory where I can upload a .txt or .html or any file and be able to access it by going to mywebsite.com/file.txt.

@everydayrice everydayrice added the how-to How to issues reported by users label Aug 28, 2024
@github-actions github-actions bot added the triage Triage is needed label Aug 28, 2024
@gongomgra
Copy link
Collaborator

Hi @everydayrice,

Thanks for using Bitnami. /opt/bitnami/apache2 is a symlink to /opt/bitnami/apache for backward compatibility. Regarding /bitnami/wordpress and /opt/bitnami/wordpress, the former is used for persistence of the WordPress config file and the wp-content folder in our containers and VMs (in case you mount another volume to /bitnami), while the latter contains the real WordPress application. You can place your custom files in the /opt/bitnami/wordpress directory for them to be available via HTTP requests.

Hope it helps!

@everydayrice
Copy link
Author

Thanks for the detailed response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
how-to How to issues reported by users solved triage Triage is needed wordpress
Projects
None yet
Development

No branches or pull requests

2 participants