• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

ASP .NET and Custom errors.

D

dahkness

Guest
Hello all, Glad to be posting here. My name is Marc and I am a network administrator for a company that uses plesk for windows 7.0 on a windows 2k3 box.

I have an issue. We are using virtual domains; we have 1 site setup in IIS, which has all the virtual dirs for the hosted domains.

The client is using .NET, to grab the url of the custom 404 and create dynamic content.


We need to setup a 404 error custom page to go to a dynamic .aspx page. if we do the full path as "File 404" it won't work because asp won't process.

I know asp will process using a relative URL like /dynamic.aspx, BUT the site the domain is on is a virtual dir of the main domain in IIS.

This means that when IIS sees /dynamic.aspx as a 404 URL, then it will look in:

C:\Inetpub\vhosts\default\htdocs\ for the dynamic.aspx page, since this is the root of the main site.

not in:

C:\Inetpub\vhosts\rollover.com\httpdocs\

which is the right dir. Any ideas on how to fix this?
 
Back
Top