Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 5th, 2005, 05:25 AM
perprav perprav is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 3 perprav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 45 sec
Reputation Power: 0
http://localhost not working

I have installed Win 2k Server. I am trying to test my IIS. I tried http://localhost It gives me an error saying:

You are not authorized to view this page

You might not have permission to view this directory or page using the credentials you supplied.If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the Homepage(); localhost home page.

You can click [img]res://C:WINSRVsystem32shdoclc.dll/search.gif[/img] Search to look for information on the Internet.




HTTP Error 403 - Forbidden
Internet Explorer





But if I try http://<computername> or http://127.0.0.1 I get a page underconstruction.

So, due to this if I am trying to access my application using http://localhost/<application path> I get the 403 forbidden error. But I am able to open my application using http://<computername>/<application path or http://127.0.0.1/<application path.

In fact nothing works with http://localhost on my computer. Not even the iis help, etc.

Any help regarding this appreciated.

Cheers

Reply With Quote
  #2  
Old April 5th, 2005, 05:06 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
Your windows client sends NTLM/Kerberos authentication when you access a LAN domain name, thus ensure you are listed under the authorised users for IIS access on the server machine.

It doesn't, however, send NTLM/Kerberos when you enter an IP address, hence why it allows you to see the page.

Therefore, check your IIS security settings and remove all the default files... they are a proven security hole (IISSamples especilly)

Reply With Quote
  #3  
Old April 7th, 2005, 02:15 AM
perprav perprav is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 3 perprav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 45 sec
Reputation Power: 0
Thanks for your reply.

I am able to access my default page under http://127.0.0.1/<application_name>/ by IP address as well using server name (http://<server_name>/<application_name>/).

But I am not able to access the same file using http://localhost/<application_name>.

And this is true of all the applications and any files. Even the IIS help is not working using http://localhost, but it works with IP address and server name.

So, I can access everything using IP address and server name in the URL, but not with 'localhost'.

Still do you say that this is the problem with IIS security settings? If yes, can you please help me with the exact location where I need to change the security settings, etc.

Note: I am trying to access the file on the server itself. I am not trying from any other machine.

Appreciate your help.

Reply With Quote
  #4  
Old April 7th, 2005, 05:13 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
Check for spyware first... they often interfere with localhost loopbacks.

Reply With Quote
  #5  
Old April 7th, 2005, 07:25 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
If you're using some other browser try IE & see if you get the same results. If IE works right, probably the permissions on your root web files doesn't allow non-authenticated viewing and the other browser can't do integrated windows authentication like IE can.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #6  
Old April 7th, 2005, 09:02 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
Actually, IE automatically sends NTLM info with the request after a challenge response from the server, this does have advantages in LAN environments and has yet to prove a security liability.

Firefox is more sensible and asks you first.... always, which is useful if you want to force-login as another user... which is useful for when using Outlook Web Access from Exchange Server.

Reply With Quote
  #7  
Old April 10th, 2005, 11:54 PM
perprav perprav is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 3 perprav User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 45 sec
Reputation Power: 0
I am facing this problem while I am using IE 6.0. I am not trying this from any other browser.

What else can I check for?

Reply With Quote
  #8  
Old April 11th, 2005, 11:12 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
Try searching the MS knowledgebase, I seem to recall some issue with localhost and a recent windows update, although I think what I'm thinking of was something with XP SP2, not W2K.

Can you ping localhost?

Reply With Quote
  #9  
Old April 15th, 2005, 04:09 AM
kelvinlim11 kelvinlim11 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 123 kelvinlim11 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 2 m 8 sec
Reputation Power: 0
error

If u r under a network. go under ur browser and under tools go under internet options then connection then lan settings....
if u r under a proxy, check the bypass proxy server for local address....

this will make \\localhost work.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > http://localhost not working


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT