[vhffs-dev] [796] Beautify configuration

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 796
Author:   gradator
Date:     2007-08-29 20:04:51 +0000 (Wed, 29 Aug 2007)

Log Message:
-----------
Beautify configuration

Modified Paths:
--------------
    trunk/vhffs-backend/conf/vhffs.conf.dist.in


Modified: trunk/vhffs-backend/conf/vhffs.conf.dist.in
===================================================================
--- trunk/vhffs-backend/conf/vhffs.conf.dist.in	2007-08-29 19:53:27 UTC (rev 795)
+++ trunk/vhffs-backend/conf/vhffs.conf.dist.in	2007-08-29 20:04:51 UTC (rev 796)
@@ -29,7 +29,7 @@
 	# Directory used to store captcha files
 	# Should be readable for webserver user but not accessible
 	# to end users.
-	captchadir      	= /tmp
+	captchadir      	=	/tmp
 
 	#The default language
 	default_language	=	en_US
@@ -49,12 +49,12 @@
 	#The mail where alert are sent
 	alert_mail		=	root@localhost
 
-	moderation		= yes
+	moderation		=	yes
 
 	#Whether to use vhffsfs or not. vhffsfs allows you to provide a
 	#virtual home directory depending on the uid of the running process
 	#in order to avoid using of a virtual chroot to provide ftp, sftp, or a shell
-	use_vhffsfs		= no
+	use_vhffsfs		=	no
 
 	########
 	#Modules
@@ -79,11 +79,10 @@
 	#Panel configuration
 	<panel>
 		#URL to the panel
-		url				=   http://your.panel.url
+		url			=	http://your.panel.url
 
-        # Obfuscation technique for emails (none, simple, entities or
-        # javascript)
-        mail_obfuscation    = simple
+		# Obfuscation technique for emails (none, simple, entities or javascript)
+		mail_obfuscation	=	simple
 
 		#This is the URL display for the "Help" link in the panel
 		help_url		=	http://help.hoster
@@ -96,7 +95,7 @@
 		phppgadmin_url		=	http://phppgadmin.hoster
 
 		#Is the panel open or not ?
-		open			= yes
+		open			=	yes
 
 		#Use the public section of VHFFS
 		use_public		=	yes
@@ -105,7 +104,7 @@
 
 		#Use avatar or not ? If yes, you must create a /data/avatar and change owner/permissions
 		#so that the webserver can write into this directory
-		use_avatar		= yes
+		use_avatar		=	yes
 		users			=	yes
 		groups			=	yes
 
@@ -115,7 +114,7 @@
 		#Notation is useful to handle aggressive users
 		#If a project is refused by moderation, the note os the user if decreased
 		#If a project or service is accepted, the note is increased
-		use_notation		= yes
+		use_notation		=	yes
 
 		#Use RSS for users and groups ?
 		<rss>
@@ -132,17 +131,22 @@
 # Backend configuration
 #################################################
 <database>
-		driver = pg
-		#Database to use
-		db_name=vhffs
-		#Read Write User Name
-		db_username=vhffs
-		#Passwor
-		db_password=vhffs
-		#DataBase Server
-		db_host=localhost
-		#Database port
-		db_port = 5432
+	driver		=	pg
+
+	#Database to use
+	db_name		=	vhffs
+
+	#Username used to access the database server
+	db_username	=	vhffs
+
+	#Password
+	db_password	=	vhffs
+
+	#DataBase Server
+	db_host		=	localhost
+
+	#Database port
+	db_port		=	5432
 </database>
 
 
@@ -151,20 +155,20 @@
 ################################################
 #the default configuration for users
 <users>
