My provider does not allow me to create the folder /var/local/alloc
Is there a way I can modify the installation code to create that folder under the /public_html/alloc folder? Has anyone ever done this? Any issues with doing this? I'm basically wanting to know is there a "search and replace" string I could put in to accomplish this. I'm more of a business guy than a techie...
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you do need to change the location, you will need to locate and change the allocPSA source code, as well; further, you will need to track and re-apply this change in successive new versions of the codebase.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason why things might be placed outside of the /public_html/ path is for security reasons. The web server process probably can't access the /var/local/alloc directory. Does your hosting service provider make available chrooted web-jail environment? This would mean you could have your own private version of /var/local/alloc, which you can write to.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
My provider does not allow me to create the folder /var/local/alloc
Is there a way I can modify the installation code to create that folder under the /public_html/alloc folder? Has anyone ever done this? Any issues with doing this? I'm basically wanting to know is there a "search and replace" string I could put in to accomplish this. I'm more of a business guy than a techie...
Thanks!
It is a jailed environment but not chrooted. They said they file could be installed in my /home directory instead of /var
Does this sound like it would work? If so what would I need to modify to make this work..
Thanks in advance!
Hi,
Modify the ATTACHMENTS_DIR path in the alloc_config.php directory.
Cheers,
Alex Lance
http://allocPSA.com
If you do need to change the location, you will need to locate and change the allocPSA source code, as well; further, you will need to track and re-apply this change in successive new versions of the codebase.
Hi there.
Is this still an issue?
The reason why things might be placed outside of the /public_html/ path is for security reasons. The web server process probably can't access the /var/local/alloc directory. Does your hosting service provider make available chrooted web-jail environment? This would mean you could have your own private version of /var/local/alloc, which you can write to.