setting up subsite in subfolder of main website

 
Post new topic   Reply to topic    Aprelium Forum Index -> ASP.NET
View previous topic :: View next topic  
Author Message
drbeshears
-


Joined: 16 Jan 2006
Posts: 1

PostPosted: Mon Oct 11, 2010 7:33 pm    Post subject: setting up subsite in subfolder of main website Reply with quote

If I have a website "mysite.com", and I want to set up a subfolder called "another" with its own set of files, and I want users to be able to access this "another" subsite directly by entering "www.mysite.com/another" as the URL, do I need to set up anything special on the abyss server?

I have tried creating a new host as "www.mysite.com/another" and specified the document path, including the aspx file. When entering the url as above, I get the infamous directory listing. I then tried adding an index.htm with a metatag that redirects to the aspx file in that subfolder, got back that same directory listing.

What else do I need to do? thanks.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Tue Oct 12, 2010 10:26 am    Post subject: Re: setting up subsite in subfolder of main website Reply with quote

drbeshears,

Try naming the ASPX that should be loaded by default in that directory to default.aspx. This is the convention in ASP.NET.

Otherwise, if that file is called something.aspx for example, add something.aspx to the Index Files table.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> ASP.NET All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group