46d4906
# TO-BE-TESTED
46d4906
# RewriteEngine On
46d4906
# RewriteCond %{HTTPS} !=on
46d4906
# RewriteRule ^/mantis(.*) https://%{SERVER_NAME}/mantis$1 [R,L]
46d4906
d67a3a7
75b6c3e
Alias /mantis /usr/share/mantis
cvsextras 6cd238d
cvsextras 6cd238d
<Directory /usr/share/mantis>
cvsextras 6cd238d
	# As passwords will be sent over the line do not allow plaintext
cvsextras 6cd238d
	# communication
cvsextras 6cd238d
	SSLRequireSSL
cvsextras 6cd238d
75b6c3e
	Options None
cvsextras 6cd238d
cvsextras 6cd238d
	# Do not change this unless the default administrator
cvsextras 6cd238d
	# login was removed; see documentation for details
75b6c3e
	Order   Deny,Allow
75b6c3e
	Deny    from All
75b6c3e
	Allow   from 127.0.0.1   # localhost
75b6c3e
	Allow   from ::1         # IPv6 variant of localhost
75b6c3e
        # Use the following to let any client use mantis
75b6c3e
        # Allow from All
75b6c3e
        
cvsextras 6cd238d
	php_flag "register_globals" "off"
75b6c3e
	SetEnv MANTIS_CONFIG /etc/mantis/config_inc.php
cvsextras 6cd238d
</Directory>
cvsextras 6cd238d
75b6c3e
75b6c3e
# Admin directory access is disabled by default; do not change this unless
75b6c3e
# you are performing the first installation or a database schema update.
75b6c3e
# See README.Fedora for more details
cvsextras 6cd238d
<Directory /usr/share/mantis/admin>
75b6c3e
	Order   Deny,Allow
75b6c3e
	Deny    from All
75b6c3e
	Allow   from None
75b6c3e
</Directory>
75b6c3e
75b6c3e
# This directory does not require access over HTTP
75b6c3e
<Directory /usr/share/mantis/core>
75b6c3e
	Order Deny,Allow
75b6c3e
	Deny from All
75b6c3e
	Allow from None
cvsextras 6cd238d
</Directory>