Hi All,
RE setting up a single IIS6 server (Win2k3) to handle a combination of
php and asp.net (.net 2.0) web apps linked from the site's static home page.
What would be the best way of organising this, assuming I'd rather avoid
running each application on a different port (ie. same IP), and that
there is relatively light load on the server.
Should I (for example),
*1. use a single website
Then, after ensuring that both .php and .aspx are listed as isapi
application extensions in the Application Configuration page for the
website (this assumes php is already installed as isapi);
*2. create a new virtual directory for each web app under my single
website (so I could end up with several virtual directories, one for
each app).
*3. Make the following settings in each Virtual Directory's properties page:
a. On the Virtual Directory tab;
- check the 'Read' checkbox (minimum requirement)
- set Execute Permissions to 'Scripts only'
- Leave the 'Application Name' as Default Application
This means I can't set the isapi extensions
for the virt. dir since the 'Configuration...'
button is disabled.
b. On the Documents tab;
- Enable the default content page
- Add the name of the web app's default page;
eg. myphpapp.php
eg. myaspxapp.aspx
Thanks for any comments or elaboration you might have about best
practice for configuring IIS for this kind of web app server.
Simon