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 14, 2012Aspirant
In /etc/frontview/apache/DefAlias.conf there is the directive:
The page at http://leoj3n.otzo.com/OREGONTRAILII/ is looking for (for example) /images/Icons/folder.gif and there does exist a directory on the ReadyNAS /frontview/ui/resource/images/Icons/ which contains:
---
In /etc/frontview/apache/sites/leoj3n.otzo.com.vhost I changed /public_html/leoj3n to /c/public_html/leoj3n then restarted apache & cleared browser cache but no luck. The file looks like this after those changes:
:nashammer:
---
Found some icon related directives in /etc/frontview/apache/httpd.conf:
Alias /images/ /frontview/ui/resource/images/
<Directory /images>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
The page at http://leoj3n.otzo.com/OREGONTRAILII/ is looking for (for example) /images/Icons/folder.gif and there does exist a directory on the ReadyNAS /frontview/ui/resource/images/Icons/ which contains:
addlunOff.gif binary.gif clearlog.gif dvi.gif folder.gif modifylunOff.gif script.gif text.gif volumeSmall.png
addlunOn.gif binhex.gif compressed.gif elbow-end.gif hand.right.gif modifylunOn.gif sound2.gif unknown.gif warning.png
a.gif bomb.gif deleteLunOff.png elbow.gif image2.gif movie.gif tar.gif uuencoded.gif world2.gif
back.gif c.gif deleteLunOn.png f.gif layout.gif p.gif tex.gif viewlog.gif
---
In /etc/frontview/apache/sites/leoj3n.otzo.com.vhost I changed /public_html/leoj3n to /c/public_html/leoj3n then restarted apache & cleared browser cache but no luck. The file looks like this after those changes:
<VirtualHost *:80>
ServerName leoj3n.otzo.com
ServerAlias leoj3n.otzo.com
DocumentRoot /c/public_html/leoj3n
<Directory /c/public_html/leoj3n>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Location />
DirectoryIndex redirect.html index.html index.htm index.php
</Location>
<Location /index.html>
SetHandler none
Order Allow,Deny
Allow from all
</Location>
SSLEngine off
RewriteEngine On
RewriteOptions Inherit
Options +FollowSymLinks
</VirtualHost>
:nashammer:
---
Found some icon related directives in /etc/frontview/apache/httpd.conf:
<IfModule mod_autoindex.c>
IndexOptions Charset=
IndexOptions FancyIndexing NameWidth=*
AddIconByEncoding (CMP,/images/Icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/images/Icons/text.gif) text/*
AddIconByType (IMG,/images/Icons/image2.gif) image/*
AddIconByType (SND,/images/Icons/sound2.gif) audio/*
AddIconByType (VID,/images/Icons/movie.gif) video/*
AddIcon /images/Icons/binary.gif .bin .exe
AddIcon /images/Icons/binhex.gif .hqx
AddIcon /images/Icons/tar.gif .tar
AddIcon /images/Icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /images/Icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /images/Icons/a.gif .ps .ai .eps
AddIcon /images/Icons/layout.gif .html .shtml .htm .pdf
AddIcon /images/Icons/text.gif .txt
AddIcon /images/Icons/c.gif .c
AddIcon /images/Icons/p.gif .pl .py
AddIcon /images/Icons/f.gif .for
AddIcon /images/Icons/dvi.gif .dvi
AddIcon /images/Icons/uuencoded.gif .uu
AddIcon /images/Icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /images/Icons/tex.gif .tex
AddIcon /images/Icons/bomb.gif core
AddIcon /images/Icons/back.gif ..
AddIcon /images/Icons/hand.right.gif README
AddIcon /images/Icons/folder.gif ^^DIRECTORY^^
AddIcon /images/Pix.gif ^^BLANKICON^^
DefaultIcon /images/Icons/unknown.gif
ReadmeName /html/AUTOINDEX.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!