Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > default first page in web.config?

Reply
Thread Tools

default first page in web.config?

 
 
Daves
Guest
Posts: n/a
 
      03-19-2005
I want to have another default page than the default.aspx, can I change this
in web.config?


 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      03-19-2005
This is an IIS setting. Get the properties of your application in IIS, then
check out the "Documents" tab; This is where you can change the default pages.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I want to have another default page than the default.aspx, can I
> change this in web.config?
>




 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      03-19-2005
You change it in the IIS MMC.

See the "Documents" tab.




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaņol
Ven, y hablemos de ASP.NET...
======================

"Daves" <> wrote in message
news:...
>I want to have another default page than the default.aspx, can I change
>this in web.config?
>



 
Reply With Quote
 
adrianaxente adrianaxente is offline
Junior Member
Join Date: Apr 2008
Posts: 1
 
      04-16-2008
If you are using forms authentication just do the following:

<authentication mode="Forms">
<forms name=".COOKIENAME"
loginUrl="YourLoginPage.aspx"
defaultUrl="YourDefaultPage.aspx"
protection="All"
timeout="30"
path="/">
</forms>
</authentication>



defaultUrl="YourDefaultPage.aspx" does the trick
 
Reply With Quote
 
mred mred is offline
Junior Member
Join Date: Jun 2011
Posts: 1
 
      06-17-2011
You can set it on the web.config:
http://it-things.com/index.php/2011/...on-web-config/
 
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
Initial class name for Default page is _Default instead of Default Sean Dockery ASP .Net 3 06-21-2009 04:30 AM
Paging to the next page always gives me the first page cmrchs@gmail.com ASP .Net 5 07-23-2008 06:42 PM
How to add a cell to the end of the first row of the first table on a page? sherifffruitfly Javascript 0 04-25-2007 04:04 AM
how to redirect to a requested page instead of default page after login savvy ASP .Net 8 11-18-2006 11:13 AM
Why is Default.aspx not present in the Default Content page? Gaetan ASP .Net 3 02-14-2006 07:24 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