Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 1:35 AM |
| Dear John (and Mariette) Today I want to try to set up the pageblaster. I've read all your post... And you've done very good work. In the different thread (John, Mariette, others...) you've said that many pages has to be exclude (and this for different reasons). Has I read this threads very good I've maked for myself the following list. (for version 1, as a summary)...
<excludePaths> <path pattern="\?(?!tabid)"/> <path pattern="WebResource\.axd"/> <path pattern="MakeThumbImage\.aspx"/> <path pattern="Download\.aspx"/> <path pattern="Install"/> <path pattern="MailConnector"/> <path pattern="Admin"/> <path pattern="ftb.*aspx"/> <path pattern="rss"/> > And others... if there are not a tabid in the pagename and you wish to exclude them from compression and cache...
I see now that you've make a second release. Pageblaster 1.2. In this release you've set only one exclude path... <excludePaths> <path pattern="\?(?!tabid)"excludeFrom="All"/> << span>excludePaths> In the last post of Mariette she said: All newsfeeds on my site stopped working after installing PageBlaster. Trick is to add an exception for 'rss' in config file. Your answer: Good catch Mariette and thanks for taking the time to let us know. That is because that one still has TabId as a parameter in DotNetNuke. I guess I need to include some possible paths to exclude in the config comments. Before I try it... With your settings <PATHpattern="\?(?!tabid)"excludeFrom="All"/> are all the above mentioned exclude paths set? What does excludeFrom="All" mean? I've search at the comments for the 'possible paths to exclude in the config' but I've found no comments.
Can you give me what more insight?
| | Vriendelijke groeten Gilbert Vanden Borre | |
|
|
|
John Mitchell Posts:3084


| | 08/13/2006 1:51 AM |
| Hi Gilbert,
You are correct, with pageBlaster 1.2 I created a single default excludePath that handles almost all cases.
But Mariette found one more that is needed since it is a path that has tabid in it, but you still need to exclude it. I also still exclude my shopping cart.
the excludeFrom attribute currently has three possible values, "Caching", "Compression", or "All". All means to exclude it from both Caching & Compression. | | | |
|
John Mitchell Posts:3084


| | 08/13/2006 1:53 AM |
| By the way, To get the XML values to show up in the post, you can wrap them with tags like this: < code > Put code in here </ code > | | | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 2:03 AM |
| John, Thanks for a so quick reply. Does this mean that the following settings the only one that has to be set for a normal installation.
<excludePaths><pathpattern="\?(?!tabid)"/><pathpattern="rss"/></excludePaths> | | Vriendelijke groeten Gilbert Vanden Borre | |
|
John Mitchell Posts:3084


| | 08/13/2006 2:10 AM |
| Yes, for DotNetNuke, this is a good default. But if you run into anything else that isn't working and it has "tabid" in it's path then you may need to exclude that also. Please let us know if you find any other paths that need to be excluded. | | | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 2:26 AM |
| Dear John
Thanks... I give it a try today... | | Vriendelijke groeten Gilbert Vanden Borre | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 2:55 AM |
| Dear John
The following error occurs when I set the Pageblaster
Server Error in '/' Application.
Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
<PRE><!--Web.ConfigConfigurationFile--><configuration><system.web><customErrorsmode="Off"/></system.web></configuration></PRE> |
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
<PRE><!--Web.ConfigConfigurationFile--><configuration><system.web><customErrorsmode="RemoteOnly"defaultRedirect="mycustompage.htm"/></system.web></configuration></PRE> |
I've copied the two .dll files and put them in the bin folder. What did I wrong?... | | Vriendelijke groeten Gilbert Vanden Borre | |
|
John Mitchell Posts:3084


| | 08/13/2006 3:02 AM |
| You will need to turn set the customErrors mode to "Off" and get the real error.
I can't tell what is wrong by that one.
As a guess, it may be write permissions. And I am assuming you also put the Snapsis.PageBlaster.config file in the root of your web app (same folder as web.config) | | | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 3:24 AM |
| Dear John
How stupid of me... I've put the code of the snapsis.PageBlaster.config in the web.config file like I had to do with the blowery http compression... I had to read your guide more carefully. Now it gives no errors... Just upload the .dll files in the bin directory Putting the snapsis.PageBlaster.config in the root directory... And that's it. I checked this out with the http://www.port80software.com/tools/compresscheck but the website was not compressed. Neither I see nothing in the /portals/_default/Cache folder...
Is there something I did wrong? Could it be that my provider set something that this not can be done?
| | Vriendelijke groeten Gilbert Vanden Borre | |
|
John Mitchell Posts:3084


| | 08/13/2006 11:09 AM |
| Hi Gilbert, Can you send me a link to your site? You can also try to see if PageBlaster is properly installed yourself by going to http://web-sniffer.net/ and entering the Url to your site. Once you get the response, look at the Response Headers section and see if it has a X-Snapsis.PageBlaster header value like the one below: HTTP Response Header| Name | Value | Delim |
|---|
| HTTP Status Code: HTTP/1.1 200 OK | | Server: | Microsoft-IIS/5.0 | CRLF | | Date: | Sun, 13 Aug 2006 16:05:58 GMT | CRLF | | Connection: | close | CRLF | | X-AspNet-Version: | 2.0.50727 | CRLF | | Content-Encoding: | gzip | CRLF | | X-Snapsis-PageBlaster: | v:1.3;c:m | CRLF | | Set-Cookie: | .ASPXANONYMOUS=jqnZM4T1xgEkAAAAYWJhYjI0MDItNzM3Ny00ZjE5LWI2 OWYtNWY3ZDNiODZhMzI20; expires=Sun, 22-Oct-2006 02:45:58 GMT; path=/; HttpOnly | CRLF | | Cache-Control: | private | CRLF | | Content-Type: | text/html; charset=UTF-8 | CRLF | | Content-Length: | 5015 | CRLF |
Content (encoded: 4.90 KiB / decoded: 16.55 KiB) | | | |
|
Gilbert Vanden Borre
 Posts:44


| |
John Mitchell Posts:3084


| | 08/13/2006 11:48 AM |
| You are right, PageBlaster is not running on that site.
Did you add it in the httpModules section of web.config with this line of code? It should be the forst one in that section so it'll look something like this: <httpModules> <addname="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster"/> <addname="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite"/> <addname="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception"/> <addname="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline"/> <addname="DNNMembership" type="DotNetNuke.HttpModules.DNNMembershipModule, DotNetNuke.HttpModules.DNNMembership"/> <addname="Personalization" type="DotNetNuke.HttpModules.PersonalizationModule, DotNetNuke.HttpModules.Personalization"/> < span>> | | | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 11:55 AM |
| Dear John
No... I was half a sleep this morning I think... I give it a try... Thanks. | | Vriendelijke groeten Gilbert Vanden Borre | |
|
Gilbert Vanden Borre
 Posts:44


| | 08/13/2006 12:07 PM |
| Dear John
Compression works... Thanks again... | | Vriendelijke groeten Gilbert Vanden Borre | |
|