The /opt directory can be used to store shared components, as follows:
/opt/os - All open source components
/opt/common - All common scripts, such as form validation for contact us forms, anti-spam code.
- /php - to protect the server
- /footer - Footer text, specifically the company name and copyright indicator. This ensures it can be changed in one place to update every page on the server.
New accounts could access these components like so:
These links allow relative references to the common resources, while providing central sourcing.