Closed Thread
Results 1 to 8 of 8

Thread: Use of index.aspx as an index page?

  1. #1
    akjcorps is offline x10Hosting Member akjcorps is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    14

    Post Use of index.aspx as an index page?

    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

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Use of index.aspx as an index page?

    I believe that ASP.NET uses "default.aspx" for indexes.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    akjcorps is offline x10Hosting Member akjcorps is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    14

    Re: Use of index.aspx as an index page?

    "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 by akjcorps; 05-29-2009 at 03:49 AM.

  4. #4
    zubair12 is offline Banned zubair12 is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Lahore, Punjab, Pakistan.
    Posts
    631

    Re: Use of index.aspx as an index page?

    No, this does not mean that as garrettroyce says that ASP.net use default.aspx as home page so you should try this...

  5. #5
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Use of index.aspx as an index page?

    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.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  6. #6
    akjcorps is offline x10Hosting Member akjcorps is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    14

    Re: Use of index.aspx as an index page?

    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 by akjcorps; 05-29-2009 at 10:53 AM.

  7. #7
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Use of index.aspx as an index page?

    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 by garrettroyce; 05-29-2009 at 11:00 AM. Reason: Automerged Doublepost
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  8. #8
    akjcorps is offline x10Hosting Member akjcorps is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    14

    Re: Use of index.aspx as an index page?

    Thanks for all your help.

    Arjun

Closed Thread

Similar Threads

  1. Adding Index Page
    By danjay in forum Free Hosting
    Replies: 1
    Last Post: 04-11-2009, 03:19 PM
  2. [IPB] Contiguous Board Index
    By phenetic in forum Tutorials
    Replies: 5
    Last Post: 09-18-2005, 10:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers