2014年12月2日 星期二

Linux vsftpd變更預設目錄作法

As we know by default vsftpd will configure the anonymous directory to /var/ftp/pub which is great to share files with users 

After trying a lot of different configurations this is what worked for me:


Code:
mkdir /home/pub
mv /var/ftp/pub/* /home/pub/
rm -rf /var/ftp/pub
mount --bind /home/pub/ /var/ftp/pub/
I have a feeling that vsftpd does not lets you browse symlinks but will work with mounted filesystems (bind method).

2013年10月3日 星期四

Dojo 1.8 & Domino 8.5.3

Quick-n-Dirty: Dojo 1.8 & Domino 8.5.3


If you want to use Dojo 1.8 with Domino 8.5.3, you can do the following:
1. Grab the Dojo JAR file from a ND9 installation:
\osgi\shared\eclipse\plugins\com.ibm.xsp.dojo_9.0.0.jar
2. Create a folder “dojo-1.8.0” in your notes data directory
\domino\js\dojo-1.8.0
3. Unpack the JAR file
4. Copy the content of the subfolder \resources\dojo-version of the unpacked JAR file in this folder:

5. Restart HTTP task.
6. Enjoy!

    
    

    


轉自blog@hasselba.ch

2013年8月12日 星期一

Xpage 程式更新 viewPanel 備忘

getComponent('viewPanel9').getData().refresh();