NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

robertsladeuk's avatar
Feb 25, 2013

Virtual host clashes with frontview alias?

Hello,

I've set up virtual hosting using this method:

http://www.readynas.com/forum/viewtopic.php?f=35&t=35896&hilit=virtualhost

All is fine ... until...

One of the websites has a folder called /html containing the main pages linked from index.html. These links do not work. In the error log, I can see:

[Mon Feb 25 20:26:21 2013] [error] [client 62.255.137.202] File does not exist: /frontview/ui/resource/html/gallery.html

The culprit seems to be the following alias in the httpd.conf:

Alias /html/ /frontview/ui/resource/html/

So my link to /html/gallery.html is aliased to /frontview/ui/resource/html/gallery.html which does not exist!

I commented out the alias, restarted apache and now it's working. But what effect does this have on frontview - will I find that I have broken it, and is there a better way to stop this alias being active in the virtual domains?

Thanks,
Rob
--

1 Reply

  • These are the changes I made in the httpd.conf. Does this make any sense?

    #Alias /html/ /frontview/ui/resource/html/
    #<Directory /html>
    # Options MultiViews
    # AllowOverride None
    # Order allow,deny
    # Allow from all
    #</Directory>
    # Replaced the above with this to avoid interference with Virtual Hosts using /html directory:
    <Directory /frontview/ui/resource/html>
    Options MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More