-	minuid = @MINUID@
-	mingid = @MINGID@
-	default_quota = 50
-	bad_username_file = @CONFDIR@/badfile
-	bad_groupname_file = @CONFDIR@/badgroup
-	default_firstname = Vhffs Firstname
-	default_lastname = Vhffs Lastname
-	default_address = Vhffs Address
-	default_city = Vhffs City
-	default_zipcode = 123456
-	default_mail = dave@xxxxxxxx
-	default_country = Disneyland
-	available_shells = /bin/bash /bin/tcsh /bin/zsh /bin/tuxshell
-	default_shell = /bin/bash
+	minuid			=	@MINUID@
+	mingid			=	@MINGID@
+	default_quota		=	50
+	bad_username_file	=	@CONFDIR@/badfile
+	bad_groupname_file	=	@CONFDIR@/badgroup
+	default_firstname	=	Vhffs Firstname
+	default_lastname	=	Vhffs Lastname
+	default_address		=	Vhffs Address
+	default_city		=	Vhffs City
+	default_zipcode		=	123456
+	default_mail		=	dave@xxxxxxxx
+	default_country		=	Disneyland
+	available_shells	=	/bin/bash /bin/tcsh /bin/zsh /bin/tuxshell
+	default_shell		=	/bin/bash
 </users>
 
 
@@ -179,64 +183,64 @@
 		# - /data/logs/web/incoming/webserver0
 		# - /data/logs/web/incoming/webserver1
 		# - ...
-		log_incoming_root = /data/logs/web/incoming
+		log_incoming_root	=	/data/logs/web/incoming
 
 		# The number of maximum rotations, a rotation is made each time the robots to create stats is ran
-		log_incoming_rotations = 7
+		log_incoming_rotations	=	7
 
 		# Should I compress rotated logs ?
-		log_incoming_compress = yes
+		log_incoming_compress	=	yes
 
 		# Where to put parsed logfile from each website, it uses the same hash model of web storage,
 		# consider using the same tree for both so user have access to its logs in its ftp account.
 		# If log_parsed_root = /data/web and log_parsed_dir = logs then example.com logs
 		# will be in /data/web/1b/df/72/example.com/logs/
-		log_parsed_root = /data/web
+		log_parsed_root		=	/data/web
 
 		# Same as incoming
-		log_parsed_rotation = 7
-		log_parsed_compress = yes		
+		log_parsed_rotation	=	7
+		log_parsed_compress	=	yes
 
 		# Where to find the awstat sampe file ?
-		log_awstats_sample = /usr/lib/vhffs/bots/misc/awstats.sample
+		log_awstats_sample	=	/usr/lib/vhffs/bots/misc/awstats.sample
 
 		# Where to find awstat (caution, you must apply the vhffs patch on)
-		log_awstats = /var/www/stats/awstats.pl
+		log_awstats		=	/var/www/stats/awstats.pl
 
 		# Is apache running locally or not ? (If not you should use the ugly remote restart of apaches over nfs)
-		log_apachelocal = yes
+		log_apachelocal		=	yes
 
 		# If it runs locally, where is apache2ctl ?
-		log_apachectl = /usr/sbin/apache2ctl
+		log_apachectl		=	/usr/sbin/apache2ctl
 	</web>
 
 	#DNS configuration
 	<dns>
 		# default configuration for new domains and new entries
-		default_ns1 = ns1.hoster.org
-		default_ns2 = ns2.hoster.org
-		default_mx1 = mx1.hoster.org
-		default_mx2 = mx2.hoster.org
-		default_a	= 1.2.3.4
-		default_aaaa = FEDC::1
-		default_ttl = 86400
-		default_aux = 0
-		default_refresh = 28800
-		default_retry = 7200
-		default_expire = 604800
-		default_minimum = 86400
-		default_serial = 1
-		default_mbox = adm.your.hoster.ext.
+		default_ns1	=	ns1.hoster.org
+		default_ns2	=	ns2.hoster.org
+		default_mx1	=	mx1.hoster.org
+		default_mx2	=	mx2.hoster.org
+		default_a	=	1.2.3.4
+		default_aaaa	=	FEDC::1
+		default_ttl	=	86400
+		default_aux	=	0
+		default_refresh	=	28800
+		default_retry	=	7200
+		default_expire	=	604800
+		default_minimum	=	86400
+		default_serial	=	1
+		default_mbox	=	adm.your.hoster.ext.
 
 		# initial configuration of each domain name
 		<init>
 			<a>
