S
Simon
Hi all
As I'm sure is common knowledge the version of IIS included in XP Pro is
limited in that you can only create 1 website in the IIS snap in.
As an ASP.net developer this is a pain in the arse because I can't figure
out how to stop having this fact **** up my relative urls.
When I create a virtual directory - presumably what you're supposed to do
when you're only allowed one site my relative URL's refer to the root of the
*Site* and not the root of the VirDir. As such, if i want to develop more
than one application i need to have all my images in the site root's images
folder - which is bollocks
The only other option I've figured out is to create a directory for each
project in the images directory at the root of the site - which is also
bollocks because when it comes to deployment I have either have to rearrange
all the image links in my entire site or copy the images directory to the
root of the Live Site. Either way its messy.
Now, I'm guessing Microsoft aren't so stupid as to sell a product that only
lets you develop one application at a time, but as yet my colleagues and I
havent figured out a way to do this.
If anyone can explain what I need to do to have relative URLs work correctly
that would be much appreciated. Well thats actually a misnomer. VirDirs are
doing exactly what they're supposed to do but that doesnt help me develop
more than one application at a time.
Personally I think a much better solution would be to bring the connection
limit down to about 3 or 4 concurrent users and allow the user to create as
many development sites as possible. That way microsoft can be sure that the
cut down version isnt being used to host live websites to multiple users.
I'd even prefer it if they only allowed connections from the localhost or
perhaps the local lan address range. Either way their must be many many ways
that microsoft can give developers what they need and ensure that
development environments aren't used to host actual live websites.
As I say, I'm sure there is a solution. Any advice on what it actually is
would be very much appreciated.
Thanks everyone. Any thoughts on the above would be very greatfully
received.
Kindest Regards
thechaosengine
As I'm sure is common knowledge the version of IIS included in XP Pro is
limited in that you can only create 1 website in the IIS snap in.
As an ASP.net developer this is a pain in the arse because I can't figure
out how to stop having this fact **** up my relative urls.
When I create a virtual directory - presumably what you're supposed to do
when you're only allowed one site my relative URL's refer to the root of the
*Site* and not the root of the VirDir. As such, if i want to develop more
than one application i need to have all my images in the site root's images
folder - which is bollocks
The only other option I've figured out is to create a directory for each
project in the images directory at the root of the site - which is also
bollocks because when it comes to deployment I have either have to rearrange
all the image links in my entire site or copy the images directory to the
root of the Live Site. Either way its messy.
Now, I'm guessing Microsoft aren't so stupid as to sell a product that only
lets you develop one application at a time, but as yet my colleagues and I
havent figured out a way to do this.
If anyone can explain what I need to do to have relative URLs work correctly
that would be much appreciated. Well thats actually a misnomer. VirDirs are
doing exactly what they're supposed to do but that doesnt help me develop
more than one application at a time.
Personally I think a much better solution would be to bring the connection
limit down to about 3 or 4 concurrent users and allow the user to create as
many development sites as possible. That way microsoft can be sure that the
cut down version isnt being used to host live websites to multiple users.
I'd even prefer it if they only allowed connections from the localhost or
perhaps the local lan address range. Either way their must be many many ways
that microsoft can give developers what they need and ensure that
development environments aren't used to host actual live websites.
As I say, I'm sure there is a solution. Any advice on what it actually is
would be very much appreciated.
Thanks everyone. Any thoughts on the above would be very greatfully
received.
Kindest Regards
thechaosengine