Conceptually, I'm there... just in a different realm. I do jsp programming and publish with tomcat 5.5/6. I know how to configure web.xml, tomcat-users.xml, etc. for security and load jdbc drivers for database connectivity and run anything sql you'd want to imagine. My skillset is intermediate here, not an expert but I know my way around...
Now I have a .Net programmer that isn't familiar with application/web servers at all. In his development tool, which I think is vb.net, and it creates .aspx files. To be honest I've been too lazy to investigate the differences between vb.net, asp, and asp.net so me saying something stupid here is to be expected.
I know how to install IIS on both XP pro and ws2k3... and access to the default page and such. I'm very ignorant where to go from there.
-there is a "web.config" with this developers project... when viewed it notepad it appears to be simplistic xml with much of the data of web.xml on the java/tomcat side.
-in his .aspx pages I see ODBC drivers referenced to a local directory on his computer. Again, on tomcat all I would do is copy the .jar files for the JDBC drivers into the common/lib folder and call them. I have no idea what to do with IIS.
-it is my understanding that default tomcat security settings are pretty good... I have configured certain directories to be password protected and created my own form login using the j_security_check interface.
I know that cosborne is really big on php and skylance on java... maybe you two have experience with IIS... not sure what everyone else here does for a living/fun... if all else fails I will head back to google... but that isn't returning near the amount of quality information that a google search for java does.
vrooom305
07-12-2007, 08:21 PM
I have some experience with IIS but I still don't know what you want to do with it :(
did you just want to host xml / aspx files or something?
I have some experience with IIS but I still don't know what you want to do with it :(
did you just want to host xml / aspx files or something?
Well, I installed IIS on his XP box, copied his project files over to the root directory... didn't work. He screwed with things (didnt know what he was doing) and now it works half assed for him.
This same guy thought "localhost" referred to his machine... from any computer... so he's typing "localhost" in the url of IE on other computers thinking he's going to hit his webserver. :lmfao:
Animal
07-13-2007, 08:09 PM
This same guy thought "localhost" referred to his machine... from any computer... so he's typing "localhost" in the url of IE on other computers thinking he's going to hit his webserver. :lmfao:
hahaha, i set a few people up at work on the exchange web-client to check their email... they kept complaining to me how they kept getting some financial website... I was like "wait wtf..."
Found out they were trying to get to it at home... the server is "amssbs", so you just type "amssbs/exchange" into the URL and when you're on the LAN it takes you right there... in firefux (and probably ie i'm guessing) typing that does a google i'm feeling lucky search when it can't find that server, which leads you to some new zealand financial report site.
That localhost is a good one though... I guess there's always the guys on IRC that think they're "hackers" and ask for people's IPs... some smartass always says "127.0.0.1", and the douchebag ends up hacking himself.
Found out they were trying to get to it at home... the server is "amssbs", so you just type "amssbs/exchange" into the URL and when you're on the LAN it takes you right there... in firefux (and probably ie i'm guessing) typing that does a google i'm feeling lucky search when it can't find that server, which leads you to some new zealand financial report site.
Lol, no external address pointing to it? Luckily we've got a nice cisco vpn setup and anyone outside just has to click "connect" on the vpn software... group authentication is taken care of in the config, then they enter their AD un/pw and they can access anything just like they're on the inside... even the dns/computer name resolution for the servername so that would work... but we have an external address pointing to it on the firewall.
That localhost is a good one though... I guess there's always the guys on IRC that think they're "hackers" and ask for people's IPs... some smartass always says "127.0.0.1", and the douchebag ends up hacking himself.
Sitting there runing ping 127.0.0.1 -t -l 65000 and wondering why their connection is dropping.
vrooom305
07-13-2007, 09:19 PM
Is this what the page looks like upon initial setup?
http://img.photobucket.com/albums/v699/vrooom305/untitled.jpg
You can configure the default document that IIS will look for.
http://img.photobucket.com/albums/v699/vrooom305/default_document.jpg
In this case I made a virtual directory called 'test'. So the path looks like 'http://localhost/test' then the result should look like this since I made the default page 'index.htm'. I presume you can add whatever file name and extension you want.
http://img.photobucket.com/albums/v699/vrooom305/default_document_test.jpg
but I'm guessing what your friend wants to do is more complex than that huh?
A bit... the asp pages wouldn't run, and I believe because the ODBC connection was declared in that web xml file... and I don't know how to configure that.
Richter12x2
09-18-2007, 11:36 AM
Depending on what he's trying to do, he might have to setup a DSN (data source name) on the server to accept and interpret the ODBC stuff he's sending. We have asp scripts that call SQL servers for information so we had to setup the DSN's to allow it, or it will not work.
But like vroom said above, test to see if the asp extensions are running correctly by just making a plain text test.asp page and calling it in the browser. Once you know your plain text test.asp (or aspx) page is working, then you can move on to whether or not the ODBC stuff is working.
It's been a long time since I've had to mess with it - for bonus points, 2k3's security on IIS is so tight, there's about 30 different settings that have to be changed to get it to work right at all.