Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 6 logs

Status
Not open for further replies.

Razzyz

Technical User
May 31, 2007
7
SE
Hello,

I have Several sindomains tied to my server wich all go to "default.php" wich redirects the traffic depending on what subdomain is used, now i wonder if it's possible for IIS to logs wich subdomain the users used to get onto my server ?

http://www.rizzler.se"]My a hompeage[/URL] http://www.rizzler.se"]My forum[/URL]
Also
http://edgehosting.net"]Edgehosting[/URL] http://pricehosting.net"]PriceHosting[/URL] http://mainbank.us"]"the" mainbank[/URL]
 
Sorry i forgot to add, i wanted to know if it's possible for IIS to log what subdomain the user used and what file they where directed to from default.php

and sorry for that stupid Post signature... removed it -.-"

 
Unless the traffic for each sub-domain comes in on a different port or you use a query string on your default.php, I don't see a way to get this from the IIS Log. You can check the MSDN library here to see if you see something that I missed.
 
Not sure if IIS can do it, but you could create your own log with PHP. Just put a method in your default.php page (I'm an asp.net programmer btw, so I wouldn't know the syntax)...

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top