Pure-FTPd+MySQL+Web

Обсуждение статьи Pure-FTPd+MySQL+Web
Все вопросы касающиеся проблем и дополнений к статье пишите в этой теме.
Все вопросы касающиеся проблем и дополнений к статье пишите в этой теме.
www.igNix.ru | Технология жизни - технологии будущего
http://forum.ignix.ru/
<VirtualHost *:80>
ServerName my.server.name
DocumentRoot /path/to/net2ftp
ErrorLog /path/to/net2ftp/logs/error_log
CustomLog /path/to/net2ftp/logs/access_log combined
<Directory /net2ftp>
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</VirtualHost>
# apachectl configtest
# apachectl stop
# apachectl start
php5, php5-ftp, php5-mysql, php5-pcre, php5-session, php5-zlib
--with-nonroot: set up a server that doesn't need root privileges to be
started. Any regular user can run the server. It can be useful if you have a
limited shell access to a non-dedicated hosting server. But some features
will be disabled and passwords can only be checked via LDAP, SQL or PureDB.
When virtual chroot is enabled, people will be restricted to the directory
the server was started in. This is an insecure mode, designed for setting up
very temporary servers by regular (non-root) users. Port 2121 will be
listened by default in standalone mode. If you want to use the nonroot mode,
you must compile and *install* the software (./configure --prefix=... &&
make install-strip) . /sbin, /bin and /man directories will be created in
that prefix. But you must also add an /etc directory (readable and writeable
by the user pure-ftpd will run as) . You can change the anonymous FTP root
directory through an environment variable named FTP_ANON_DIR.
profil0 писал(а):Здравствуйте я тут настроил все но тока на FreeBSD вроде все нормально но тока с мира не хочет заходит как мне настроит firewall для работы с миром что б клиенты смогли заходит и скачивать и закачивать.
pass in proto tcp from any to (ng0) port ftp keep state
pass in proto tcp from any to (ng0) port ftp-data keep state
pass in proto tcp from any to (ng0) port { 49151:49999 } keep state