Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Mine
Friday, March 16th, 2007 at 12:12:58pm UTC 

  1. ------------------------------------------------------------------------
  2. | APACHE2.CONF                                                         |
  3. ------------------------------------------------------------------------
  4.  
  5. # Based upon the NCSA server configuration files originally by Rob McCool.
  6. # Changed extensively for the Debian package by Daniel Stone <[email protected]>
  7. # and also by Thom May <[email protected]>.
  8.  
  9. # ServerRoot: The top of the directory tree under which the server's
  10. # configuration, error, and log files are kept.
  11. #
  12. # NOTE!  If you intend to place this on an NFS (or otherwise network)
  13. # mounted filesystem then please read the LockFile documentation
  14. # (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
  15. # you will save yourself a lot of trouble.
  16.  
  17. ServerRoot "/etc/apache2"
  18.  
  19. # The LockFile directive sets the path to the lockfile used when Apache
  20. # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
  21. # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
  22. # its default value. The main reason for changing it is if the logs
  23. # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
  24. # DISK. The PID of the main server process is automatically appended to
  25. # the filename.
  26.  
  27. LockFile /var/lock/apache2/accept.lock
  28.  
  29. # PidFile: The file in which the server should record its process
  30. # identification number when it starts.
  31.  
  32. PidFile /var/run/apache2.pid
  33.  
  34. # Timeout: The number of seconds before receives and sends time out.
  35.  
  36. Timeout 300
  37.  
  38. # KeepAlive: Whether or not to allow persistent connections (more than
  39. # one request per connection). Set to "Off" to deactivate.
  40.  
  41. KeepAlive On
  42.  
  43. # MaxKeepAliveRequests: The maximum number of requests to allow
  44. # during a persistent connection. Set to 0 to allow an unlimited amount.
  45. # We recommend you leave this number high, for maximum performance.
  46.  
  47. MaxKeepAliveRequests 100
  48.  
  49. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  50. # same client on the same connection.
  51.  
  52. KeepAliveTimeout 15
  53.  
  54. ##
  55. ## Server-Pool Size Regulation (MPM specific)
  56. ##
  57.  
  58. # prefork MPM
  59. # StartServers ......... number of server processes to start
  60. # MinSpareServers ...... minimum number of server processes which are kept spare
  61. # MaxSpareServers ...... maximum number of server processes which are kept spare
  62. # MaxClients ........... maximum number of server processes allowed to start
  63. # MaxRequestsPerChild .. maximum number of requests a server process serves
  64. <IfModule prefork.c>
  65. StartServers         5
  66. MinSpareServers      5
  67. MaxSpareServers     10
  68. MaxClients          20
  69. MaxRequestsPerChild  0
  70. </IfModule>
  71.  
  72. # pthread MPM
  73. # StartServers ......... initial  number of server processes to start
  74. # MaxClients ........... maximum  number of server processes allowed to start
  75. # MinSpareThreads ...... minimum  number of worker threads which are kept spare
  76. # MaxSpareThreads ...... maximum  number of worker threads which are kept spare
  77. # ThreadsPerChild ...... constant number of worker threads in each server process
  78. # MaxRequestsPerChild .. maximum  number of requests a server process serves
  79. <IfModule worker.c>
  80. StartServers         2
  81. MaxClients         150
  82. MinSpareThreads     25
  83. MaxSpareThreads     75
  84. ThreadsPerChild     25
  85. MaxRequestsPerChild  0
  86. </IfModule>
  87.  
  88. # perchild MPM
  89. # NumServers ........... constant number of server processes
  90. # StartThreads ......... initial  number of worker threads in each server process
  91. # MinSpareThreads ...... minimum  number of worker threads which are kept spare
  92. # MaxSpareThreads ...... maximum  number of worker threads which are kept spare
  93. # MaxThreadsPerChild ... maximum  number of worker threads in each server process
  94. # MaxRequestsPerChild .. maximum  number of connections per server process (then it dies)
  95. <IfModule perchild.c>
  96. NumServers           5
  97. StartThreads         5
  98. MinSpareThreads      5
  99. MaxSpareThreads     10
  100. MaxThreadsPerChild  20
  101. MaxRequestsPerChild  0
  102. AcceptMutex fcntl
  103. </IfModule>
  104.  
  105. User www-data
  106. Group www-data
  107.  
  108. # The following directives define some format nicknames for use with
  109. # a CustomLog directive (see below).
  110. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  111. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  112. LogFormat "%{Referer}i -> %U" referer
  113. LogFormat "%{User-agent}i" agent
  114.  
  115.  
  116. # Global error log.
  117. ErrorLog /var/log/apache2/error.log
  118.  
  119. # Include module configuration:
  120. Include /etc/apache2/mods-enabled/*.load
  121. Include /etc/apache2/mods-enabled/*.conf
  122.  
  123. # Include all the user configurations:
  124. Include /etc/apache2/httpd.conf
  125.  
  126. # Include ports listing
  127. Include /etc/apache2/ports.conf
  128.  
  129. # Include generic snippets of statements
  130. Include /etc/apache2/conf.d/[^.#]*
  131.  
  132. #Let's have some Icons, shall we?
  133. Alias /icons/ "/usr/share/apache2/icons/"
  134. <Directory "/usr/share/apache2/icons">
  135.     Options Indexes MultiViews
  136.     AllowOverride None
  137.     Order allow,deny
  138.     Allow from all
  139. </Directory>
  140.  
  141. # Set up the default error docs.
  142. #
  143. # Customizable error responses come in three flavors:
  144. # 1) plain text 2) local redirects 3) external redirects
  145. #
  146. # Some examples:
  147. #ErrorDocument 500 "The server made a boo boo."
  148. #ErrorDocument 404 /missing.html
  149. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  150. #ErrorDocument 402 http://www.example.com/subscription_info.html
  151. #
  152.  
  153. #
  154. # Putting this all together, we can Internationalize error responses.
  155. #
  156. # We use Alias to redirect any /error/HTTP_<error>.html.var response to
  157. # our collection of by-error message multi-language collections.  We use
  158. # includes to substitute the appropriate text.
  159. #
  160. # You can modify the messages' appearance without changing any of the
  161. # default HTTP_<error>.html.var files by adding the line;
  162. #
  163. #   Alias /error/include/ "/your/include/path/"
  164. #
  165. # which allows you to create your own set of files by starting with the
  166. # /usr/local/apache2/error/include/ files and
  167. # copying them to /your/include/path/, even on a per-VirtualHost basis.
  168. #
  169.  
  170. <IfModule mod_negotiation.c>
  171. <IfModule mod_include.c>
  172.     Alias /error/ "/usr/share/apache2/error/"
  173.  
  174.     <Directory "/usr/share/apache2/error">
  175.         AllowOverride None
  176.         Options IncludesNoExec
  177.         AddOutputFilter Includes html
  178.         AddHandler type-map var
  179.         Order allow,deny
  180.         Allow from all
  181.         LanguagePriority en es de fr
  182.         ForceLanguagePriority Prefer Fallback
  183.     </Directory>
  184.  
  185.     ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  186.     ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  187.     ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  188.     ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  189.     ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  190.     ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  191.     ErrorDocument 410 /error/HTTP_GONE.html.var
  192.     ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  193.     ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  194.     ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  195.     ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  196.     ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  197.     ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  198.     ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  199.     ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  200.     ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  201.     ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  202.  
  203. </IfModule>
  204. </IfModule>
  205.  
  206. DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
  207.  
  208. # UserDir is now a module
  209. #UserDir public_html
  210. #UserDir disabled root
  211.  
  212. #<Directory /home/*/public_html>
  213. #       AllowOverride FileInfo AuthConfig Limit
  214. #       Options Indexes SymLinksIfOwnerMatch IncludesNoExec
  215. #</Directory>
  216.  
  217. AccessFileName .htaccess
  218.  
  219. <Files ~ "^\.ht">
  220.     Order allow,deny
  221.     Deny from all
  222. </Files>
  223.  
  224. UseCanonicalName Off
  225.  
  226. TypesConfig /etc/mime.types
  227. DefaultType text/plain
  228.  
  229. HostnameLookups Off
  230.  
  231. IndexOptions FancyIndexing VersionSort
  232.  
  233. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  234.  
  235. AddIconByType (TXT,/icons/text.gif) text/*
  236. AddIconByType (IMG,/icons/image2.gif) image/*
  237. AddIconByType (SND,/icons/sound2.gif) audio/*
  238. AddIconByType (VID,/icons/movie.gif) video/*
  239.  
  240. # This really should be .jpg.
  241.  
  242. AddIcon /icons/binary.gif .bin .exe
  243. AddIcon /icons/binhex.gif .hqx
  244. AddIcon /icons/tar.gif .tar
  245. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  246. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  247. AddIcon /icons/a.gif .ps .ai .eps
  248. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  249. AddIcon /icons/text.gif .txt
  250. AddIcon /icons/c.gif .c
  251. AddIcon /icons/p.gif .pl .py
  252. AddIcon /icons/f.gif .for
  253. AddIcon /icons/dvi.gif .dvi
  254. AddIcon /icons/uuencoded.gif .uu
  255. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  256. AddIcon /icons/tex.gif .tex
  257. AddIcon /icons/bomb.gif core
  258.  
  259. AddIcon /icons/back.gif ..
  260. AddIcon /icons/hand.right.gif README
  261. AddIcon /icons/folder.gif ^^DIRECTORY^^
  262. AddIcon /icons/blank.gif ^^BLANKICON^^
  263.  
  264.  
  265. # This is from Matty J's patch. Anyone want to make the icons?
  266. #AddIcon /icons/dirsymlink.jpg ^^SYMDIR^^
  267. #AddIcon /icons/symlink.jpg ^^SYMLINK^^
  268.  
  269. DefaultIcon /icons/unknown.gif
  270.  
  271. ReadmeName README.html
  272. HeaderName HEADER.html
  273.  
  274. IndexIgnore .??* *~ *# HEADER* RCS CVS *,t
  275.  
  276. AddEncoding x-compress Z
  277. AddEncoding x-gzip gz tgz
  278.  
  279. AddLanguage da .dk
  280. AddLanguage nl .nl
  281. AddLanguage en .en
  282. AddLanguage et .et
  283. AddLanguage fr .fr
  284. AddLanguage de .de
  285. AddLanguage el .el
  286. AddLanguage it .it
  287. AddLanguage ja .ja
  288. AddLanguage pl .po
  289. AddLanguage ko .ko
  290. AddLanguage pt .pt
  291. AddLanguage no .no
  292. AddLanguage pt-br .pt-br
  293. AddLanguage ltz .ltz
  294. AddLanguage ca .ca
  295. AddLanguage es .es
  296. AddLanguage sv .se
  297. AddLanguage cz .cz
  298. AddLanguage ru .ru
  299. AddLanguage tw .tw
  300. AddLanguage zh-tw .tw
  301.  
  302. LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw
  303.  
  304.  
  305. #AddDefaultCharset      ISO-8859-1
  306.  
  307. AddCharset ISO-8859-1  .iso8859-1  .latin1
  308. AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
  309. AddCharset ISO-8859-3  .iso8859-3  .latin3
  310. AddCharset ISO-8859-4  .iso8859-4  .latin4
  311. AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
  312. AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
  313. AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
  314. AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb 
  315. AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
  316. AddCharset ISO-2022-JP .iso2022-jp .jis
  317. AddCharset ISO-2022-KR .iso2022-kr .kis
  318. AddCharset ISO-2022-CN .iso2022-cn .cis
  319. AddCharset Big5        .Big5       .big5
  320. # For russian, more than one charset is used (depends on client, mostly):
  321. AddCharset WINDOWS-1251 .cp-1251   .win-1251
  322. AddCharset CP866       .cp866
  323. AddCharset KOI8-r      .koi8-r .koi8-ru
  324. AddCharset KOI8-ru     .koi8-uk .ua
  325. AddCharset ISO-10646-UCS-2 .ucs2
  326. AddCharset ISO-10646-UCS-4 .ucs4
  327. AddCharset UTF-8       .utf8
  328.  
  329. AddCharset GB2312      .gb2312 .gb
  330. AddCharset utf-7       .utf7
  331. AddCharset utf-8       .utf8
  332. AddCharset big5        .big5 .b5
  333. AddCharset EUC-TW      .euc-tw 
  334. AddCharset EUC-JP      .euc-jp
  335. AddCharset EUC-KR      .euc-kr
  336. AddCharset shift_jis   .sjis
  337.  
  338. #AddType application/x-httpd-php .php
  339. #AddType application/x-httpd-php-source .phps
  340.  
  341. AddType application/x-tar .tgz
  342.  
  343. # To use CGI scripts outside /cgi-bin/:
  344. #
  345. #AddHandler cgi-script .cgi
  346.  
  347. # To use server-parsed HTML files
  348. #
  349. <FilesMatch "\.shtml(\..+)?$">
  350.     SetOutputFilter INCLUDES
  351. </FilesMatch>
  352.  
  353. # If you wish to use server-parsed imagemap files, use
  354. #
  355. #AddHandler imap-file map
  356.  
  357. BrowserMatch "Mozilla/2" nokeepalive
  358. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  359. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  360. BrowserMatch "Java/1\.0" force-response-1.0
  361. BrowserMatch "JDK/1\.0" force-response-1.0
  362.  
  363. #
  364. # The following directive disables redirects on non-GET requests for
  365. # a directory that does not include the trailing slash.  This fixes a
  366. # problem with Microsoft WebFolders which does not appropriately handle
  367. # redirects for folders with DAV methods.
  368. #
  369.  
  370. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  371. BrowserMatch "^WebDrive" redirect-carefully
  372. BrowserMatch "^gnome-vfs" redirect-carefully
  373. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  374.  
  375. # Allow server status reports, with the URL of http://servername/server-status
  376. # Change the ".your_domain.com" to match your domain to enable.
  377. #
  378. #<Location /server-status>
  379. #    SetHandler server-status
  380. #    Order deny,allow
  381. #    Deny from all
  382. #    Allow from .your_domain.com
  383. #</Location>
  384.  
  385. # Allow remote server configuration reports, with the URL of
  386. #  http://servername/server-info (requires that mod_info.c be loaded).
  387. # Change the ".your_domain.com" to match your domain to enable.
  388. #
  389. #<Location /server-info>
  390. #    SetHandler server-info
  391. #    Order deny,allow
  392. #    Deny from all
  393. #    Allow from .your_domain.com
  394. #</Location>
  395.  
  396. # Include the virtual host configurations:
  397. Include /etc/apache2/sites-enabled/default
  398.  
  399. ------------------------------------------------------------------------
  400. | sites-enabled(available)/DEFAULT.CONF                                |
  401. ------------------------------------------------------------------------
  402.  
  403. NameVirtualHost *:80
  404.  
  405. <VirtualHost *:80>
  406. ServerName rsadesign.nl.
  407. ServerAlias www.rsadesign.nl
  408. DocumentRoot /home/harm/site01
  409. ErrorLog /home/harm/site01/log/error.log
  410. </VirtualHost>
  411.  
  412. <VirtualHost *:80>
  413. ServerName site02.homelinux.org
  414. #ServerAlias
  415. DocumentRoot /home/harm/site02
  416. ErrorLog /home/harm/site02/log/error.log
  417. </VirtualHost>
  418.  
  419. <VirtualHost *:80>
  420. ServerName site03.homelinux.org
  421. #ServerAlias
  422. DocumentRoot /home/harm/site03
  423. ErrorLog /home/harm/site03/log/error.log
  424. </VirtualHost>
  425.  
  426. <VirtualHost *:80>
  427. ServerName tre-amici.nl
  428. ServerAlias www.tre-amici.nl www.treamici.nl treamici.nl site04.homelinux.org
  429. DocumentRoot /home/harm/site04
  430. ErrorLog /home/harm/site04/log/error.log
  431. </VirtualHost>
  432.  
  433. <VirtualHost *:80>
  434. ServerName site05.homelinux.org
  435. #ServerAlias
  436. DocumentRoot /home/harm/site05
  437. ErrorLog /home/harm/site05/log/error.log
  438. </VirtualHost>
  439.  
  440. <VirtualHost *:80>
  441. ServerName site06.homelinux.org
  442. #ServerAlias
  443. DocumentRoot /home/harm/site06
  444. ErrorLog /home/harm/site06/log/error.log
  445. </VirtualHost>
  446.  
  447. <VirtualHost *:80>
  448. ServerName site07.homelinux.org
  449. #ServerAlias
  450. DocumentRoot /home/harm/site07
  451. ErrorLog /home/harm/site07/log/error.log
  452. </VirtualHost>
  453.  
  454. ------------------------------------------------------------------------
  455. | /etc/hosts                                                           |
  456. ------------------------------------------------------------------------
  457.  
  458. 127.0.0.1    localhost.localdomain  localhost       
  459. 192.168.1.39 server1 server1.rsadesign.nl
  460.  
  461. # The following lines are desirable for IPv6 capable hosts
  462. ::1     ip6-localhost ip6-loopback
  463. fe00::0 ip6-localnet
  464. ff00::0 ip6-mcastprefix
  465. ff02::1 ip6-allnodes
  466. ff02::2 ip6-allrouters
  467. ff02::3 ip6-allhosts
  468.  
  469. ------------------------------------------------------------------------
  470. | VSFTPD.CONF                                                          |
  471. ------------------------------------------------------------------------
  472.  
  473. # Example config file /etc/vsftpd.conf
  474. #
  475. # The default compiled in settings are fairly paranoid. This sample file
  476. # loosens things up a bit, to make the ftp daemon more usable.
  477. # Please see vsftpd.conf.5 for all compiled in defaults.
  478. #
  479. # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
  480. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
  481. # capabilities.
  482. #
  483. #
  484. # Run standalone?  vsftpd can run either from an inetd or as a standalone
  485. # daemon started from an initscript.
  486. listen=YES
  487. #
  488. # Run standalone with IPv6?
  489. # Like the listen parameter, except vsftpd will listen on an IPv6 socket
  490. # instead of an IPv4 one. This parameter and the listen parameter are mutually
  491. # exclusive.
  492. #listen_ipv6=YES
  493. #
  494. # Allow anonymous FTP? (Beware - allowed by default if you comment this out).
  495. anonymous_enable=NO
  496. #
  497. # Uncomment this to allow local users to log in.
  498. local_enable=YES
  499. #
  500. # Uncomment this to enable any form of FTP write command.
  501. write_enable=YES
  502. #
  503. # Default umask for local users is 077. You may wish to change this to 022,
  504. # if your users expect that (022 is used by most other ftpd's)
  505. #local_umask=022
  506. #
  507. # Uncomment this to allow the anonymous FTP user to upload files. This only
  508. # has an effect if the above global write enable is activated. Also, you will
  509. # obviously need to create a directory writable by the FTP user.
  510. #anon_upload_enable=YES
  511. #
  512. # Uncomment this if you want the anonymous FTP user to be able to create
  513. # new directories.
  514. #anon_mkdir_write_enable=YES
  515. #
  516. # Activate directory messages - messages given to remote users when they
  517. # go into a certain directory.
  518. dirmessage_enable=YES
  519. #
  520. # Activate logging of uploads/downloads.
  521. xferlog_enable=YES
  522. #
  523. # Make sure PORT transfer connections originate from port 20 (ftp-data).
  524. connect_from_port_20=YES
  525. #
  526. # If you want, you can arrange for uploaded anonymous files to be owned by
  527. # a different user. Note! Using "root" for uploaded files is not
  528. # recommended!
  529. #chown_uploads=YES
  530. #chown_username=whoever
  531. #
  532. # You may override where the log file goes if you like. The default is shown
  533. # below.
  534. #xferlog_file=/var/log/vsftpd.log
  535. #
  536. # If you want, you can have your log file in standard ftpd xferlog format
  537. #xferlog_std_format=YES
  538. #
  539. # You may change the default value for timing out an idle session.
  540. #idle_session_timeout=600
  541. #
  542. # You may change the default value for timing out a data connection.
  543. #data_connection_timeout=120
  544. #
  545. # It is recommended that you define on your system a unique user which the
  546. # ftp server can use as a totally isolated and unprivileged user.
  547. #nopriv_user=ftpsecure
  548. #
  549. # Enable this and the server will recognise asynchronous ABOR requests. Not
  550. # recommended for security (the code is non-trivial). Not enabling it,
  551. # however, may confuse older FTP clients.
  552. #async_abor_enable=YES
  553. #
  554. # By default the server will pretend to allow ASCII mode but in fact ignore
  555. # the request. Turn on the below options to have the server actually do ASCII
  556. # mangling on files when in ASCII mode.
  557. # Beware that on some FTP servers, ASCII support allows a denial of service
  558. # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
  559. # predicted this attack and has always been safe, reporting the size of the
  560. # raw file.
  561. # ASCII mangling is a horrible feature of the protocol.
  562. #ascii_upload_enable=YES
  563. #ascii_download_enable=YES
  564. #
  565. # You may fully customise the login banner string:
  566. ftpd_banner=Welcome to RsaDesign.Nl
  567. #
  568. # You may specify a file of disallowed anonymous e-mail addresses. Apparently
  569. # useful for combatting certain DoS attacks.
  570. #deny_email_enable=YES
  571. # (default follows)
  572. #banned_email_file=/etc/vsftpd.banned_emails
  573. #
  574. # You may restrict local users to their home directories.  See the FAQ for
  575. # the possible risks in this before using chroot_local_user or
  576. # chroot_list_enable below.
  577. #chroot_local_user=YES
  578. #
  579. # You may specify an explicit list of local users to chroot() to their home
  580. # directory. If chroot_local_user is YES, then this list becomes a list of
  581. # users to NOT chroot().
  582. #chroot_list_enable=YES
  583. # (default follows)
  584. #chroot_list_file=/etc/vsftpd.chroot_list
  585. #
  586. # You may activate the "-R" option to the builtin ls. This is disabled by
  587. # default to avoid remote users being able to cause excessive I/O on large
  588. # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
  589. # the presence of the "-R" option, so there is a strong case for enabling it.
  590. #ls_recurse_enable=YES
  591. #
  592. #
  593. # Debian customization
  594. #
  595. # Some of vsftpd's settings don't fit the Debian filesystem layout by
  596. # default.  These settings are more Debian-friendly.
  597. #
  598. # This option should be the name of a directory which is empty.  Also, the
  599. # directory should not be writable by the ftp user. This directory is used
  600. # as a secure chroot() jail at times vsftpd does not require filesystem
  601. # access.
  602. secure_chroot_dir=/var/run/vsftpd
  603. #
  604. # This string is the name of the PAM service vsftpd will use.
  605. pam_service_name=vsftpd
  606. #
  607. # This option specifies the location of the RSA certificate to use for SSL
  608. # encrypted connections.
  609. rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  610. #
  611. # This option specifies the location of the RSA key to use for SSL
  612. # encrypted connections.
  613. rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right