Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Startpage not in root folder

Reply
Thread Tools

Startpage not in root folder

 
 
Yvonne
Guest
Posts: n/a
 
      01-09-2007
Hy all,

My problem is that my default page is not in the root folder of my
website but in a subfolder called public_pages which is in the root if
my website.

I've tried different approaches but nothing worked.

At the moment i've a page default page in the root which does the
redirect to the public_pages folder, but this is a bit slow.

I also tried it with:
- UrlMapping in the web.config file.
- Server.Transfer, but then my page appears without the pictures

Or is the solution a different configuration on IIS?

Kind regards, Yvonne

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      01-09-2007
Not sure why you have to have your main page in a folder other than root,
but one option is to set up HTTP Handlers to take default and return the
correct page. This would occur sooner in the process and should speed things
up a bit.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Yvonne" <> wrote in message
news: oups.com...
> Hy all,
>
> My problem is that my default page is not in the root folder of my
> website but in a subfolder called public_pages which is in the root if
> my website.
>
> I've tried different approaches but nothing worked.
>
> At the moment i've a page default page in the root which does the
> redirect to the public_pages folder, but this is a bit slow.
>
> I also tried it with:
> - UrlMapping in the web.config file.
> - Server.Transfer, but then my page appears without the pictures
>
> Or is the solution a different configuration on IIS?
>
> Kind regards, Yvonne
>


 
Reply With Quote
 
 
 
 
Yvonne
Guest
Posts: n/a
 
      01-09-2007
Hy cowboy ,

First the why:
I've also a folder admin_pages. First the 'public' pages where in the
root and only the admin-pages where in a subfolder, but then I
introduced a masterpage for all pages. I always use relativ paths to
pictures, .... You see my problem? I couldn't use the same master
because the pages were not on the same level of the folderhirarchy.
Therefore I moved the public-pages to the folder public_pages.

Can you give me a sample for this HTTP handler? I also seen it, but I'v
not yet understood what the idea is.

The best solution would be one which doesn't need a roundtrip (which I
actually have with the Redirect methode.).

yvonne


Cowboy (Gregory A. Beamer) schrieb:

> Not sure why you have to have your main page in a folder other than root,
> but one option is to set up HTTP Handlers to take default and return the
> correct page. This would occur sooner in the process and should speed things
> up a bit.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Startpage dead.man.walking@gmx.de Firefox 23 10-17-2005 10:06 AM
Deployment: bin folder outside root folder? Jon Maz ASP .Net 12 07-01-2004 09:01 PM
Trojan horse Startpage.4.M ? N1RZB Computer Support 1 04-18-2004 09:26 PM
"Startpage.DM" - Trojan Horse Virus FraserPass Computer Support 0 03-07-2004 09:59 PM
can't get my IE startpage back ries Computer Support 2 01-05-2004 07:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57