# This is the CGI:IRC configuration file
# A # is a comment, some lines are commented out and need to be enabled for that
# function to work

# Main configuation 
[config]
# The defaults to use if no value is supplied and on the form
default_server=irc.blitzed.org
default_port=6667
default_nick=CGI???
default_name=CGI:IRC User
default_channels=#cgiirc

# The location of the scripts (thxese shouldn't need to be changed)
irc_script=nph-irc.cgi
irc_form=form.cgi
irc_userlist=userlist.cgi

# The location of the html on your webserver -- copy the html to somewhere
# accesible on your webserver and put the www path to them here (can contain
# http if neccesary)
htmlpath=../html/
# The main logo image (has the htmlpath above prefixed to it)
image=cgiirc.gif
# Where the docs are:
docs=http://cgiirc.sourceforge.net/doc.html

# The prefix for the location of temp. files
tmpfile_prefix=/tmp/cgiirc-
# Automatically delete stale files from the tmp dir
autocleanup=1

# Welcome message (printed as the first thing when CGI:IRC is loaded)
welcome=Welcome to CGI:IRC 0.4.2
# Used in ctcp version replies and as a default quit message
version_string=CGI:IRC 0.4.2
# USe monospaced font or not ( 1 or 0 )
monospaced=0
# The style for the userlist, this can either be radio or select
userstyle=radio
# Format - the name of the format file to use
format=text-white
# Hidden form - use a hidden form to submit with?
hiddenform=1
# Print timestamps
timestamps=0
# Whether to use the margin (similar to the way xchat formats text)
margin=0
# Use : completion - nic: becomes nickname: and /jo becomes /join
completion=1
# Hide login
hidelogin=0
# Remove colour (remove all colour from the main frame)
removecolour=0
# Auto query (automatically add everyone in the channel to the select box on
# the form
autoquery=0

# Amount of seconds between responses to ctcp requests
floodtime=2
# Default usermode
default_mode=+i

# Use encoded IPs (in realname)
encoded_ips=1
# File with list of ips that access is allowed / denied to (see the file for
# examples)
ip_access=ipaccess
# Referer checking, 0 = none, 1 = check after login, 2 = check on all (login
# form and main)
referer=0
# Password for CTCP KILL, this is a unix crytped password (won't work if the
# password isn't defined)
kill_password=

# Enable the ident server (requires root access), 1 uses the nickname as the
# ident, 2 uses an encoded IP to make banning a user much easier
ident=0
# The file to store the ident information in, must be the same in the ident
# server
ident_file=/tmp/ident

# Server Passwords:
# Enable this to show the password box on the form
passwords=0
# If you set the above to 0 then this password will be sent (so the clients
# don't know the password)
server_passwd=

# Address of vhost to use, leave commented out to use
# default IP
#vhost=0.0.0.0

# Form redirect, set this if you want to use a static page as the login form
# (leave it commented out if you don't)
#form_redirect=http://cgiirc.sourceforge.net/

# The following access rules allow access to everything (the ones at the bottom
# of each section), they are standard perl regular expressions (regexs) so if 
# you know them you should be fine but the examples provide plenty of 
# infomation for basic rules.
# Only one regex for each access area may be defined (ie. only one, 
# access_channels, access_servers and access_commands)
# ! at the start does the oppersite matching of the regex

# Access Channels, this is a regex that shows the channels that entry is
# allowed to or if prefixed with an ! channels that access is disallowed to
# Also be aware that the QUOTE command must be disabled for this to work (see
# the access commands section)
# Examples:
# Allow access to the #chat channel only
#access_channels=#chat
# Allow only the #chat and #other channels
#access_channels=(#chat|#other)
# Disallow access to the #admins channel
#access_channels=!#admins
# Rule for the demo
#access_channels=#cgiirc
# Allow ALL:
access_channels=!

# Access Servers, this is a regex that shows the servers that the client may
# connect to
# Examples:
# Allow only access to irc.host.com
#access_servers=irc.host.com
# Disallow access to irc.wicked.net
#access_servers=!irc.wicked.net
# Rule for the demo
#access_servers=.*\.blitzed.org
# Allow ALL:
access_servers=!

# Access Commands, the commands that may be run
# Examples:
# To disable quoting (must be done for channel access controls to be fully 
# supported)
#access_commands=!quote
# Enable only /msg, /nick and /quit
#access_commands=(msg|quit|nick)
# Allow ALL:
access_commands=!

