You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sean Davis <sd...@mail.nih.gov> on 2005/02/22 12:44:06 UTC

[users@httpd] Web site setup question

What kind of directory structure do people use when building a website? 
  I have a single server and will likely run several self-contained 
url-based tools (response handlers) with associated images, style 
sheets, html, templates, and authen/authz handlers.  When logging, it 
would be extremely useful if all of the files associated with a single 
tool were logged as within one location and could be protected by the 
same authen/authz.  I think I understand the <Directory>, <Files> and 
<Location> directives, but don't see how to put these together to do 
what I want.  There must be a few "standard" solutions in use here, so 
I just wanted to see what others do in these situations.

I would like something like:

htdocs/myurl/imgs
htdocs/myurl/html
htdocs/myurl/templates
htdocs/myurl/css

And I have a mod_perl handler that handles /myurl (but not /myurl/imgs 
or /myurl/html, etc.).

Thanks,
Sean


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org