IIS virtual directory on another machine

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

IIS virtual directory on another machine

Post by Burrito »

I am setting up a virtual directory for a different physical computer from my web server. all of the web pages will be housed on this separate server but accessed through my web server (I have to do this because we dont' want to have to buy another secure certificate for the other server).

I created a vd using the UNC path of the server and it worked great, but I can not serve any pages from my web server. I tried some php pages first, and they bombed but I figured that was because of database issues (which I'll have to address soon), but that wasn't it. I then craeted just a dummy test.htm page and it bombed as well.

I get error 500 (internal server error) so it's not your usual mumbo jumbo...any ideas here?

thx,

Burr
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I don't remember if it works or not, but what about mapping the UNC path to a drive on the machine, then mapping the virual directory to that drive?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

mapping drives is a user specific thing:

ie if I log in as Burrito and map a drive (Y:) to \\mybox\myshare that will only exist for me.

I can't log in to the machine as the IUSR.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I remember being able to set global ones.. or you may be able to add the data inside the registry for IUSR..
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

<offtopic>

although you are not supposed to login/execute code as iusr:

but it as simple as getting a handle for the desktop window and iterating over the windows untill you find one owned by iusr (or whatever account you want) and changing the callback function.

</offtopic>
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

timvw wrote:


but it as simple as getting a handle for the desktop window and iterating over the windows untill you find one owned by iusr (or whatever account you want) and changing the callback function.
huh?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

you can find a more detailed explanation here:
http://security.tombom.co.uk/shatter.html
Post Reply