I am creating a new application. I currently have all of the server code, configuration, log and data files in directories that do not follow any kind of standard. Looking at the Wikipedia article on Filesystem Hierarchy Standard I have come up with this new arrangement:
/opt/stevedore/ Server Code
/etc/stevedore/steve_site_config.pl Server Configuration
/var/log/stevedore/ Server Logs
/srv/stevedore/ Server Site Data (Document tree)
Having used Apache were the data files are located in /var/www/
the pattern would seem to indicate that the data files should be located here instead:
/var/stevedore/ Server Site Data (Document tree)
Additionally, the users check out local copies of documents for editing which are located in these directories:
~/MyStevedore/ User - Editable files
~/MyStevedore/CheckOut/ User - Files to CheckOut
~/MyStevedore/CheckInToPublish/ User - Files to CheckIn To Publish
- Which is better for a default and why:
/srv/stevedore/
vs/var/stevedore/
? - How about
~/MyStevedore/
for standard user specific directories?
For more details on the application see the Stevedore Web Site and the code at the time of this posting.