Johannes Kingma
Basic Pleskian
- Server operating system version
- 4.18.0-553.157.1.lve.el7h.x86_64
- Plesk version and microupdate number
- Shared hosting, not disclosed
For some reactive fe / PHP be I've made some great projects in this structure:
Template would work but hosting should now point to /project/htdocs as root, and not to /project.example.com. This can be done manually during of course. I just wonder if it is possible to create all projects in this way, and most importantly have php and apache write its log files to the /projects/logs folder instead of the default /logs/project.example.com folder.
If I'm no making sense or if this was already asked. I'd be happy to take some pointers.
Code:
/project
/config (.env files and stuff)
/data (sqlite databases if needed)
/htdocs
/ (fe deployment html/compiled js/css...)
/api (be deployment PHP)
/uploads (project needed file uploads
/logs (be log destination)
/backup (backups, db dumps, uploads, config)
Template would work but hosting should now point to /project/htdocs as root, and not to /project.example.com. This can be done manually during of course. I just wonder if it is possible to create all projects in this way, and most importantly have php and apache write its log files to the /projects/logs folder instead of the default /logs/project.example.com folder.
If I'm no making sense or if this was already asked. I'd be happy to take some pointers.