NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
devbobo
Nov 29, 2009Aspirant
HOW TO: Hosting multiple websites
G'day Guys, For some time I've wanted to host multiple websites from a single ReadyNAS unit...I haven't had the time to investigate it. 1. Backup all the .conf files in /etc/frontview/apache 2....
WhoCares_
Jul 15, 2012Mentor
Actually my config does nothing to allow/prevent PHP scripts from being executed / served to the user. This should be handled by the libapache2-mod-php5 module. Unfortunately this will add it's config to a file that isn't read by the ReadyNAS' Apache web server. What you can try to do is to create the file '/etc/frontview/apache/addons/00_phpload.conf' with this contents:
Restart Apache and see whether this changed anything.
-Stefan
<IfModule mod_php5.c>
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
AddHandler php5-script .php
AddType text/html .php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
Restart Apache and see whether this changed anything.
-Stefan
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!