Quick Nav:  Online Store   |   Login | Register

exclude file procedure

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
eureka
<100 Posts
Posts:84


03/16/2007 6:12 AM  
Hi John

I have recently added a Google site map and found that it was not working correctly.  I have found that this is because I have installed PageBlaster and the btbgooglesitemap.axd  file is not excluded.

Can you please explain, which steps I need to follow in order to exclude this file, so the sitemap can access the whole site.

Thank you.


Lynn

www.drivewaydesign.eu For A Dream Driveway
www.luzzucruises.com Make the most of Malta
www.a2zdom.com Domain name matters


John Mitchell
Posts:2779


03/16/2007 8:23 AM  
Hi Lynn, you should exclude anything with a .axd extension.

You can do this in the main config file with the excludePath

pattern="\.axd" excludeFrom="All"
Marc Huijbregts
<20 Posts
Posts:3


04/17/2008 7:47 AM  

Hi John,

I just have upgraded, on my local  machine, from PB2 to PB3.1.7 (showing as 3.1.6 in modules defenition) in DNN482. I have a similar problem, only this googlesitemap is not the BTBGoogleSitemap but the one from iFinity. My googlesitemap.axd is not showing.

I have tried the exclusion twice in the main config file (1) as a seperate line withing the config file and (2) incorporated in the line of the desktopmodules, behind \.asmx divided with a pipe. Somehow this didn't do the trick for me.

I also tried to do this from the admin-> pageblaster but there doesn't seem to be an exclusion possibility over there. Is this only on a page level?

Thanks in advance,

Marc

PS: I removed the PB module to make sure that the setup is working with the googlesitemap and noticed that after removing the PB module there was still a reference to the PB module in the -section of the web.config.

 

John Mitchell
Posts:2779


04/17/2008 8:07 AM  

In PB3 you do not want to exclude all .axd files anymore, so it would be better to just exclude the specific name of the file like googlesitemap

Is this what you tried?

path pattern="(googlesitemap|DesktopModules(?!/Snapsis)|LinkClick|SiteMap|/admin/|/host/|\.asmx|\.ashx|rss|install|thumb|wizard|cart

Actually anything with the word SiteMap in it should already be excluded.

Ok, I wen't back and checked the code and I can see where .axd files that are virtual files and are not webresource or scriptresource would have had a problem.

I have attached a new DLL if you could place it in your /bin it should correct the problem.

Let me know how it works out.

Thanks.


Attachment: 141774170371.zip

John Mitchell
Posts:2779


04/17/2008 8:14 AM  
I forgot to mention that when you uninstall PageBlaster it can't remove the line in web.config because DNN does not have a hook for modules on uninstall. To uninstall you need to remove the line from web.config first.

It's easier just to comment it out if you are having issues though.
Marc Huijbregts
<20 Posts
Posts:3


04/17/2008 8:36 AM  

Hi John,

Your tip about the full reference to the googlesitemap (path pattern="(googlesitemap|DesktopModules) in combination with the new dll did the trick for me!!! 

Thanks a lot.

Marc

 

John Mitchell
Posts:2779


04/17/2008 8:45 AM  
Great, you shouldn't need the googlesitemap exclude though.

The good thing is that virtual file should now also be compressed and cached like webresource and scriptresource
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 > exclude file procedure



ActiveForums 3.7
Powered by: Snapsis Software