Issues - Upgrade to Windows Server 2008 from 2003
14 posts
• Page 1 of 1
Issues - Upgrade to Windows Server 2008 from 2003
So we've upgraded form IIS 6/Windows Server 2003 to IIS 7/Windows Server 2008.
We were previously using the linkfreeze ISAPI module but since that is no longer possible in IIS 7, we bought Helicon Ape. Following directions to translate our old Linkfreeze fule to Ape, I ran into a problem.
You can no longer use the + sign to replace ? & = symbols. When I put the + symbol in the .htacess file it throws an error in the log that + is an invalid character to use. This is a problem because we want to keep our old url structure that we rank well for with SEO.
So, how can we maintain our old URL structure of replacing ? & = symbols with the + symbol and moving the extension to the end of the url from ASPX to HTML?
Example:
http://www.certstaff.com/classes/catego ... +2560.html
becomes...
https://www.certstaff.com/classes/categ ... +2560.html
We were previously using the linkfreeze ISAPI module but since that is no longer possible in IIS 7, we bought Helicon Ape. Following directions to translate our old Linkfreeze fule to Ape, I ran into a problem.
You can no longer use the + sign to replace ? & = symbols. When I put the + symbol in the .htacess file it throws an error in the log that + is an invalid character to use. This is a problem because we want to keep our old url structure that we rank well for with SEO.
So, how can we maintain our old URL structure of replacing ? & = symbols with the + symbol and moving the extension to the end of the url from ASPX to HTML?
Example:
http://www.certstaff.com/classes/catego ... +2560.html
becomes...
https://www.certstaff.com/classes/categ ... +2560.html
Re: Issues - Upgrade to Windows Server 2008 from 2003
It also create a session state error on some dynamic pages:
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
Example url - https://www.certstaff.com/classes/class ... 04582.html
Session state is enabled all throughout the site in web.config. I tinkered with it for hours and it still throws that error
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
Example url - https://www.certstaff.com/classes/class ... 04582.html
Session state is enabled all throughout the site in web.config. I tinkered with it for hours and it still throws that error
Re: Issues - Upgrade to Windows Server 2008 from 2003
Hello,
As for using the "+" sigh as a replacement character, consider consulting this article to deal with it http://www.helicontech.com/articles/plus-sign-in-iis7/
"It also create a session state error on some dynamic pages"
- could you show the error message you get and explain when it happens or whether it's random.
As for using the "+" sigh as a replacement character, consider consulting this article to deal with it http://www.helicontech.com/articles/plus-sign-in-iis7/
"It also create a session state error on some dynamic pages"
- could you show the error message you get and explain when it happens or whether it's random.
Re: Issues - Upgrade to Windows Server 2008 from 2003
Okay, I enabled double escaping but the error log for Helicon Ape is still saying '+++' argument is NOT correct
Re: Issues - Upgrade to Windows Server 2008 from 2003
Could you please show the config line for mod_linkfreeze and the piece of error.log related to the problem.
Re: Issues - Upgrade to Windows Server 2008 from 2003
# Helicon Ape version 3.0.0.76
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
And here is the error log:
[5/15/2012 11:11:24 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:11:24 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:11:24 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:11:28 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:11:28 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:13:06 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:13:06 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:08 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:08 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:14:15 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:15 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:14:17 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:17 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:19 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:19 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:23 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:23 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:48 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:48 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:51 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:51 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:14:50 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:50 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:53 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:53 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:15:23 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:15:23 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:15:23 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:18:00 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:18:00 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:18:00 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:19:05 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:19:05 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:19:05 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:21:01 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:21:01 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:21:01 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
And here is the error log:
[5/15/2012 11:11:24 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:11:24 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:11:24 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:11:28 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:11:28 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:13:06 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:13:06 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:08 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:08 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:14:15 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:15 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:14:17 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:17 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:19 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:19 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:23 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:23 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:48 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:48 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:51 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:51 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 5044848377, physical memory limit: 99%
[5/15/2012 11:14:50 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:50 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:14:53 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:14:53 AM] [cache_module] items stored in the cache: 0; bytes available for the cache: 1184667484, physical memory limit: 99%
[5/15/2012 11:15:23 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:15:23 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:15:23 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:18:00 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:18:00 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:18:00 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:19:05 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:19:05 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:19:05 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
[5/15/2012 11:21:01 AM] [LicenseManager] Credentials for Certified Staffing Solutions are valid
[5/15/2012 11:21:01 AM] [cache_module] items stored in the cache: 1; bytes available for the cache: 5147804467, physical memory limit: 99%
[5/15/2012 11:21:01 AM] [ConfigLoader] (4) [/] c:\inetpub\www.certifiedstaffingsolutions.com\.htaccess(4): Unknown Error in the linkfreeze_module.
Line: LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
'+++' argument is NOT correct
Re: Issues - Upgrade to Windows Server 2008 from 2003
Hello,
There seemed to be a bug. We've fixed it and you can download the new build here http://www.helicontech.com/download/ape ... e_0079.msi
There seemed to be a bug. We've fixed it and you can download the new build here http://www.helicontech.com/download/ape ... e_0079.msi
Re: Issues - Upgrade to Windows Server 2008 from 2003
Okay, so that solved using the + symbol.
Now here's the problem. When accessing some dynamic pages like this - https://www.certstaff.com/trainingcatal ... -spss.html
It won't pull the dynamic parts (from a database) and throws this error at the bottom of the page:
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
Now here's the problem. When accessing some dynamic pages like this - https://www.certstaff.com/trainingcatal ... -spss.html
It won't pull the dynamic parts (from a database) and throws this error at the bottom of the page:
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
Re: Issues - Upgrade to Windows Server 2008 from 2003
Hello,
Please find the following line in your applicationHost.config
<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" />
and remove this part: preCondition="managedHandler".
It should help.
Please find the following line in your applicationHost.config
<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" />
and remove this part: preCondition="managedHandler".
It should help.
Re: Issues - Upgrade to Windows Server 2008 from 2003
Thanks so much! The new server is now up and running great. Thanks.
Re: Issues - Upgrade to Windows Server 2008 from 2003
Okay, it is working fully now, but 1 problem I noticed today. It is changing the order of the query parameters in the static url being generated.
Check out how our site is indexed and how we want the URL's to stay on say this dynamic page - site:www.certstaff.com/classes/categoryschedule
We want the URL's to stay like this:
http://www.certstaff.com/classes/catego ... d+214.html
BUT, instead the server now renders it like this when you click through from Google:
http://www.certstaff.com/classes/catego ... id+25.html
So, my question is... How do you keep/control the order in which the dynamic query parts of the URL are rendered with our previous linkfreeze rule being:
#################################################
# LinkFreeze Configuration file
# Version 2, 2, 0, 81
LogRewrite=True
NotifyOrder=MEDIUM
/ +++ .aspx [MoveExt,AbsLinks,Redirect]
And our new rule in Helicon Ape being:
# Helicon Ape version 3.0.0.76
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
Check out how our site is indexed and how we want the URL's to stay on say this dynamic page - site:www.certstaff.com/classes/categoryschedule
We want the URL's to stay like this:
http://www.certstaff.com/classes/catego ... d+214.html
BUT, instead the server now renders it like this when you click through from Google:
http://www.certstaff.com/classes/catego ... id+25.html
So, my question is... How do you keep/control the order in which the dynamic query parts of the URL are rendered with our previous linkfreeze rule being:
#################################################
# LinkFreeze Configuration file
# Version 2, 2, 0, 81
LogRewrite=True
NotifyOrder=MEDIUM
/ +++ .aspx [MoveExt,AbsLinks,Redirect]
And our new rule in Helicon Ape being:
# Helicon Ape version 3.0.0.76
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect ]
Re: Issues - Upgrade to Windows Server 2008 from 2003
The url's were shortened so I want to be sure you can see we want to keep this order of the dynamic parts:
www.certstaff.com/classes/categorysched ... d+214.html
but instead Helicon Ape is rendering it in this order:
www.certstaff.com/classes/categorysched ... id+25.html
www.certstaff.com/classes/categorysched ... d+214.html
but instead Helicon Ape is rendering it in this order:
www.certstaff.com/classes/categorysched ... id+25.html
Re: Issues - Upgrade to Windows Server 2008 from 2003
This forum keeps shortening the URL. Just hover over each and you will see what I mean for the different order or dynamic parameters.
Re: Issues - Upgrade to Windows Server 2008 from 2003
Never mind, I saw I could invoke NoSort to keep them in non-alphabetical order like they were. I change our Helicon Ape file to:
# Helicon Ape version 3.0.0.79
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect, NoSort ]
# Helicon Ape version 3.0.0.79
SetEnv mod_linkfreeze
LinkFreezeRule +++ "aspx=html" [ MoveExt, Abslinks, Redirect, NoSort ]
14 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests