#
# This is the default configuration for japana
#
# $Id: default.conf,v 1.22 2003/04/27 13:58:43 mastermitch Exp $
#


# This is the location of the configuration file to read.  Obviously
# it is rather silly to set this variable in a configuration file,
# thus this parameter has no effect.  You should use this parameter as
# a command line argument instead.

configfile = /etc/japana.conf


# This is the IP address that japana will bind to.  This address
# (together with the correct port) must be configured in your browser
# to make use of the japana proxy.
#
# Be careful: Everybody who can reach the japana port on this address
# can use your proxy.  There is no access control yet.  You might use
# a packet filter to 'guard' japana from others.
#
# The address '0.0.0.0' will bind japana to all of your network
# devices.
#
# Default is to bind to address '127.0.0.1' as this address can only
# be accessed from your local computer and is not accessible from the
# network.  Please take care when binding to another address.

addr = 127.0.0.1


# This is the port on which japana listens to your incoming requests.
# This port (together with the correct address) must be configured in
# your browser to make use of the japana proxy.
#
# Default setting is port 8080.

port = 8080


# If this variable contains a value, the given proxy is used by
# japana.  This allows to chain multiple proxies together.
#
# Example: If you need a proxy to access the Internet then point your
# browser to the japana proxy and in turn point japana to your
# original proxy.
#
# You can make japana evaluate the $http_proxy environment variable by
# setting proxy=${http_proxy}.
#
# Set to 'none' to use no proxy at all.
#
# Default is to use the environment variable ${http_proxy}.

proxy = ${http_proxy}
# proxy = http://some.server:3128/
# proxy = none


# This variable enables the "basic proxy authentication scheme" as
# described in RFC 2617.  If enabled, you must enter a valid username
# and password before you can use the japana proxy.  Note that the
# passwords are not encrypted in any way, so don't use important ones.
#
# Default is to use no authentication.

noauth
# auth


# This variable specifies the location of the userfile which contains
# the usernames/passwords for authentication.  For example the
# userfile could look like this:
#
# # lines beginning with # are ignored
# someuser:password
# someotheruser:anotherpassword
#
# The default userfile is '/etc/japana.users'.

# userfile = /etc/japana.users


# These options are passed directly to kakasi.  See `kakasi -h` or the
# kakasi documentation for a full list of options.
#
# Short guide:
# -ja -ga -ka -Ea -Ka -Ha -Ja :  Convert *everything* to ascii.
#                         -U  :  Convert Kanji to UPCASE ASCII.
#                         -s  :  Insert spaces.

kakasioptions = -ja -ga -ka -Ea -Ka -Ha -Ja -U -s


# And another variable that makes little sense in a configuration
# file: When version is set, japana will print its version number and
# exit immediately.  This should rather be used on the command line.
# (You could actually use this as a dirty hack to deactivate a japana
# proxy that is automatically started on every system boot.)
#
# The same goes for help, which prints a short summary of all
# commandline options.

# version = yes
# help = yes
