Re: How can I distinguish between production and development?



["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
.



Relevant Pages

  • Re: Slow Downloads
    ... The link I provided was for Broadband Reports, not Cox. ... comfortable switching from IE to another browser. ... Are there any Web sites that cause no problems at all? ... America's website takes a long time to load. ...
    (microsoft.public.windowsxp.general)
  • Re: Visual Studio "New Project" or "New Website"
    ... that you can't do with a WebSite (providing you use "Publish WebSite, ... They're not available for web sites, ... cause your code to be compiled first, and can even compile or partially ... and I had been developing ASP.NET Web Applications ...
    (microsoft.public.vsnet.general)
  • Re: IIS 6.0 Unique ID generation
    ... but I don't think it needs the ID to create the website. ... > I am hosting multiple web sites on a w2k3 server and want to create web ... > use and create the new site with that ID but I know MMC uses an algorithm ... IIS 6.0 assigns unique IDs based on the specified ...
    (microsoft.public.inetserver.iis)
  • Re: browser warning for Web Standards Compliance
    ... Cannot Connect to Secure Websites ... completing Internet transactions - or if you have started seeing the message ... "HTTP 500 internal server error" when trying to visit secure Web sites - ... > When trying to reach my bank website, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Need help understanding metaclassing
    ... DefaultUser class, but how can I get access to it? ... I am writing a testing application for many web sites that require user ... a metaclass of user for each user configuration a website might require. ...
    (comp.lang.ruby)