Use of index.aspx as an index page?

Status
Not open for further replies.

akjcorps

New Member
Messages
14
Reaction score
0
Points
0
I am new to x10hosting.com, having created an account only a short while ago. When i start cPanel, it tells me the variety of file formats in which the index page of a directory can be in. I heard that x10hosting.com supports ASP.NET yet index.aspx is not given in the list of index pages that can be used. So, is it that an aspx page cant be used as an index page? Any help would be greatly appreciated.

Thanks in Advance

Arjun
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
I believe that ASP.NET uses "default.aspx" for indexes.
 

akjcorps

New Member
Messages
14
Reaction score
0
Points
0
"When someone views a directory in your public_html area, they will see the index page for that directory. When creating your index page, you should use one of the following names (the first one found will be shown if the visitor doesn't type in a specific page in their URL):

index.html.var
index.htm
index.html
index.shtml
index.xhtml
index.wml
index.perl
index.pl
index.plx
index.ppl
index.cgi
index.jsp
index.js
index.jp
index.php4
index.php3
index.php
index.phtml
default.htm
default.html
home.htm
index.php5
Default.html
Default.htm
home.html "

This is what is says when i click on "Getting Started Wizard" in my cPanel- i can't see any mention of default.aspx or index.aspx here. Does this mean that i can't use an ASP.NET page as my homepage?

Thanks again

Arjun
 
Last edited:

zubair12

Banned
Messages
631
Reaction score
0
Points
0
No, this does not mean that as garrettroyce says that ASP.net use default.aspx as home page so you should try this...
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
CPanel made those tutorials, and by default, Apache doesn't come with ASP.NET compatability. My guess is they made the tutorial and ignored the possibility of ASP.NET. It probably sneaks all the .aspx at the end.
 

akjcorps

New Member
Messages
14
Reaction score
0
Points
0
Thanks guys for your help- it was just that I didn't want to waste time making an ASP.NET page for my home and then find out that it wouldn't be recognised by the server. Just out of interest, what module would they be using to allow Apache to parse ASP.NET pages? Would it be Mod_AspDotNet by any chance. (I use Apache to test pages on my machine and it would be nice to test out ASP.NET pages locally. I can't do this otherwise since I am running XP Home which has no support for IIS and I don't want to resort to installing IIS 5.0 from a copy of Windows 2000 Advanced Server!)


Arjun
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
They use mod_mono. It supports ASP.NET up to 2.0 and some 3.5. I use XAMPP (tool with Apache, MySQL, and some other features) and mod_mono on my own computer and it works great.
Edit:
Here's their page: http://mono-project.com/Main_Page
 
Last edited:
Status
Not open for further replies.
Top