Re: Web server structure?



On Mon, 23 Jun 2008 18:20:55 -0400, John Salerno
<johnjsal@xxxxxxxxxxxxxxx> wrote:

Hi everyone. This isn't exactly HTML related, but I figured you guys
know a lot about *hosting* all that HTML as well! :)

Anyway, I was wondering what the common practice is for structuring your
directories on your hosting server. Is it still normal to put CGI
scripts in their own directory? Is it better to put everything in a
single directory?

For some things, like images, it seems maybe beneficial to keep them
separate, just to be orderly. But, assuming there are no server/provider
limitations on where you can put things, is it better to put static and
dynamic web pages in the same directory? Does anyone still use a
/cgi-bin directory, for example?

My opinion is to have directories:
cgi-bin
pages
dynpages
pictures
documents
css
scripts
.....anyway, it's up to you ...
.



Relevant Pages

  • Store images in a database or in the directory?
    ... but after being told by my client's hosting ... scripts to write in, I'm now leaning towards the images-in-database ... hosting server write to that directory? ... The hosting support guy said something like "It's safe because nobody ...
    (comp.lang.php)
  • Re: file locks and a counter
    ... Fortran is my syntax of choice for my avocation in numerical analysis, ... Even Matt himself recommends people use ... of his scripts have race conditions and the above locking and test ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ...
    (comp.lang.perl.misc)
  • Re: memory_get_usage() and benchmarks
    ... by any benchmarking gurus over the weekend. ... The plan is to launch them on an affordable shared hosting plan to ... benchmark a PHP script for a live environment. ... told me that they automatically kill any scripts using over 200 MB. ...
    (comp.lang.php)
  • Re: httpmodule
    ... I thought this wass working on your local machine? ... >is it that the hosting service has redirected the page and before it reaches ... >>>Considering that hosting server doesnt support httpmodules, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web server structure?
    ... know a lot about *hosting* all that HTML as well! ... For some things, like images, it seems maybe beneficial to keep them ... I use separate directories for things that might be used by pages ... I do not use cgi-bin for CGI scripts. ...
    (alt.html)