The Network People Support Forums

Other TNPI Software => NicTool => Topic started by: rainer_d on October 03, 2005, 09:20:39 AM

Title: Which NicToolClient.pm ?
Post by: rainer_d on October 03, 2005, 09:20:39 AM
Hi,

I've now created my own template for our hosting-setup here (all IPs fixed, but two IPs for every service (mail, www, ftp)).
I found I only had to edit NicToolClient.pm - but it seems that due to the

mv NicToolClient-X.XX /usr/local/www/NicToolClient


step in the installation, it installs NicToolClient also into the web-directory.
Initially, it would only change the display of the page when I edited both of these file.
Is that really the case or just a caching-issue? Can I just remove NicToolClient.pm in /usr/local/www/NicToolClient/lib?


cheers,
Rainer
Title: Re: Which NicToolClient.pm ?
Post by: matt on October 05, 2005, 06:27:32 PM
I'm not sure I fully understand your question, but the NicTool files will get cached until Apache is reloaded.  I think that might answer you question.
Title: Re: Which NicToolClient.pm ?
Post by: rainer_d on October 07, 2005, 10:49:18 AM
matt wrote on Thu, 06 October 2005 02:27

I'm not sure I fully understand your question, but the NicTool files will get cached until Apache is reloaded.  I think that might answer you question.



OK, Apache needs to be restarted.

But:
- I edit NicToolClient.pm in site_perl
- apachectl stop
- wait
- apachectl startssl
- no new templates

cp NicToolClient to /usr/local/www/NicToolClient/lib

- apachectl stop
- wait
- apachectl startssl
- voila: new templates


So, at least for me, they both need to be synchronized.
Or is the one in site_perl only used for other applications?


Rainer