|
Hi all - I am trying to set up a test environment for my web site where I
can make changes to certain pages, put the changed pages in a folder
called TEST and then run my regular site but whenever one of the changed
pages is referenced (whether via an include statement, or a submit, or
HREF) the page that is used is the one in TEST, not the one in the
production folder. Essentially, I want this to behave the way an AS/400
library list works - somehow put folder TEST in front of the other folders
but only do this when running in test. I don't care whether "running in
test" means going to a different URL, whether it means connecting with a
different user profile, etc - all i want is for the site to run normally
except when I go to it in "test mode". I tried doing a AliasMatch in my
apache config file and it works for pages that are submitted, but not for
pages referenced via an include statement in PHP. I'm guessing that there
might be something that i can do with the PHP.ini file, but I don't know
how to do this, or how to make it only happen for "test" signons
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.