Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
SUPER Simple ASP Publishing Question
Old 08-31-2008, 05:30 AM SUPER Simple ASP Publishing Question
Average Talker

Posts: 24
Trades: 0
I am just learning ASP and I made a site using it. That's all good but when I publish it, the index file is index.aspx. My server is looking for index.html. What do I do to get the index file to be the homepage and immediately read by the web browser? I know this must be super simple, but I need help! Thanks! :-)
CookieMonster21 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-31-2008, 06:33 AM Re: SUPER Simple ASP Publishing Question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
.aspx is NOT ASP it is ASP.NET and, index files is an Apache term, the equivalent IIS term is default document

IIS webservers have a document list that they will search for in sequence when finding a page to serve out for a URI when no page name is specified. The standard default document for .net scripts is default.aspx, index.aspx is not in the standard list of documents to be searched for so unless you have added it specifically, it won't be found.

Either;
Rename your page to default.aspx, (Recommended)
Add index.asp(x) to the document list; (If you have access)
Always use the document name in the URIs; (Not recommended at all. Just here to cover all options.)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 08-31-2008 at 06:34 AM..
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-31-2008, 06:36 AM Re: SUPER Simple ASP Publishing Question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
thread moved, because it's more of a server management question than coding.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-01-2008, 03:27 AM Re: SUPER Simple ASP Publishing Question
Average Talker

Posts: 24
Trades: 0
Woops! Okay, thank you for that explanation. I will try default.aspx tomorrow and see how that works! Thanks for replying! I learn as I go! :-)
CookieMonster21 is offline
Reply With Quote
View Public Profile
 
Old 09-03-2008, 01:35 AM Re: SUPER Simple ASP Publishing Question
Average Talker

Posts: 24
Trades: 0
Yes, this did solve my problem....THANK YOU! :-)
CookieMonster21 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to SUPER Simple ASP Publishing Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23462 seconds with 12 queries