Interesting! Thank you for sharing!
However, I got a little problem when I tried step 1-9 and 13 trying to set 
up a local link. It create a link "nas" in my C:\Inetpub\wwwroot\ISB\data, 
but where does it actually put the data to? let's say I want to put all my 
data in D:/TPPDATA, is there anyway to make it happen?

Thanks!

SunSun

On Monday, January 5, 2015 at 11:25:49 PM UTC+8, Ulrich Omasits wrote:
>
> Hi all,
> I have recently managed to get the TPP working with data on a network 
> share and I would like to share my approach here.
> The trick was basically not to change TPP configuration at all, but get 
> Windows and Apache do the work. 
>
> So here is the "brief" How-To (the steps are for Windows 7 but should be 
> very similar on XP or 8):
>
>    1. install Petunia TPP (with all default settings, including Apache)
>    2. open the Apache configuration in a text editor: 
>        C:\Program Files (x86)\Apache Software 
>    Foundation\Apache2.2\conf\httpd.conf
>    3. find the following lines at the end of the file:
>        <Directory "C:/Inetpub/wwwroot">
>            Options MultiViews Includes
>    4. to this second line, add the Indexes and FollowSymLinks options: 
>            Options MultiViews Includes Indexes FollowSymLinks
>    5. save and close the httpd.conf file
>    6. open cmd.exe as admin
>    7. change to the TPP data directory:
>        cd C:\Inetpub\wwwroot\ISB\data
>    8. create a symlink to your network path:
>        mklink /D nas \\storage.server.address\myshare
>    9. create a startup script to allow the System account to access your 
>    network share:
>        mkdir C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup
>        echo NET USE \\storage.server.address\myshare /persistent:yes 
>    /USER:myusername mypassword > 
>    C:\Windows\System32\GroupPolicy\Machine\Scripts\Startup\connectNAS.bat
>    10. open the LocalPolicyEditor by running: gpedit.msc
>    11. in the LocalPolicyEditor, navigate to:
>        Computer Configuration -> Windows Settings -> Scripts -> Startup
>    12. open the properties for the Startup entry, and add the previously 
>    created connectNAS.bat script
>    13. reboot your Windows system
>    14. in a browser, open http://your.server.address/tpp-bin/tpp_gui.pl
>    
> That's it! Now you can convert files, run searches, and interact results 
> all on your network drive!
>
> *Note 1:* If you just want to redirect to a local path instead of a 
> network path, you can skip steps 9 to 12, and just restart Apache instead 
> of rebooting Windows in step 13.
>
> *Note 2:* If you install TPP on a server and want to access from another 
> computer, you would have to configure the Firewall as follows:
>
>    1. to open the Windows Firewall settings, run: wf.msc
>    2. add a "New Rule" to the "Inbound Rules":
>    *    Rule Type*: Program
>    *    Program*: C:\Program Files (x86)\Apache Software 
>    Foundation\Apache2.2\bin\httpd.exe
>    *    Action*: Allow the connection
>    *    Profile*: check all 3 profiles
>    *    Name*: TPP
>
>
> Hope this helps somebody!
>
> all the best,
> Ulrich
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to