IIS- defining a website as a dev site
Posted
by
Lock
on Server Fault
See other posts from Server Fault
or by Lock
Published on 2014-06-01T01:11:20Z
Indexed on
2014/06/01
3:28 UTC
Read the original article
Hit count: 350
iis7.5
I am new to IIS. Is there a way during the setup of IIS to have a variable of some sort set that I can use to tell my site that this is the development copy? I am using PHP via IIS 7.5 and would like to have a file with a few lines that define which databases etc is used by my application.
Is this the purpose of web.config
?
I would love there to be a place in the setup of the website where I can set a few variables that are accessibly by my application. That way, when I migrate files to live, I don't need to worry about access details to databases etc.
© Server Fault or respective owner