|
I'm having a brain seizure, and i'm looking for some direction on the 'BEST' way of organizing web document directories. I'm on V5R3, using apache for static pages and some homespun CGI (the hard way) programs. I want to begin using net.data and CGIDEV as well, and I'm having difficulty deciding the proper way to set up my directory structure, but before I do, I want to make sure I don't paint myself into a corner by doing it wrong. How do you all organize your directories? by document type and then application? or by application and document type. What about images, static pages or net.data macros that could be used in several different applications? Mostly, I'm concerned about my html (static and generated) will be able to easily 'find' my images, other pages, other links, etc. without having to specify full path's to those objects, and to easily navigate between static pages, cgi and net.data links. for instance, can you think of anything functionally different between the following: /live/common/html/... /live/common/images/... /live/common/netdatamacros/... /live/application1/html/... /live/application1/images/... /live/application1/netdatamacros/... /live/application2/html/... /live/application2/images/... /live/application2/netdatamacros/... /test/application1/html/... /test/application1/images/... /test/application1/netdatamacros/... /test/application2/html/... /test/application2/images/... /test/application2/netdatamacros/... and this:? /live/html/common/... /live/html/application1/... /live/html/application2/... /live/netdatamacros/common/... /live/netdatamacros/application1/... /live/netdatamacros/application2/... etc. or some other way of organizing? thanks in advance, Rick
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.