Denbun IMAP version Manual
User's Manual | Administrator's Manual | Installation Guide | Initial Settings Guide
Back to Menu

Security Measure [Important]

- Configure the setting below so that the data directory for Denbun cannnot be executed from browsers.

* Even though Denbun will still operate without the configuration, please make sure to configure it for security purpose.

1. Apache Configuration

Edit Apache configuration file(httpd.conf).

The configuration file is included in "/etc/httpd/conf" directory if the Apache is packaged in a Redhat Enterprise Linux. Use an editor such as vi to edit the file.

Add the Directory directive, and deny access to data folder for Denbun.

You can add them at the end of the file.

Specify the directory dnwml/dnwmldata in Denbun.

[root@xxxxxx tmp]# vi /etc/httpd/conf/httpd.conf
      . (Omitted)
#Denbun POP, Directory Access Control
<Directory "/var/www/cgi-bin/dnwml/dnwmldata">
  Order allow,deny
  Deny from all

Make sure the configuration.If you do not find any error, restart Apache.
[root@xxxxxx ~]# service httpd configtest
Syntax OK
[root@xxxxxx ~]# service httpd restart
Stopping httpd:                         [ OK ]
Starting httpd:                          [ OK ]
[root@xxxxxx ~]#

Apache configuration is complete.

Copyright (C) NEOJAPAN Inc. All Rights Reserved.