473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Pages not in root folder

Hi,

Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".

I was asked to move all pages inside a folder named "Aspx"

Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?

"Login.aspx" is set as the default page in IIS.
If "Login.aspx" is moved into the folder, how is IIS supposed to find
it ?

Thanks in advance,

Rick

Jul 17 '07 #1
3 2016
Why dont you just try it. Create a folder and copy your files.

The defaults in IIS doesn't relate the the root folder, it relates to files
that IIS should seek out when presented with only a path, not a file name.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Rick" <e_**********@hotmail.comwrote in message
news:11**********************@i13g2000prf.googlegr oups.com...
Hi,

Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".

I was asked to move all pages inside a folder named "Aspx"

Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?

"Login.aspx" is set as the default page in IIS.
If "Login.aspx" is moved into the folder, how is IIS supposed to find
it ?

Thanks in advance,

Rick

Jul 17 '07 #2
On Jul 18, 2:33 am, Rick <e_man_onl...@hotmail.comwrote:
Hi,

Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".

I was asked to move all pages inside a folder named "Aspx"

Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?

"Login.aspx" is set as the default page in IIS.
If "Login.aspx" is moved into the folder, how is IIS supposed to find
it ?

Thanks in advance,

Rick
Hi...

yes you can more your all pages... to any folder...
but in that case to define your login page you got to mention the
location of your login page... in web.config

<authentication mode="Forms">
<forms loginUrl="yourdir\Login.aspx"></forms>
</authentication>

like this

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Jul 19 '07 #3
On Jul 18, 3:46 am, "John Timney \(MVP\)"
<x_j...@timney.eclipse.co.ukwrote:
Why dont you just try it. Create a folder and copy your files.

The defaults in IIS doesn't relate the the root folder, it relates to files
that IIS should seek out when presented with only a path, not a file name.

Regards

John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog

"Rick" <e_man_onl...@hotmail.comwrote in message

news:11**********************@i13g2000prf.googlegr oups.com...
Hi,
Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".
I was asked to move all pages inside a folder named "Aspx"
Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?
"Login.aspx" is set as the default page in IIS.
If "Login.aspx" is moved into the folder, how is IIS supposed to find
it ?
Thanks in advance,
Rick- Hide quoted text -

- Show quoted text -
On Jul 18, 2:33 am, Rick <e_man_onl...@hotmail.comwrote:
Hi,

Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".

I was asked to move all pages inside a folder named "Aspx"

Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?

"Login.aspx" is set as the default page in IIS.
If "Login.aspx" is moved into the folder, how is IIS supposed to find
it ?

Thanks in advance,

Rick
Hi...

yes you can more your all pages... to any folder...
but in that case to define your login page you got to mention the
location of your login page... in web.config

<authentication mode="Forms">
<forms loginUrl="yourdir\Login.aspx"></forms>
</authentication>

like this

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Jul 19 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Crowe | last post by:
Hi guys, I've come across a rather strange, and very anoying problem. On /some/ PHP sites that we're developing on 2 different servers, files that are in the root of the website are unable to...
10
by: Kenny Ashton | last post by:
Hi all Can anyone tell me the best way to set permissions to allow an ASP program to write new Html pages to my site's root folder, without chancing users also being able to write to the root....
0
by: Tony Lewis | last post by:
I'm running IIS on a Windows 2k server and have just installed the .NET framework 1.1 so I can deploy ASP.NET applications on my server through .NET Studios. All my normal ASP applications run fine...
13
by: Duron | last post by:
I created a new folder using VS.NET 2003. Then I created a new web form under that folder, say, \Member\Default.aspx. However, even if I didn't do anything to that page, a run-time error appears...
2
by: MadCat | last post by:
I am trying to use Nested Master Pages, I have a some Methods like GetVal() in the root master page and a method GetSubVal() in sub Master Page. I try to implement the SubMaster in a content Page,...
2
by: Roel | last post by:
Hi All, I have a treeview in my master page where I use custom pictures for. I have defined a new theme in the App_Themes folder, and all my pages use this theme. In my TreeView.Skin file i...
2
by: news.sbcglobal.net | last post by:
I hope I can explain this well enough to understand. I have a master page that is used by almost all of the pages in my site. On the master page is a table. In one of the cells in this table, I...
3
by: vikramp | last post by:
Hi, I am still new to ASP.NET 2.0 and trying to develope something using Master pages. My problem is: I have a master page that contains Logo image and a navigation menu at the top of the...
2
by: krishna81m | last post by:
In a general servlet class after deployment, you can access the application root as servletContext.getRealPath("/") to access any of the properties files in the "WEB-INF" directory or anywhere else...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.