Home
TeamSite
IIS SSI
cc96ai
I preview the page and view the source code
I still can see the
<!--#include virtual="../commonnav/hcnavblue.txt"-->
so does it mean the SSI is not working ?
but it did work before, it means someone change the IIS setting or iw.cfg ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
Find more posts tagged with
Comments
iwovGraduate
... so does it mean the SSI is not working ? ...
I would conclude so.
... it means someone change the IIS setting or iw.cfg ? ..
Well, I can assure you that I didn't change it for sure.
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
Pretty much, though iwovGraduate said he did not change it, I would not trust him.
What happened to the regex you were trying to get working with the SSI ? Maybe they are
not quite working yet.
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
I didnt trust him as well :-p
I
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
regex which is in iw.cfg , right ?
here is my iw.cfg
--------------------------
[iwproxy_fullproxy_redirect]
_regex=^http=
http://sorry-no-fullproxy-available/
[iwproxy_remap]
global_default_map=/
[global_default_map]
[iwproxy_preconnect_remap]
[iwproxy_failover_remap]
[iwproxy_hostheader_remap]
[iwproxy_smartcontextedit_allowed]
[iwproxy_access_control_enabled]
[iwproxy_external_remap]
[iwproxy_plugin_remap]
#_debug=true
OR I have to take a look on other conf file ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
my bad, I thought you had posted some questions before about regex for SSI, but they are not in the iw.cfg
You may want to check the IIS log to see if there are any errors.
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
I enabled debug mode in iw.cfg
[iwproxy_plugin_remap]
_debug=true
and I checked on iw_isapi.log
it seems no mapping log in here.
then can I know where can i check the SSI mapping configuration ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
From the admin manual (admittedly Solaris): debugging information is
stored in the Web server error log file. This log file can grow extremely large over time
For DOS: On IIS, this information is stored in C:\temp\iw_isapi.log.
This log file can grow extremely large over time.
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
I cannot find the remapping in my current log file
This is my previous log file which contains some remapping
OnUrlMap
ThreadId: 4556
URL: /commonnav/hcnavbluemainpage.txt
PhysicalPath: c:\inetpub\wwwroot\commonnav\hcnavbluemainpage.txt
Buffer Size: 261
String length: 50
SCRIPT_NAME: '/iw-mount/default/main/Internet/WORKAREA/Internet/index.html'
PATH_INFO: ''
OnUrlMap, Parent Request is 'Y:\default\main\Internet\WORKAREA\Internet\index.html'
OnUrlMap, Orig 'c:\inetpub\wwwroot\commonnav\hcnavbluemainpage.txt', 261 buff bytes, strlen 50
OnUrlMap, constructed parent url is '/iw-mount/default/main/Internet/WORKAREA/Internet/index.html'
OnUrlMap, constructed subrequest url is '/commonnav/hcnavbluemainpage.txt'
OnUrlMap, post-rewrite url is '/iw-mount/default/main/Internet/WORKAREA/Internet/commonnav/hcnavbluemainpage.txt'
OnUrlMap, post-rewrite ppath is 'Y:\default\main\Internet\WORKAREA\Internet\commonnav\hcnavbluemainpage.txt'
OnUrlMap Rewrite complete
URL: /commonnav/hcnavbluemainpage.txt
PhysicalPath: Y:\default\main\Internet\WORKAREA\Internet\commonnav\hcnavbluemainpage.txt
Buffer Size: 261
String length: 74
Can I know what happened in here ? where can I set in server / configuration file ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
Well since the redirection is turned off, there may not be a log file.
Are you certain that IIS is properly handling the SSIs ? Can you see them
if you go to the IIS directly:
http://server:81/iw-mount/default/main/
.......
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
I got same result in
http://server:81/iw-mount/default/main/
.......
I still only can see
<!--#include virtual="../commonnav/hcnavblue.txt"-->
in my "View Source"
so does it mean the SSI off in this case ?
I have to ask Admin to check on ISAPI -> iwrewrite Filter ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
Then IIS is not properly handling SSIs.
It should not be iwrewrite since that would not be used by the URL you just posted.
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
in this case,
I only have to configure IIS
nothing involve in Teamsite ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
nipper
Make it workfor IIS without TS involved first. Then get it to work in TS
previewpreferences.JPG
webbrowserpreferences.JPG
cc96ai
Thanks,
but I dont have permission to work on IIS
this is going to kill me
i have to send the request to admin to take a look on it
I sent the following insturction to him, hope can get the feedback soon
Troubleshooting
-------------------
If you are using an IIS Web server and SSI requests are not executing properly, try the
following procedure:
1. Click Start > Run and type mmc to open the Microsoft Management Console.
2. Right-click on the name of your Web server.
3. Select Properties.
4. Select the Home Directory tab.
5. Select Configuration.
6. Select the App Mappings tab.
7. Confirm that files with an .htm extension are mapped to the following file:
WINNT\system32\inetsrv\ssinc.dll
If the application mapping does not exist, create it.
8. Apply changes and confirm by selecting OK.
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
previewpreferences.JPG
webbrowserpreferences.JPG
iwovGraduate
Don't forget to restart IIS after making changes.
previewpreferences.JPG
webbrowserpreferences.JPG
fiquebem
We have TS 6.5 and IIS 6 on Windows 2003 EE. I'm having trouble previewing ASP files (the ones w/ SSIs). I'm getting "The page cannot be displayed" (HTTP 500 - Internal server error).
Where can I find out what's causing the error? The daily log in the IISLOG directory doesn't help much. The error.log in <iw-home>\iw-webd\logs has worthless entries, e.g., "File does not exist .../LaunchPadApplet$COMClassObject.class." Last I knew, in the UNIX world, there used to be an error_log under logs\iwui. It was helpful ...
>Confirm that files with an .htm extension are mapped to the following file: WINNT\system32\inetsrv\ssinc.dll
I added a mapping for ".shtml" (for all Verbs) pointing to C:\WINDOWS\system32\inetsrv\ssinc.dll and I can preview .shtml pages from TS now. But what do I do w/ ASP files? There's already a mapping for ".asp" (for these Verbs: GET,HEAD,POST,TRACE) pointing to C:\WINDOWS\system32\inetsrv\asp.dll. Should I replace asp.dll w/ ssinc.dll w/o any compunction?
Incidentally, I've had to reboot the W2K3 box to get changes to iwproxy_plugin_remap noticed by IIS. Stopping and starting the "IW-Mount Web Site" hasn't been sufficient. I guess the iwproxy_isapi.dll isn't reloaded unless you reboot. I'm new to the Windows side, so any hints are welcome. Someone mentioned "iisrestart." Will that bypass the need to reboot?
Thanks and regards,
S.
previewpreferences.JPG
webbrowserpreferences.JPG
fiquebem
>There's already a mapping for ".asp" (for these Verbs: GET,HEAD,POST,TRACE) pointing to C:\WINDOWS\system32\inetsrv\asp.dll.
Looks like that's just fine.
The problem is that iwproxy_isapi.dll is not being invoked at all for ASP files (whereas it is being used for .shtml files and generating debugging information all right). I added the following to httpd.conf.template (in <iw-home>\iw-webd\conf), but it doesn't seem to be helping:
AddType text/html .shtml
AddHandler server-parsed .shtml .asp
Should I be changing the configuration of IIS instead : )?
We're running TS 6.5 w/ SP1 + patch and IE6 on W2k3 EE.
Thanks,
S.
previewpreferences.JPG
webbrowserpreferences.JPG
fiquebem
>There's already a mapping for ".asp" (for these Verbs: GET,HEAD,POST,TRACE) pointing to C:\WINDOWS\system32\inetsrv\asp.dll. Should I replace asp.dll w/ ssinc.dll w/o any compunction?
In IIS, for the IW-Mount Web Site, we changed the .asp ISAPI extention mapping from asp.dll to ssinc.dll, and now iwproxy_isapi.dll is remapping "include" file paths for ASP pages too. But I have a feeling that's a bad idea and not the end of the story : ).
S.
previewpreferences.JPG
webbrowserpreferences.JPG
fiquebem
We reverted back to C:\WINDOWS\system32\inetsrv\asp.dll. Everything is working as expected. I guess the trouble was between the chair and the terminal. In the Windows world, sometimes it takes a while for things to propagate. But perhaps I had failed to properly run iwreset, stop/start iwproxy and run iisreset/restart.
S.
previewpreferences.JPG
webbrowserpreferences.JPG