473,766 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2273
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.asp x, 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******@discu ssions.microsof t.com> wrote in message
news:7E******** *************** ***********@mic rosoft.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.asp x, 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******** ******@TK2MSFTN GP10.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******@discu ssions.microsof t.com> wrote in message
news:7E******** *************** ***********@mic rosoft.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.asp x, 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*********@co mcast.net> wrote in message
news:OO******** *****@TK2MSFTNG P15.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******** ******@TK2MSFTN GP10.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******@discu ssions.microsof t.com> wrote in message
news:7E******** *************** ***********@mic rosoft.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.asp x, 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
1579
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 www.boost-consulting.com
4
1708
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". The problem I have is that the URL returned by document.URL (and location.href) does not include the filename when I'm sitting on the homepage. This means that when I compare the nav link with the document URL, I don't get a match.
2
7257
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 site and asks for help:) It seems to me this service could help me generate RSS for my static hompage site. So I did as this page told me, reformed my index page as: > * the title of the channel is taken from the title of the page
2
16132
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 == System.Web.UI.WebControls.ListItemType.Item || (e.Item.ItemType == System.Web.UI.WebControls.ListItemType.AlternatingItem)) {
2
1662
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 doesn't show. If I type the full URL it works fine.
0
1141
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 "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server">
1
2769
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 HTMLParser, it works but slow. So, my question is how can I improve its speed? from HTMLParser import HTMLParser class HightLightParser(HTMLParser):
4
2030
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 buttons on left, image in center, h1 title text on right)? The page in question is at www.TheBicyclingGuitarist.net/index.htm The advice from this and the other ciwa newsgroups have helped me improve my site a LOT over the years. Just today I...
3
2033
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 segment and once a user is logged in i want to forward them to thier own homepage in a new window. i tried window.open(window.home()) but to no avail, usually my attampts ended in a script working in IE and not MOZ or vice versa. i have developed a...
1
9959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.