You are here: what is the normal structure of your web pages on your server? « HTML « IT news, forums, messages
what is the normal structure of your web pages on your server?

Posted by John Salerno on 03/18/06 22:55

Out of curiosity, is there any kind of standard practice for where
html/php/asp, etc. pages get stored on a web server? What I mean is,
when you upload your pages, do they all get put in a root directory? Or
an 'html' folder? Do you separate your PHP/ASP etc. files into a
directory that is separate from the HTML files? Or are they all put
together?

I ask this because I just signed up for a Python package, but it
requires that the PSP (Python Server Pages) files be put in a folder
called 'python'. There is a separate folder for html files called
'htdocs'. Now, I could, if I wanted, put all my files in the python
folder and just use that, but if I use the separate folders, then any
links to my pages would require this: ../htdocs/file.html and that does
not seem portable to other servers.

So when you write your static html pages and your dynamic PHP etc.
pages, do you put them all together so that the links to them are simply
the file name itself? Or should they be split into appropriate folders?

Thanks, hope that made sense!

John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация