开发者

Finding unused pages in Classic ASp

开发者 https://www.devze.com 2023-03-12 20:25 出处:网络
Just got a huge (multi-hundred page) Cl开发者_运维问答assic ASP site. Is there an easy - or relatively easy - way to find out which pages aren\'t referenced by others? I\'ve isolated any that run stan

Just got a huge (multi-hundred page) Cl开发者_运维问答assic ASP site. Is there an easy - or relatively easy - way to find out which pages aren't referenced by others? I've isolated any that run standalone.


If you are interested in files that are included I would use grep and concentrate on the phrase <!--#include and cross reference this with active ASP pages in the ones you've identified and the IIS logs. I wouldn't remove them for a few weeks but add extra code to track if they have loaded via the event log or similar, ensuring that you don't delete any you shouldn't. Ones that don't get tracked you know you are safe to move/delete etc...

0

精彩评论

暂无评论...
验证码 换一张
取 消