Default Web Site
am 10.09.2007 19:01:42 von Krisstel
I have different web sites and applications under wwwroot/inetpub and
I am trying to configure one of them as default. Used localstart to
redirect to that folder and works. What I get is the www.something.com/folder/file.
What I need is www.something.com/file. Any help is appreciated.
Thank you
Re: Default Web Site
am 10.09.2007 20:59:21 von Kristofer Gafvert
Hello,
The easiest is probably to move the files to the wwwroot folder instead of
having them in a folder beneath wwwroot. You can also change the home
directory for the website, but that may require you to set up virtual
directories for all other folders.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Krisstel wrote:
>I have different web sites and applications under wwwroot/inetpub and
>I am trying to configure one of them as default. Used localstart to
>redirect to that folder and works. What I get is the
>www.something.com/folder/file.
>What I need is www.something.com/file. Any help is appreciated.
>
>Thank you
Re: Default Web Site
am 10.09.2007 21:04:22 von tiago.halm
If I understood correctly, you request "www.something.com/folder/file"
and you want IIS to return "www.something.com/file", correct?
If so, create a Virtual Directory "folder" under www.something.com
website pointing to the physical files to which www.something.com
point to. It will basically work as symbolic folder.
Tiago Halm
Re: Default Web Site
am 11.09.2007 15:30:47 von Krisstel
On Sep 10, 3:04 pm, tiago.h...@gmail.com wrote:
> If I understood correctly, you request "www.something.com/folder/file"
> and you want IIS to return "www.something.com/file", correct?
> If so, create a Virtual Directory "folder" underwww.something.com
> website pointing to the physical files to whichwww.something.com
> point to. It will basically work as symbolic folder.
>
> Tiago Halm
I have set up www.something.com to point to the folder/file (location
of the default web application) through localstart. When I request
www.something .com it opens www.something.com/folder/file.htm. What I
need is when I request www.something.com to eliminate "folder" in
between. I would like to keep it in the "folder" as it is more
orgenasied and reconfiguring all the applications into Virtual
Directories still has some work involved so I am looking for any other
options if possible.
thank you.