URL.txt Newbie Question
Moderators: Tyler, Scott, PWB v2 Moderator
URL.txt Newbie Question
We just upgraded to v2.04 and I have a question about the URL.txt. In the old PWB version we setup an onlyaccess.txt list for our public access catalogs and when someone tried to go someplace that wasn't on the list it sent them back to the home page. Is there a way I can do this in the new version? I've been looking in the .INI file but haven't been able to find that setting. Thanks.
PWB uses the URL filter file. The only access, no access, has been replaced by a "+" or "-" in the single filter file.
Check out this post.
http://www.teamsoftwaresolutions.com/ph ... c.php?t=13
--Scott
Check out this post.
http://www.teamsoftwaresolutions.com/ph ... c.php?t=13
--Scott
I've been playing around with the URL.txt and I almost have it working... I have it setup like this:
-all
+library.ppld.org
+http://www.e-toolbox.com/
+www.libraryhq.com/uhtbin/getenrich
+www.referenceusa.com
+catalog.ppld.org
+etc....
The only problem is when I try to get to google I can. When I try to do a search it stops me but I don't understand why I can even get to google in the first place.
Also in the old version of PWB you had this line in the .INI:
OnDenyAccess=Home
Is there a way I can do this with the new version? Thanks.
-all
+library.ppld.org
+http://www.e-toolbox.com/
+www.libraryhq.com/uhtbin/getenrich
+www.referenceusa.com
+catalog.ppld.org
+etc....
The only problem is when I try to get to google I can. When I try to do a search it stops me but I don't understand why I can even get to google in the first place.
Also in the old version of PWB you had this line in the .INI:
OnDenyAccess=Home
Is there a way I can do this with the new version? Thanks.
There is something in your URL file that is allowing access to Google. The filters use an in string function that looks for strings in side the URL for access rights. To get a list of what PWB is seeing for URLs, enable the history file, URL tracking, and access logging.
[Security]
...
WriteHistoryFile=True
TrackURL=True
CheckURLAccess=True
...
LogAccess=True
...
By examining the history file you can determine what PWB is allowing access to and the URLs that PWB is parsing.
PWB v2.04 revision 4 now in beta testing adds regular expressions to the URL parsing functions. This will allow further fine tuning of the URL filter file.
PWB v2.04 revision 4 beta
http://www.teamsoftwaresolutions.com/beta/PWBv204r4.zip
Guide to using regular expressions
http://etext.lib.virginia.edu/helpsheets/regex.html
Currently PWB v2 does not have on deny access home, but I have added an on deny access actions to our to do list.
--Scott
[Security]
...
WriteHistoryFile=True
TrackURL=True
CheckURLAccess=True
...
LogAccess=True
...
By examining the history file you can determine what PWB is allowing access to and the URLs that PWB is parsing.
PWB v2.04 revision 4 now in beta testing adds regular expressions to the URL parsing functions. This will allow further fine tuning of the URL filter file.
PWB v2.04 revision 4 beta
http://www.teamsoftwaresolutions.com/beta/PWBv204r4.zip
Guide to using regular expressions
http://etext.lib.virginia.edu/helpsheets/regex.html
Currently PWB v2 does not have on deny access home, but I have added an on deny access actions to our to do list.
--Scott
I checked my URL.txt file and can't see why it's allowing people to get to google, could you take a look at it and see what's up? Thanks.
http://bluebeetle.org/URL.txt
http://bluebeetle.org/URL.txt
Hi,
Ran a test using your URL file in place of our own. I couldn't load http://www.google.com
Are you sure you have CheckURLAccess=True?
Ran a test using your URL file in place of our own. I couldn't load http://www.google.com
Are you sure you have CheckURLAccess=True?
mtaylor wrote:I checked my URL.txt file and can't see why it's allowing people to get to google, could you take a look at it and see what's up? Thanks.
http://bluebeetle.org/URL.txt
I think if you add
this would stop anyone from getting their.
Bob.
First, try fixing these lines:
SearchPage=http://http://catalog.ppld.org
WebMailPage=http://http://catalog.ppld.org
I seem to recall that the default setting for the search page is www.google.com - maybe (and I could be WAY off here) they are clicking the search button, and since the double http://'s look like a problem, maybe PWB is defaulting to www.google.com for the search page?
SearchPage=http://http://catalog.ppld.org
WebMailPage=http://http://catalog.ppld.org
I seem to recall that the default setting for the search page is www.google.com - maybe (and I could be WAY off here) they are clicking the search button, and since the double http://'s look like a problem, maybe PWB is defaulting to www.google.com for the search page?