-				www = 80.0.0.1
-				default = 10.0.0.1
+				www	=	80.0.0.1
+				default	=	10.0.0.1
 			</a>
 			<mx>
-				10 = mx1.hoster.org
-				20 = mx2.hoster.org
+				10	=	mx1.hoster.org
+				20	=	mx2.hoster.org
 			</mx>
 			<ns>
 				ns1.hoster.org
@@ -244,34 +248,26 @@
 			</ns>
 		</init>
 	</dns>
-	<apache>
-		port=80
-		pidfile=/var/run/apache.pid
-		confdir=/etc/apache/conf/
-		htdocsdir=
-		default_domain = vhffs.org
-	</apache>
-
 	<cvs>
-		cvsweb_url = "http://cvsweb.hoster";	
-		cvsdoc_url = "http://faq.hoster";
+		cvsweb_url	=	"http://cvsweb.hoster";	
+		cvsdoc_url	=	"http://faq.hoster";
 	</cvs>
 	<mysql>
-		host		= localhost
-		username	= root
-		password	= vhffs
-		mysqldump_path	= /usr/bin/mysqldump
+		host		=	localhost
+		username	=	root
+		password	=	mysecret
+		mysqldump_path	=	/usr/bin/mysqldump
 	</mysql>
 	<postgresql>
-		host		= localhost
-		username	= vhffs
-		password	= zepojf
+		host		=	localhost
+		username	=	vhffs
+		password	=	mysecret
 	</postgresql>
 	<subversion>
-		svnweb_url = "http://svnweb.hoster";	
+		svnweb_url	=	"http://svnweb.hoster";	
 		help_url	=	"http://myhost.tld/file.html";
-		uid	=	33
-		gid	=	33
+		uid		=	33
+		gid		=	33
 	</subversion>
 	<mail>
 		use_nospam	=	yes
@@ -299,29 +295,33 @@
 	</mailgroup>
 
 	<mailing>
-		default_domain = lists.vhffs.org
+		default_domain	=	lists.vhffs.org
 	</mailing>
 
 	#Configuration for listengine
 	<listengine>
 		#The domain is used when listengine bounces mails to SMTP server
 		#Listengine will send HELO domain to the SMTP sever
-		domain		= "myhost.tld"
+		domain		=	"myhost.tld"
+
 		#Where we store listengine data
-		datadir		= "/data/listengine"
+		datadir		=	"/data/listengine"
+
 		#Email of listmaster
-		listmaster	= "listmaster@xxxxxxxxxx"
+		listmaster	=	"listmaster@xxxxxxxxxx"
+
 		#SMTP Server to bounce listengine mails
-		smtp_server	= "localhost"
+		smtp_server	=	"localhost"
+
 		#Url of archives
-		www-archives	= http://localhost/listengine
+		www-archives	=	http://localhost/listengine
 	</listengine>
 
 
 	#Configuration of download repository
 	<repository>
-		repository_url	= "http://download.vhffs.org/";
-		default_quota	= 1024
+		repository_url	=	"http://download.vhffs.org/";
+		default_quota	=	1024
 	</repository>
 </services>
 
@@ -329,12 +329,14 @@
 #Robots configuration
 <robots>
 	#Robots should log or not ?
-	use_logging = yes
+	use_logging	=	yes
+
 	#Logfile to log events
-	logfile = /var/log/vhffs.log
+	logfile		=	/var/log/vhffs.log
+
 	#Robots should use lock file ?
 	#If they do, only one robot can be executed in the same-time
-	use_lock = yes
-	lockfile = /var/lock/vhffs
+	use_lock	=	yes
+	lockfile	=	/var/lock/vhffs
 </robots>
 	


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/