Re: How can I distinguish between production and development?
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Dec 2008 16:57:23 +0100
["Followup-To:" header set to comp.lang.php.]
Beauregard T. Shagnasty wrote:
Beg to differ, good Sir. For my small operation, for development, I'm
running LAMP with my five web sites, all under one "localhost" here.
http://localhost/example/index.php
http://localhost/anotherone/index.php
http://localhost/adifferentone/index.php
etc.
Better is to use the following:
http://example
http://anotherone
http://adifferentone
And then let Apache and hosts fight it out. You can then also much
easier change sttings per website.
Also to me you are running just one website with different
subdirectories on http://localhost
I have e.g. a directory houghi.org/tomtom and houghi.org/moving_pictures
To me those are not two websites.
also have pics.houghi.org and that IS a different website.
houghi
--
Filled with mingled cream and amber I will drain that glass again. Such
hilarious visions clamber Through the chambers of my brain -- Quaintest
thoughts -- queerest fancies Come to life and fade away; Who cares how
time advances? I am drinking ale today. -- Edgar Allan Poe
.
- Prev by Date: Re: Throw Exceptions from setters: second opinion
- Next by Date: Result Sets
- Previous by thread: Re: How can I distinguish between production and development?
- Next by thread: Result Sets
- Index(es):
Relevant Pages
|