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....
leoj3n
Jul 15, 2012Aspirant
WhoCares? wrote: The snippet above is wrong on so many levels ;) Generally it looks like PHP isn't working for you.
Going to to have a detailled look later.
-Stefan
Stefan,
Thanks a bunch. I created a new thread titled Help set up PHP CGI Environment please where I have posted my updated configuration files.
It seems that in the chaos of it all I found the code Alias /images/ /frontview/ui/resource/images/ ...etc... in /etc/frontview/apache/DefAlias.conf then added that very same code a second time to the same file. So now I realize my suggesting, after some sleep, makes no sense as you would just be re-adding the alias to the same file (DefAlias.conf) that it's already in. I made that suggestion because I was misled into thinking that adding that bit of code to DefAlias.conf solved the directory image problem due to a new discovery: just running the restart command doesn't really refresh everything like it should. Instead you have to restart the entire NAS to see it all refreshed for sure. That's why my problem went from the file being downloaded to permission errors for .php files... So lesson learned: restart the whole NAS after a change AND clear your browser cache or else you won't see the true effects of your changes...
So yeah, that means my /images/ Alias suggestion wasn't wrong on any level because that code is already in AliasDef.conf! However I would now modify that suggestion to put the Alias /images/ /frontview/ui/resource/images/ ...etc... code inside the <VirtualHost *:80> definition in *.vhost which is probably wrong on some level..? But I can confirm that this (after restarting the NAS) does fix the images in the directory listing.
Joel
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!