|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Virtual Directories with Virtual Sites
I am on a new server Win 2003 and it comes with Plesk 6.5. I am having a problem when I move some of my sites over. In IIS each of my sites are setup as virtual sites under a main website. Previously all my sites were each their own site. So now all of my virtual include files do not work. They are not found. Here is an example. I have a site called c4.swany.net and it got setup as a virtual website in IIS as c4.swany.net_non_ssl. So my normal virtual include was <!-- #include virtual = "/includes/leagueVariables.asp" --> does not work, but if I put the virtual website name in front such as this <!-- #include virtual = "/c4.swany.net_non_ssl/includes/leagueVariables.asp" --> it does work. My question is can I change something in IIS that would make each virtual website use its own root directory as the root rather then using the main sites root directory.
Thanks Chris |
|
#2
|
|||
|
|||
|
I don't have IIS6, but you should be able to create multiple websites with their own web root. Look in the IIS Administration console.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Not that simple
I could do that if I was using just IIS. The problem is I am using a control panel called Plesk and that creates all the sites under one website in IIS. Would like to keep it under control panel for maintenence and billing reasons.
I am just looking for a way to make a virtual website think it is its own root directory rather then thinking it is already one directory deep. Thanks |
|
#4
|
|||
|
|||
|
Sounds like a question for Plesk, then.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Virtual Directories with Virtual Sites |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|