Menu

#956 Setting Windows Configdir

3.0.x
closed
nobody
5
2007-10-31
2007-10-16
campbellpv
No

I am using Win XP, Firefox 2.0.0.7 and Privoxy 3.0.6. I don't have any issues with Privoxy working, I just want to set the documentation directory to the windows directory (C:\Program Files\Privoxy\doc\user-manual}. I have tried variations in the config.txt file in section 1.1. I have tried reversing the slashes, putting file:/// in front of the windows path and various searches in Google. The Privoxy manual sort of leaves out the details of a "normal" windows path and it appears that all the paths are UNIX/LINUX related. Any help would be appreciated.

Thanks

campbellpv

Discussion

  • campbellpv

    campbellpv - 2007-10-16

    Logged In: YES
    user_id=1913979
    Originator: YES

    Sorry, I hit refresh twice, not realizing that it would resubmit my question.

     
  • icmp30

    icmp30 - 2007-10-16

    Logged In: YES
    user_id=1428111
    Originator: NO

    The syntax for you would be
    user-manual file:///c:/Program Files/Privoxy/doc/user-manual/

    The problem is that Firefox, by default, blocks 'file://' links. So you need to install a local policy to allow "file:" links from Privoxy web pages. Here's what I added to my user.js

    // allow Privoxy to link to the local user-manual files
    // needed if you have a "user-manual file://..." directive in config.txt
    // ref: https://bugzilla.mozilla.org/show_bug.cgi?id=84128
    // When clicking on a 'file:' link on a page that does not have a
    // 'file:' URL itself, the new page does not get loaded.
    // ref: http://kb.mozillazine.org/Links_to_local_pages_don't_work
    // NOTE: more magic is required if the 'noscript' addon is installed
    user_pref("capability.policy.policynames", "localfilelinks");
    user_pref("capability.policy.localfilelinks.sites", "http://config.privoxy.org http://p.p");
    user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

    (See http://www.mozilla.org/support/firefox/edit if my "what I added to my user.js" was a bit too cryptic.)

    That will get the majority of the links working. But things like the "documentation" link on the p.p and config.privoxy.org/show-url-info pages ends up showing a directory listing. If you'd rather have those links take you to the main docs page, change the line to
    user-manual file:///c:/Program Files/Privoxy/doc/user-manual/index.html

     
  • Fabian Keil

    Fabian Keil - 2007-10-16
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.