1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Another ASP Virtual Root Question

Discussion in 'Plesk for Windows - 8.x and Older' started by tobinharris, Jun 2, 2004.

  1. tobinharris

    tobinharris Guest

    0
     
    Hi there,

    I have just set up the first and only website on Plesk (Windows 2003 Server). I realised that Plesk creates a virtual folder for each site, which causes problems with ASP and Virtual directories. For example:

    The following include is now broken

    <!--#include virtual="/includes/db.asp"-->

    This is a real pain becuase to get around it I have to do something like

    <!--#include virtual="/mysite.com_non_ssl/includes/db.asp"-->

    I know I can use the <!--#include file...--> directive but the site is massive and it's a real pain! Does anyone know how to get around this?

    Kind Regards,

    Tobin Harris

    P.S - Don't know if this is relevant, but I noticed that the "Micorosoft ASP Support" checkbox in the domain setup is disabled, saying that the component was not installed. ASP.NET was however. I don't know if this makes a difference in how Virtual roots are handled, but I wouldn't have thought so.
     
  2. chuck.boyer

    chuck.boyer Guest

    0
     
    Tobin - I'm also running Win2k3. Make sure you enable ASP support in IIS 6.0 (it is disabled by default). IIS Admin MMC, open up Web Service Extensions, Select Application Server Pages, Click the allow button.

    Now while I've done this, under my domain my ASP Component is still disabled. Anyone else know why it isn't enabled? I've recreated the domain, stopped and restarted the plesk services from the control panel, and rebooted the server, but none of that seems to enable that component.
     
  3. chuck.boyer

    chuck.boyer Guest

    0
     
    Just remembered that you also need to allow server side includes in the wse folder similar to allowing asp.
     
  4. softpac2000

    softpac2000 Guest

    0
     
    ALL,

    ASP.net is installed with IIS if you selected to install it while installing IIS.

    ASP and SSI (Server Side Includes) on the other hand need to be installed through the Windows Control panel and then you need to enable it on each client in Plesk.

    Hope this helps!
    Ricardo...:cool:
     
  5. chuck.boyer

    chuck.boyer Guest

    0
     
    Thanks! Ended up contacting tech support. I needed to uninstall asp and SSI from windows components, reinstall, then restart all plesk services.
     
  6. tobinharris

    tobinharris Guest

    0
     
    Thanks

    Thanks to those who have replied.

    I had enabled both ASP and SSL through IIS, and it seems as though the ASP is working. However, the "include" problem is the one that's bugging me the most! Could this be related to Plesk, or is it just an ASP/Virtual root thing!?

    Interestingly, I don't see any option to uninstall ASP or SSI in the control panel (add remove programs->components), where do I do this Ricardo! (for Win2K)?

    Cheers,

    Tobin
     
  7. softpac2000

    softpac2000 Guest

    0
     
    Tobin,

    I use Windows Server 2003 where installing ASP is optional...

    If I am not mistaken I beleive that ASP is installed by default when you install Windows 2000.

    Anyways on Windows 2003 it is located in:
    - Application Server
    - Internet Information Services (IIS)
    - World Wide Web Services
    - Active Server Pages (ASP)

    To uninstall just remove the check mark from the Active Server Pages and click ok!

    Removing Server Side Includes (SSI) should be the same way and is located in the same place as ASP.

    Like I said I don't have Windows 2000 but it is probably located in the same place.

    Hope this helps!
    Ricardo...:cool:
     
  8. ShaneAu

    ShaneAu Guest

    0
     
Loading...