This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Create extra folder in home directory when creating users
« on: September 18, 2024, 07:47:59 AM »
Hello,
I created a specific virtual host template for websites.
I want to host the log files under the home directory
This is what I added :
# CustomLog /home/kockel/logs/kockel.be.bytes bytes
CustomLog /home/kockel/logs/kockel.be.log combined
ErrorLog /home/kockel/logs/kockel.be.error.log
Everything is created fine when creating a new user.
Only big issue : the logs folder is NOT created...
When rebooting apache, it fails...
Anyone has a solution for this? Are there any template folders that I need to adjust? or a script?
I created a specific virtual host template for websites.
I want to host the log files under the home directory
This is what I added :
# CustomLog /home/kockel/logs/kockel.be.bytes bytes
CustomLog /home/kockel/logs/kockel.be.log combined
ErrorLog /home/kockel/logs/kockel.be.error.log
Everything is created fine when creating a new user.
Only big issue : the logs folder is NOT created...
When rebooting apache, it fails...
Anyone has a solution for this? Are there any template folders that I need to adjust? or a script?
Pages: [1]