Вход Регистрация
Файл: EasyHost v2.0/faq.txt
Строк: 198
FAQ: Q:What are the requirements for EasyHost v2.0? A:Web server allowing
cgi-script execution Perl 5.x.x Access to a empty MySQL database DBI
perl module DBD::mysql perl module Q:Can I rename easyhost.cgi to
something else? A:Yes, to change the name of the script: Rename
easyhost.cgi Rename easyhost.conf to match Change the line in
easyhost.conf that says "script_url=http://" to point to the new
URL. Q:How do I modify the HTML used by EasyHost? A:All html used by
EasyHost is stored in the system/htdocs directory. For example, if you want
to modify the login page it is located at system/htdocs/default.html (all
main files are named default.html), or the manager menu (located at
system/htdocs/manager/menu.html). NOTE: HTML should be modified using
Notepad (or any other plain text editor) since WYSIWYG editors seem to have
formatting problems Q:What are the URLs to the different sections of
EasyHost? A:Simply modify the URLs to the correct address to
easyhost.cgi Main Screen / Login Form
(http://www.domain.com/cgi-bin/easyhost.cgi) Create an Account
(http://www.domain.com/cgi-bin/easyhost.cgi?command=create) Forgot
Password (http://www.domain.com/cgi-bin/easyhost.cgi?command=password)
List of Websites /
Categories (http://www.domain.com/cgi-bin/easyhost.cgi?command=category)
Validation Form
(http://www.domain.com/cgi-bin/easyhost.cgi?command=validate) Admin
Control Panel
(http://www.domain.com/cgi-bin/easyhost.cgi?command=admin) Q:Change the
Admin Password A:Login to admin (easyhost.cgi?command=admin) Click
"Restrictions & Security" Enter in your old password Choose
a new password and confirm it Press the "Finish"
button Q:Disable the public sign-up form A:If you only want to allow
creation of accounts via the "create an account" form in the
admin control panel, do the following: Login to admin
(easyhost.cgi?command=admin) Click "System Configuration"
Un-check the "Sign-up" checkbox under General Options Press the
"Finish" button Q:Enable e-mail verification A:Login to admin
(easyhost.cgi?command=admin) Click "Restrictions & Security"
Click the "Sign-up Rules" tab Set the "Approval
method" to e-mail Press the "Finish" button Click the
"Control Pane" link on the top menu to return to the main
admin screen Click "E-mail Templates & user Notices Click
"Configure the Notices" Open the "Create user" drop
down box and change the selected item to "Create User (E-mail Approval
Method)" Press the "Finish" button Q:Enable FTP access
using PureFTPd A:Note: This is just an overview on how to setup FTP access
using PureFTPd and requires some unix experience. Some paths below are
examples and must be changed to match your system. Download
PureFTPd ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.15.tar.gz
Decompress it on your server tar zxf pure-ftpd-1.0.15.tar.gz Configure
and install cd pure-ftpd-1.0.15 ./configure --with-everything
--prefix=/usr/local/pureftpd make make install Edit the Authentication
Module Open /path/to/easyhost/system/pureftpd.pl Change the path variable
to the correct path to easyhost.conf chmod pureftpd.pl to 755 Start the
Authentication Daemon /usr/local/pureftpd/sbin/pure-authd -s
/tmp/ftpd.sock -r /path/to/easyhost/system/pureftpd.pl & Stop any
other FTP servers This command depends on what FTP server you are
currently running, if any. Start the FTP
server /usr/local/pureftpd/sbin/pure-ftpd -lextauth:/tmp/ftpd.sock
& Q:Setup a Default Account A:Create an account Login to the newly
created account Upload all files that you want copied to new accounts
(using the file manager) Login to admin (easyhost.cgi?command=admin)
Click "System Configuration" Click the "Default
Accounts" tab Enter in the name of the default account Press the
"Finish" button You may create a gereral default account or more
specific ones for each category Q:Does EasyHost allow members to upload
via FTP? A:Yes, members can upload using FTP or the web based file
manager. NOTE: FTP is only available on unix-based servers using Pure-FTPd
with authentication modules support.
Онлайн: 1
Реклама