Quick Nav:  Online Store   |   Login | Register

Setting up exlude paths in Snapsis.PageBlaster.config

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Gilbert Vanden Borre
<50 Posts
Posts:44


03/19/2007 4:09 AM  

Dear John

First
I've a question about setting up the exclude paths... in the free Snapsis Pageblaster.
The following exclude paths are set in the Snapsis.PageBlaster.config file.

<excludePaths><path pattern="ctl=edit" excludeFrom="All"/><path pattern="\?(?!tabid)" excludeFrom="All"/><path pattern="rss" excludeFrom="All"/><path pattern="\.asxh" excludeFrom="All"/>excludePaths>

I've said you (by mail) that I've some problems with the filemanager. I can't see the subfolders when I've setup PageBlaster.
That means that I can’t upload files in a subfolder… I've not try something to fixed this yet...

I've seen also in the different post that a few people have problems with a few pages.
Like uploading .pdf files or using links...

I think that I can conclude, in the different answers that you've give, that the following excludePaths have to be set in the Snapsis.PageBlaster.config file:

<excludePaths><path pattern="ctl=edit" excludeFrom="All"/><path pattern="ctl.*?(edit|module)" excludeFrom="All"/><path pattern="\?(?!tabid)" excludeFrom="All"/><path pattern="rss" excludeFrom="All"/><path pattern="\.asxh" excludeFrom="All"/><path pattern="\.axd" excludeFrom="All"/><path pattern="\.PDF" excludeFrom="All"/><path pattern="LinkClick.aspx" excludeFrom="All"/>excludePaths>

Second
I'm wondering too if you've a workaround for the problems with the .pdf files. You've mentioned that it was because PageBlaster set a charset=UTF-8. And in the post http://www.snapsis.com/Support/SnapsisnbspSupport/tabid/601/forumid/9/tpage/1/view/Topic/postid/5234/Default.aspx  I've seen that you've made a new version that fixed this problem (Have I understand it correctly?) I'm using now version 2.1.2. Is this already fixed in version 2.1.2?


Vriendelijke groeten
Gilbert Vanden Borre
John Mitchell
Posts:3033


03/19/2007 9:24 AM  
Hi Gilbert,

To exclude the File Manager, it is easiest to turn on the includePageName="true" in the web.config for the Friendly URL provider.

Then you can use an exclude pattern like the one below:

pattern="\.axd|\.asxh|rss|LinkClick|FileManager|Cart|Install" excludeFrom="All"

The pattern above also excludes .axd and .asxh extensions, along with RSS and LinkClick.  Using a regex patter like this one will be faster than listing all the excludes in their own pattern.

You should not have to exclude .PDF extensions because PageBlaster automatically excludes any content that is not of type=text/html.
I do have a newer version that has that fix for the PDF files, and I will make sure I get the download updated soon, but feel free to send me an e-mail if you are experiencing problems with direct PDF downloads.
Gilbert Vanden Borre
<50 Posts
Posts:44


03/19/2007 3:24 PM  

Dear John

Thanks for your quick response... and the easiest way that you can exclude all the necessary pages... I'm going to try this tomorrow (it's now 22.30 hours)
Yes John, I've problems in a site who have a lot of .pdf files to download and to show them in a Iframe. I've removed PageBlaster for that reason and I'm still looking now to fix this problem. I didn't know that it was perhaps PageBlaster...
I appreciate it very much if you want to send me that version where you've fixed this. I'm using now version 2.1.2 a version that you've send me a few weeks ago. You've my email?...
Thank you so much...


Vriendelijke groeten
Gilbert Vanden Borre
Gilbert Vanden Borre
<50 Posts
Posts:44


03/20/2007 2:10 AM  

Dear John

Thanks for sending me the new version of pageblaster.
What did I see.
I've simple upload the new version in the bin folder and I've set the exclude pattern like you've said in the Snapsis.PageBlaster.config file.
pattern="\.axd|\.asxh|rss|LinkClick|FileManager|Cart|Install" excludeFrom="All".
I've checked also DotNetNuke.HttpModules.UrlRewrite" includePageName="true" in the config file (that was OK).
When I go to the dnn filemanager (host and admin) I can see the root and all the files in the root folder.
When I click to expand the root folder (filemanager in host and admin) to see the subfolders that don't work... The root folder won't expand. I can not see the subfolders.
I've removed pageblaster and then I see the subfolders with all the files in the subfolders.

What did I see also.
That the DotNetNuke.HttpModules.UrlRewrite" includePageName="true" don't eliminate all the spaces in the name.

The pagename 
for the filemanager of the host: http://.../Host/File%20Manager/tabid/19/portalid/0/Default.aspx
and for the filemanager of the admin: http://.../Admin/FileManager/tabid/46/Default.aspx

