473,402 Members | 2,064 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,402 software developers and data experts.

can homepage be index.aspx?

My home page of my website is named index.aspx ,when I upload it to the host
,I get 403 forbidden error,If I put an index.html there that link that aspx
file,eveything works perfect?

my second questions is that how can I get rid of the name of my
homepage,it's now www.x.xom/index.aspx ,is ther a way of getting rid of
index.aspx ,but reffering to it somehow?

Thanks
Nov 19 '05 #1
4 2252
1. Depends on your host. In the control panel for your account, they might
let you specify a non-standard startup page (e.g. something other than
index.html and default.aspx).

2. Once you get your startup page right, you won't need to refer to it in
the url (i.e. you can just go to www.mysite.com, not mysite.com/index.aspx).
If you do want somebody to enter, say, index.aspx, but you really want to
take them to myOtherPage.aspx, check out rewritePath which you can use at
application begin_request.

Bill

"ALI-R" wrote:
My home page of my website is named index.aspx ,when I upload it to the host
,I get 403 forbidden error,If I put an index.html there that link that aspx
file,eveything works perfect?

my second questions is that how can I get rid of the name of my
homepage,it's now www.x.xom/index.aspx ,is ther a way of getting rid of
index.aspx ,but reffering to it somehow?

Thanks

Nov 19 '05 #2
Thanks for your help,

1)Default.aspx worked for me

2) I didn't get what you meant ,could you give more explanation?

Thanks
"Bill Borg" <Bi******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
1. Depends on your host. In the control panel for your account, they might
let you specify a non-standard startup page (e.g. something other than
index.html and default.aspx).

2. Once you get your startup page right, you won't need to refer to it in
the url (i.e. you can just go to www.mysite.com, not
mysite.com/index.aspx).
If you do want somebody to enter, say, index.aspx, but you really want to
take them to myOtherPage.aspx, check out rewritePath which you can use at
application begin_request.

Bill

"ALI-R" wrote:
My home page of my website is named index.aspx ,when I upload it to the
host
,I get 403 forbidden error,If I put an index.html there that link that
aspx
file,eveything works perfect?

my second questions is that how can I get rid of the name of my
homepage,it's now www.x.xom/index.aspx ,is ther a way of getting rid of
index.aspx ,but reffering to it somehow?

Thanks

Nov 19 '05 #3
To do what you want you will need access to the IIS Server that is hosting
the site. You need this in order to change the default startup pages within
a website setup on that server. You can go into properties on the Virtual
Directory and select the documents tab at top. Once in there you can add a
new filename you want the site to default to. By placing index.aspx within
the list it will allow you to type www.mylink.com and it will automatically
assume that index.aspx is the home page and redirect to it. Be careful
though not to have any other files with names of the defaults listed or it
will redirect to the wrong page. Ex would be naming one file index.aspx
after you add this to the defaults list and then have default.aspx listed as
well. Which ever comes first it will redirect to.

--
Thanks,
Chris Allen
Senior Systems Developer
Optimus Solutions LLC
"ALI-R" <Ra*@Alirezaei.com> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl...
Thanks for your help,

1)Default.aspx worked for me

2) I didn't get what you meant ,could you give more explanation?

Thanks
"Bill Borg" <Bi******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
1. Depends on your host. In the control panel for your account, they might let you specify a non-standard startup page (e.g. something other than
index.html and default.aspx).

2. Once you get your startup page right, you won't need to refer to it in the url (i.e. you can just go to www.mysite.com, not
mysite.com/index.aspx).
If you do want somebody to enter, say, index.aspx, but you really want to take them to myOtherPage.aspx, check out rewritePath which you can use at application begin_request.

Bill

"ALI-R" wrote:
My home page of my website is named index.aspx ,when I upload it to the
host
,I get 403 forbidden error,If I put an index.html there that link that
aspx
file,eveything works perfect?

my second questions is that how can I get rid of the name of my
homepage,it's now www.x.xom/index.aspx ,is ther a way of getting rid of
index.aspx ,but reffering to it somehow?

Thanks


Nov 19 '05 #4
Thanks Chris,

"Chris" <ch*********@comcast.net> wrote in message
news:OO*************@TK2MSFTNGP15.phx.gbl...
To do what you want you will need access to the IIS Server that is hosting
the site. You need this in order to change the default startup pages
within
a website setup on that server. You can go into properties on the Virtual
Directory and select the documents tab at top. Once in there you can add a
new filename you want the site to default to. By placing index.aspx within
the list it will allow you to type www.mylink.com and it will
automatically
assume that index.aspx is the home page and redirect to it. Be careful
though not to have any other files with names of the defaults listed or it
will redirect to the wrong page. Ex would be naming one file index.aspx
after you add this to the defaults list and then have default.aspx listed
as
well. Which ever comes first it will redirect to.

--
Thanks,
Chris Allen
Senior Systems Developer
Optimus Solutions LLC
"ALI-R" <Ra*@Alirezaei.com> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl...
Thanks for your help,

1)Default.aspx worked for me

2) I didn't get what you meant ,could you give more explanation?

Thanks
"Bill Borg" <Bi******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
> 1. Depends on your host. In the control panel for your account, they might > let you specify a non-standard startup page (e.g. something other than
> index.html and default.aspx).
>
> 2. Once you get your startup page right, you won't need to refer to it in > the url (i.e. you can just go to www.mysite.com, not
> mysite.com/index.aspx).
> If you do want somebody to enter, say, index.aspx, but you really want to > take them to myOtherPage.aspx, check out rewritePath which you can use at > application begin_request.
>
> Bill
>
> "ALI-R" wrote:
>
>> My home page of my website is named index.aspx ,when I upload it to
>> the
>> host
>> ,I get 403 forbidden error,If I put an index.html there that link that
>> aspx
>> file,eveything works perfect?
>>
>> my second questions is that how can I get rid of the name of my
>> homepage,it's now www.x.xom/index.aspx ,is ther a way of getting rid
>> of
>> index.aspx ,but reffering to it somehow?
>>
>> Thanks
>>
>>
>>



Nov 19 '05 #5

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

Similar topics

11
by: David Abrahams | last post by:
Since a significant part of Python is only documented in PEPs, I am disappointed to see that they can't be easily found. Where are they? -- Dave Abrahams Boost Consulting...
4
by: Diarmaid | last post by:
Hi! I've built a dynamic navigation system which compares the filename in the document URL with the filename in the navigation link in order to determine which link to highlight as "active". ...
2
by: Zhang Weiwu | last post by:
Hello. Today I found this free service by w3c generate RSS feed from xthml documents: http://www.w3.org/2000/08/w3c-synd/ This message described how this service failed to produce RSS for my...
2
by: kscdavefl | last post by:
When I run the following code: private void applicationPermissionGrid_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType ==...
2
by: Tor Inge Rislaa | last post by:
Name of "index.aspx" Hi I have just published my first ASP.NET home page, but as I always does with HTML (index.htm) files I named the first webform to appear on the domain index.aspx but It...
0
by: John Meyer | last post by:
index: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <!DOCTYPE html PUBLIC...
1
by: HYRY | last post by:
I want to add some simple search function for my homepage. It need to search through all the html files of my homepage (about 300 pages), and highlight the search words. I made some test with...
4
by: The Bicycling Guitarist | last post by:
Hi. My markup is valid but the page sucks when the window is shrunk, the text going behind the image. Can anyone suggest a way to fix this while keeping the same general layout it has now (nav...
3
by: svjames | last post by:
heya guyzorz, just a quick q, for the life of me i cant find a way to obtain the value of a users browsers default homepage. Ive written a site that provides access to the internet on a certain...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.