# .htaccess file for Anyterm.
# You may need "AllowOverride All" or similar in your main Apache
# configuration to make this file effective.

# Putting <IfModule anyterm> around everything means these commands
# will be ignored if the anyterm module has not been loaded.

<IfModule anyterm>

# Use an anyterm_command directive to specify the command to run
# inside the terminal:
#
# anyterm_command /path/to/program
#
# Within the command, %h is expanded to the hostname (or IP address,
# depending on your setting for HostnameLookups) of the client.  You
# can use this with anygetty's --remotehost option.
#
# %u is expanded to the username determined by HTTP AUTH if enabled.
# If authentication has not been used it expands to an empty string.
# You can use this with anygetty's --autologin option, though be aware
# that there are permissions issues to be addressed in this case.
#
# Example:
# anyterm_command '/path/to/anygetty --remotehost "Anyterm: %h" --autologin=%u'

<Files anyterm-module>
  SetHandler anyterm
</Files>

</IfModule>
