感謝這位大哥!
http://www.bluewho.com/archive/index.php/t-2076.html
內容:
My web hosting is on a shared server, and I am wonering if I can install openwebmail
in my home directory? I don’t have root access to the server, just my home
directory.
[reply]
Yes, ofcourse you can.
There are two things you need to modify first:
1) Change all .pl files to point to /usr/bin/perl instead of suidperl,
i’ve used the following command to do this quickly:
sed ’s/\#\!\/usr\/bin\/suidperl/\#\!\/usr\/bin\/perl/’ -i *.pl
2) Change all the .pl files to search for the openwebmail_etc.conf
to your own home dir. By default it looks for it in /etc. i’ve
used the following command to modify the files quickly:
sed ’s/\/etc\/openwebmail_path.conf/\/home\/USER\/www\/cgi\-bin\/openwebmail\/et
c\/openwebmail_path.conf/’ -i *.pl
(make sure you change USER into your own username)
The rest is the same. The only other catch, is if your hosting
provider does not allow you to SSH to the server, which means
you may need to create a PHP or Perl script to execute
the –init command thats required.
Hope this might help!
March 8, 2006 at 9:55 am
我是在google”web hosting openwebmail”時,在第一頁就意外看到的