PWS problems
am 06.01.2008 16:38:05 von bVahan
Am new at Vista, worked with IIS on win 2000 server in past.
Recently I installed (activated) PWS on Vista Home edition.
1.
c:/inetpub/logs
does not contain any records, though I open some web pages in wwwroot
2.
is there any way to associate my global IP with wwwroot, so I can open web
pages remotely as well?
3.
response.redirect("local_PC_same_folder_filename")
command does not work on PWS
is it a prohibited command for PWS?
Re: PWS problems
am 07.01.2008 01:54:52 von David Wang
On Jan 6, 7:38=A0am, "Vahan Babakhanian" wrote:
> Am new at Vista, worked with IIS on win 2000 server in past.
>
> Recently I installed (activated) PWS on Vista Home edition.
>
> 1.
> c:/inetpub/logs
> does not contain any records, though I open some web pages in wwwroot
>
> 2.
> is there any way to associate my global IP with wwwroot, so I can open web=
> pages remotely as well?
>
> 3.
> response.redirect("local_PC_same_folder_filename")
> command does not work on PWS
> is it a prohibited command for PWS?
1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
default website by default. Now, logs are flushed to disk
periodically, so you may have to wait a minute or so after opening up
web pages before its activity shows up on the disk log.
2. that is configured by default. website bindings do not discriminate
between local and remote access. However, the Windows Firewall may
block remote access by default while leaving local access alone, so
you should check there.
3. Response.Redirect works -- can you give a representative value of
"local_PC_same_folder_filename" because I do not understand what
exactly you mean by those five words that do not belong together in
that way.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: PWS problems
am 08.01.2008 01:05:47 von bVahan
Hi David,
Thanks for respond. See my comments.
DW
> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
> default website by default. Now, logs are flushed to disk
> periodically, so you may have to wait a minute or so after opening up
> web pages before its activity shows up on the disk log.
Vahan
my c:\inetpub\logs ("s" at the end) is empty - has no files, no folders
btw it was read-only, like 90% of the rest in Vista - unchecking it in
Folder Properties does not help, it remains read only...
I gave to it full control permissions for Vahan (my user name)
there is no IUSR or Everybody there - do I need to create and add them?
DW
> 2. that is configured by default. website bindings do not discriminate
> between local and remote access. However, the Windows Firewall may
> block remote access by default while leaving local access alone, so
> you should check there.
Vahan
thanks
I checked out the exceptional permissions for HTTP in Firewall Exceptions
tab
also - Routing & Remote access
it still does not work - can't open a home page by global IP in the browser
do I have to enable another service in Firewall as well
DW
> 3. Response.Redirect works -- can you give a representative value of
> "local_PC_same_folder_filename" because I do not understand what
> exactly you mean by those five words that do not belong together in
> that way.
Vahan
long notation works, i.e.
response.redirect("http://localhost/116/kuku1.asp")
but short relative notation does not work
like this
response.redirect("../lena/kuku2.asp")
neither this
response.redirect("kuku2.asp")
if kuku2 file is in the same folder as script with redirect line
do I need to create Virtual directory?
and being new at Vista I noticed a mess with read only
thanks,
Vahan
"David Wang" wrote in message
news:a7b22f15-7b53-4b0b-aaa9-1223dbd8a7c9@21g2000hsj.googleg roups.com...
> On Jan 6, 7:38 am, "Vahan Babakhanian" wrote:
>> Am new at Vista, worked with IIS on win 2000 server in past.
>>
>> Recently I installed (activated) PWS on Vista Home edition.
>>
>> 1.
>> c:/inetpub/logs
>> does not contain any records, though I open some web pages in wwwroot
>>
>> 2.
>> is there any way to associate my global IP with wwwroot, so I can open
>> web
>> pages remotely as well?
>>
>> 3.
>> response.redirect("local_PC_same_folder_filename")
>> command does not work on PWS
>> is it a prohibited command for PWS?
>
>
>
> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
> default website by default. Now, logs are flushed to disk
> periodically, so you may have to wait a minute or so after opening up
> web pages before its activity shows up on the disk log.
> 2. that is configured by default. website bindings do not discriminate
> between local and remote access. However, the Windows Firewall may
> block remote access by default while leaving local access alone, so
> you should check there.
> 3. Response.Redirect works -- can you give a representative value of
> "local_PC_same_folder_filename" because I do not understand what
> exactly you mean by those five words that do not belong together in
> that way.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
Re: PWS problems
am 08.01.2008 03:33:04 von Ken Schaefer
a) Can you verify that you installed the HTTP Logging feature when
installing IIS 7.0?
b) What do you mean by "global IP address"? If you are talking about a
public IP address, and you are behind a NAT router, you will need to port
forward TCP port 80 to your internal machine. CAn you please describe your
network in more detail, and what you are trying to accomplish here?
c) Response.Redirect("../something/somefile.asp") will not work by default
(the use of Parent Paths is disabled). You should be able to do
Response.Redirect("/something/somefile.asp") (i.e. start at the root of your
website). You don't need virtual directories or anything.
If that still doesn't work, please tell us what you mean by "It doesn't
work" - what exactly are you seeing?
Cheers
Ken
"Vahan Babakhanian" wrote in message
news:CEF75901-DF90-4EE4-A892-640B15DEC496@microsoft.com...
> Hi David,
>
> Thanks for respond. See my comments.
>
> DW
>> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
>> default website by default. Now, logs are flushed to disk
>> periodically, so you may have to wait a minute or so after opening up
>> web pages before its activity shows up on the disk log.
>
> Vahan
> my c:\inetpub\logs ("s" at the end) is empty - has no files, no folders
> btw it was read-only, like 90% of the rest in Vista - unchecking it in
> Folder Properties does not help, it remains read only...
> I gave to it full control permissions for Vahan (my user name)
> there is no IUSR or Everybody there - do I need to create and add them?
>
> DW
>> 2. that is configured by default. website bindings do not discriminate
>> between local and remote access. However, the Windows Firewall may
>> block remote access by default while leaving local access alone, so
>> you should check there.
>
> Vahan
> thanks
> I checked out the exceptional permissions for HTTP in Firewall Exceptions
> tab
> also - Routing & Remote access
> it still does not work - can't open a home page by global IP in the
> browser
> do I have to enable another service in Firewall as well
>
>
> DW
>> 3. Response.Redirect works -- can you give a representative value of
>> "local_PC_same_folder_filename" because I do not understand what
>> exactly you mean by those five words that do not belong together in
>> that way.
>
> Vahan
> long notation works, i.e.
> response.redirect("http://localhost/116/kuku1.asp")
>
> but short relative notation does not work
> like this
> response.redirect("../lena/kuku2.asp")
> neither this
> response.redirect("kuku2.asp")
> if kuku2 file is in the same folder as script with redirect line
>
>
> do I need to create Virtual directory?
> and being new at Vista I noticed a mess with read only
>
> thanks,
> Vahan
>
>
> "David Wang" wrote in message
> news:a7b22f15-7b53-4b0b-aaa9-1223dbd8a7c9@21g2000hsj.googleg roups.com...
>> On Jan 6, 7:38 am, "Vahan Babakhanian" wrote:
>>> Am new at Vista, worked with IIS on win 2000 server in past.
>>>
>>> Recently I installed (activated) PWS on Vista Home edition.
>>>
>>> 1.
>>> c:/inetpub/logs
>>> does not contain any records, though I open some web pages in wwwroot
>>>
>>> 2.
>>> is there any way to associate my global IP with wwwroot, so I can open
>>> web
>>> pages remotely as well?
>>>
>>> 3.
>>> response.redirect("local_PC_same_folder_filename")
>>> command does not work on PWS
>>> is it a prohibited command for PWS?
>>
>>
>>
>> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
>> default website by default. Now, logs are flushed to disk
>> periodically, so you may have to wait a minute or so after opening up
>> web pages before its activity shows up on the disk log.
>> 2. that is configured by default. website bindings do not discriminate
>> between local and remote access. However, the Windows Firewall may
>> block remote access by default while leaving local access alone, so
>> you should check there.
>> 3. Response.Redirect works -- can you give a representative value of
>> "local_PC_same_folder_filename" because I do not understand what
>> exactly you mean by those five words that do not belong together in
>> that way.
>>
>>
>> //David
>> http://w3-4u.blogspot.com
>> http://blogs.msdn.com/David.Wang
>> //
>
Re: PWS problems
am 08.01.2008 10:01:49 von bVahan
"Ken Schaefer" wrote in message
news:uOpGP7ZUIHA.5980@TK2MSFTNGP04.phx.gbl...
> a) Can you verify that you installed the HTTP Logging feature when
> installing IIS 7.0?
Vahan
I can't find any feature like you mention among IIS features.
IIS Mgmt Service, Scripts & tools are activated.
Where I can check if logging is enabled? (Logs are very critical for
development)
owner of Logs folder is System.
> b) What do you mean by "global IP address"? If you are talking about a
> public IP address, and you are behind a NAT router, you will need to port
> forward TCP port 80 to your internal machine. CAn you please describe your
> network in more detail, and what you are trying to accomplish here?
Vahan:
yes, by global I mean public.
I am getting Internet connection thru a separate optical line from my
Internet provider (at my residence).
They connect few customers from a single big house. I don't use any router
on my side.
I still am not able to open web site in the browser by public IP.
> c) Response.Redirect("../something/somefile.asp") will not work by default
> (the use of Parent Paths is disabled). You should be able to do
> Response.Redirect("/something/somefile.asp") (i.e. start at the root of
> your website). You don't need virtual directories or anything.
Vahan:
installing IIS on Vista is thru "Turn Win features on" and one has to expand
all features links and check activation of ALL features
I.e. checking up some feature does not mean that all "subfeatures" will be
checked up by default
I.e. in feature "Common HTTP features" subfeature "http redirection" remains
unchecked after checking up parental (first) feature
after enabling subfeature "http redirection" any kind of redirect works
(I need relative redirection to work, because later I want to upload my
final scripts on remote server without changes)
> If that still doesn't work, please tell us what you mean by "It doesn't
> work" - what exactly are you seeing?
>
> Cheers
> Ken
>
>
> "Vahan Babakhanian" wrote in message
> news:CEF75901-DF90-4EE4-A892-640B15DEC496@microsoft.com...
>> Hi David,
>>
>> Thanks for respond. See my comments.
>>
>> DW
>>> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
>>> default website by default. Now, logs are flushed to disk
>>> periodically, so you may have to wait a minute or so after opening up
>>> web pages before its activity shows up on the disk log.
>>
>> Vahan
>> my c:\inetpub\logs ("s" at the end) is empty - has no files, no folders
>> btw it was read-only, like 90% of the rest in Vista - unchecking it in
>> Folder Properties does not help, it remains read only...
>> I gave to it full control permissions for Vahan (my user name)
>> there is no IUSR or Everybody there - do I need to create and add them?
>>
>> DW
>>> 2. that is configured by default. website bindings do not discriminate
>>> between local and remote access. However, the Windows Firewall may
>>> block remote access by default while leaving local access alone, so
>>> you should check there.
>>
>> Vahan
>> thanks
>> I checked out the exceptional permissions for HTTP in Firewall Exceptions
>> tab
>> also - Routing & Remote access
>> it still does not work - can't open a home page by global IP in the
>> browser
>> do I have to enable another service in Firewall as well
>>
>>
>> DW
>>> 3. Response.Redirect works -- can you give a representative value of
>>> "local_PC_same_folder_filename" because I do not understand what
>>> exactly you mean by those five words that do not belong together in
>>> that way.
>>
>> Vahan
>> long notation works, i.e.
>> response.redirect("http://localhost/116/kuku1.asp")
>>
>> but short relative notation does not work
>> like this
>> response.redirect("../lena/kuku2.asp")
>> neither this
>> response.redirect("kuku2.asp")
>> if kuku2 file is in the same folder as script with redirect line
>>
>>
>> do I need to create Virtual directory?
>> and being new at Vista I noticed a mess with read only
>>
>> thanks,
>> Vahan
>>
>>
>> "David Wang" wrote in message
>> news:a7b22f15-7b53-4b0b-aaa9-1223dbd8a7c9@21g2000hsj.googleg roups.com...
>>> On Jan 6, 7:38 am, "Vahan Babakhanian" wrote:
>>>> Am new at Vista, worked with IIS on win 2000 server in past.
>>>>
>>>> Recently I installed (activated) PWS on Vista Home edition.
>>>>
>>>> 1.
>>>> c:/inetpub/logs
>>>> does not contain any records, though I open some web pages in wwwroot
>>>>
>>>> 2.
>>>> is there any way to associate my global IP with wwwroot, so I can open
>>>> web
>>>> pages remotely as well?
>>>>
>>>> 3.
>>>> response.redirect("local_PC_same_folder_filename")
>>>> command does not work on PWS
>>>> is it a prohibited command for PWS?
>>>
>>>
>>>
>>> 1. c:\inetpub\log\Logfiles\W3SVC# contains the log file for the
>>> default website by default. Now, logs are flushed to disk
>>> periodically, so you may have to wait a minute or so after opening up
>>> web pages before its activity shows up on the disk log.
>>> 2. that is configured by default. website bindings do not discriminate
>>> between local and remote access. However, the Windows Firewall may
>>> block remote access by default while leaving local access alone, so
>>> you should check there.
>>> 3. Response.Redirect works -- can you give a representative value of
>>> "local_PC_same_folder_filename" because I do not understand what
>>> exactly you mean by those five words that do not belong together in
>>> that way.
>>>
>>>
>>> //David
>>> http://w3-4u.blogspot.com
>>> http://blogs.msdn.com/David.Wang
>>> //
>>
>
Re: PWS problems
am 08.01.2008 10:05:40 von bVahan
additional about public IP
I can't even ping my public IP from telnet
IP I am getting from www.whatismyip.com
Re: PWS problems
am 08.01.2008 21:32:06 von David Wang
On Jan 8, 1:05=A0am, "Vahan Babakhanian" wrote:
> additional about public IP
> I can't even ping my public IP from telnet
> IP I am getting fromwww.whatismyip.com
1. If you don't see logs in that directory, then either you don't have
Logging module installed (which would not be default behavior), or
your requests are not being served by your server. I suspect you have
networking problems and not PWS/IIS problems.
2. It sounds like your ISP is not allong the PING traffic nor HTTP
traffic *to* your home, only away from your home. Please verify with
your ISP that your account is allowed to host a web server. Network
traffic flows from/to a location, so ability to browse HTTP does not
mean you can provide/serve HTTP.
3. Your redirection syntax is ambiguous. With ASP, you can dynamically
generate the correct absolute URI even for relative redirects, so
there is no reason you should insist on an ambiguous syntax.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: PWS problems
am 12.01.2008 06:43:03 von bVahan
about logging problem
I am testing my small web pages on PWS browsing them on the same computer,
not thru the network.
So it should not be a network problem.
Logs folder is still empty.
I did install logging UI from
http://www.iis.net/downloads/default.aspx?tabid=34&i=1328&g= 6
but it did not help.
1.
I see in IIS Manager following properties
Debugging properties
Enable server side debugging - FALSE (I can switch it to True)
Enable Log Error Requests - True (can't change)
Log Errors to NT Log - False (can't change)
Are these properties correct?
2.
Also in a list of Modules (I.e. IsapiModule, CustomErrorModule...) Logging
module is absent.
3.
folder system32\inetsrv\ has file loghttp.dll
4. system32\LogFiles folder has only 5 folders: Firewall HTTPERR Scm WMI
WUDF
w3sv folders are absent on computer
Any advices how to activate logging?
Vahan
"David Wang" wrote in message
news:5a261708-f025-43e6-9ca9-1febb26527f8@m77g2000hsc.google groups.com...
>
>
> 1. If you don't see logs in that directory, then either you don't have
> Logging module installed (which would not be default behavior), or
> your requests are not being served by your server. I suspect you have
> networking problems and not PWS/IIS problems.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
Re: PWS problems
am 12.01.2008 07:50:20 von David Wang
1.
Logging of web requests has nothing to do with the Debugging
properties that you mention (Logging of web requests is a property of
the website)
2.
It should be present
3.
Logging Feature was installed, which would install the logging module,
but you say that it's not in the list of modules. That's a problem
4. IIS web log files are not at that location anymore (by default)
I recommend you uninstall and reinstall IIS7 in the default manner.
That will install and configure logging.
Based on your #2 observation, it seems that you have something that is
corrupting/altering your IIS7 configuration which can result in
bizarre behavior. I recommend you fix this anomaly before reinstalling
IIS7 because you could reinstall and the corruption happens again, so
you think reinstallion did nothing when in fact it's the anomaly that
is causing the issue. Always resolve the root of the issue, not the
symptom.
Thus, I'm not going to tell you how to add the module to fix your
issue -- you need to figure out what corrupted your settings to begin
with -- so that it'd stop corrupting your IIS7.
At this point, I don't see this as an PWS or IIS7 issue. You have a
corrupting agent on your computer that is causing problems, and
misbehaving IIS7 is just a symptom.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Jan 11, 9:43=A0pm, "Vahan Babakhanian" wrote:
> about logging problem
>
> I am testing my small web pages on PWS browsing them on the same computer,=
> not thru the network.
> So it should not be a network problem.
> Logs folder is still empty.
>
> I did install logging UI fromhttp://www.iis.net/downloads/default.aspx?tab=
id=3D34&i=3D1328&g=3D6
> but it did not help.
>
> 1.
> I see in IIS Manager following properties
> Debugging properties
> Enable server side debugging - FALSE =A0(I can switch it to True)
> Enable Log Error Requests - True (can't change)
> Log Errors to NT Log - False (can't change)
>
> Are these properties correct?
>
> 2.
> Also in a list of Modules (I.e. IsapiModule, CustomErrorModule...) Logging=
> module is absent.
>
> 3.
> folder system32\inetsrv\ =A0has file loghttp.dll
>
> 4. system32\LogFiles folder has only 5 folders: =A0Firewall =A0HTTPERR =A0=
Scm =A0WMI
> WUDF
>
> w3sv folders are absent on computer
>
> Any advices how to activate logging?
>
> Vahan
>
> "David Wang" wrote in message
>
> news:5a261708-f025-43e6-9ca9-1febb26527f8@m77g2000hsc.google groups.com...
>
>
>
>
>
> > 1. If you don't see logs in that directory, then either you don't have
> > Logging module installed (which would not be default behavior), or
> > your requests are not being served by your server. I suspect you have
> > networking problems and not PWS/IIS problems.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -