This project is read-only.

"Sub" Virtual Directory

Oct 17, 2007 at 6:48 PM

I've download "My Web Page Starter Kit", changed a few themes and started working online with it...

The problem that i'm facing right now is that i can't access to my webmail sub domain of my primary domain.
webmail domain:

I think that the project control the virtual directories... and if i try to access one directory that for the main project doesn't exist, it simply gives me a error of file not found.

how can i turn around this problem? is it possible to exclude the "webmail" word from the url control?

Thanks in advanced!

Nuno Oliveira

Oct 17, 2007 at 9:31 PM
Edited Oct 17, 2007 at 9:32 PM
This i because of the url rewrites that comes in the cms. If that directory doest't exists, you get redirected back to the startpage.
The webmail folder isn't a subdomain, it is a folder below the root of your homepage. Make sure it exists, then it shouldn't be any problem.
Maby you have to point to an exact url, eg.

Hope this is a solution to your problem.
Oct 30, 2007 at 9:55 AM
Edited Oct 30, 2007 at 9:55 AM
For a quick & dirty solution you could try this:

in your global.asax file add the following lines (bold):

void Application_AuthorizeRequest(object sender, EventArgs e)

string currentURL = Request.Path.ToLower();

if (currentURL.StartsWith("/webmail"))

if (currentURL.EndsWith(".aspx"))