- 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
#Denbun POP, Directory Access Control
Deny from all
Make sure the configuration.If you do not find any error, restart Apache.
[root@xxxxxx ~]# service httpd configtest
[root@xxxxxx ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Apache configuration is complete.