What do you suggest? What do you think?


Vriendelijke groeten
Gilbert Vanden Borre
John Mitchell
Posts:3033


03/20/2007 6:28 AM  

You could try adding a space to the exclude for the File Manager.

Also, make sure that the PageBlaster entry in the HttpModules section of web.config is the first entry (before UrlRewriter).

If that doesn't work, then you can exclude them by tab ID with the following pattern.

<pathpattern="tabid[/|=]⎟|46]$"excludeFrom="All" />

John Mitchell
Posts:3033


03/20/2007 6:54 AM  
That little square that is showing up is supposed to be the number 19.
Gilbert Vanden Borre
<50 Posts
Posts:44


03/21/2007 2:24 AM  

Dear John

Thank you very much.
Problem solved for admin. Not for host...
I'm going to try to ad a space to the exclude for the File Manager now... I let you know...


Vriendelijke groeten
Gilbert Vanden Borre
Gilbert Vanden Borre
<50 Posts
Posts:44


03/21/2007 4:08 AM  
Dear John

Like I've said problem solved for admin...
The problem is now solved also for host by setting this...

[excludePaths]
  [path pattern="ctl.*?(edit|module|tab)" excludeFrom="All" /]
  [path pattern="\?(?!tabid)" excludeFrom="All" /]
  [path pattern="\.axd|\.asxh|rss|fck|LinkClick|FileManager|File%20Manager|Cart|Install" excludeFrom="All" /]
  [path pattern="tabid.*?⎟|46]$" excludeFrom="All" /]
[/excludePaths]

I've tried also with a space between 'File Manager' but that doesn't work... It works with File%20Manager.
< = [
> = ]
And ... that little square that is showing up is supposed to be the number 19

Thanks again...

Vriendelijke groeten
Gilbert Vanden Borre
pmichael
<50 Posts
Posts:20


04/11/2007 10:55 AM  
Hi, John,

I want to exclude some pages which are input forms (multi-page Enterprise Forms form)

They have in common this in path as an example: /tabid/460/

Would I add an excludePath such as this?

[path pattern="*\tabid\460\*" excludeFrom="All" /]


I also want to exclude for CataLook which must use querystring and will have this:

default.aspx\?Tabid=411\&cartpageno=4\&CC=1\&SSL=no

Would this work?

[path pattern="*\default.aspx\?Tabid=411\*" excludeFrom="All" /]


Thanks,
Mike
John Mitchell
Posts:3033


04/11/2007 11:30 AM  
Hi Michael,
The examples shown earlier in this thread are a better way to exclude by tab. Depending on if the UrlRewrite module is placed above or below PageBlaster in the Web.config the path that is seen by PageBlaster will look a little different. If UrlRewrite is above PageBlaster then the tabid/411 format will be used, if it is below the pageBlaster then it will have already rewritten the Url and it will be a normal querystring tabid=411. You also probably do not want to exclude tabs 4111, 4112, etc. so you need to have a pattern that stops, which is what the $ tells the pattern.

So, the pattern should look like this pattern="tabid[/=𖳣$"

Another avantage of useing a good patterns is you can make the comparisson faster by including all your tab exclusion in one. So if you want to exclude tabs 411, 582, and 777 then the pattern would look like this: pattern="tabid[/=]𖔓|582|777]$"

I also use catalook and to exclude the cart i just use the word cart, and combine it with all the other words and extensions that should be excluded in one pattern:

pattern="\.axd|\.asxh|rss|fck|LinkClick|Cart|Install"
Laurence Neville
<100 Posts
Posts:60


06/05/2007 6:37 AM  
I stumbled upon this thread and finally found out why I can't see the subfolders in File Manager. Thanks for the answer!

I don't understand why File Manager would be affect by PB, given that a user is always logged in to use it. Can you explain?
Laurence Neville
<100 Posts
Posts:60


06/05/2007 6:42 AM  
Sorry about the multiple posts. I am having this wierd problem with my PC/browser where I click a link/button to go to a page and get an old version of the page. Then after hitting F5 I get the current version. Any insight into that is welcome, but probably nothing to do with PB!
John Mitchell
Posts:3033


06/05/2007 6:56 AM  
Caching is not performed for logged in users by default. PageBlaster will always do compression even when logged in. It is the compression that is breaking the ajax postback from the file manager tree.

The latest version of PageBlaster has turned off compression and caching for any postback since Ajax is starting to be used more and more.
Laurence Neville
<100 Posts
Posts:60


06/05/2007 1:28 PM  
Thanks, that makes sense.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Setting up exlude paths in Snapsis.PageBlaster.config



ActiveForums 3.7
Powered by: Snapsis Software