× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

How to enable SSI on ReadyNAS OS 6.4.2

Bittle
Follower

How to enable SSI on ReadyNAS OS 6.4.2

Using ReadyNASOS 6.4.2, the instructions on the following topic got me most of the way to enabling server site includes, but I just wanted to post the solution that works for me.

Here's the previous topic:

https://www.readynas.com/forum/viewtopic.php?f=36&t=73204#p408144

 

Here's how I enabled on OS 6.4.2:

  • SSH into your ReadyNAS. I have sudoers set up so have to sudo all these commands. If you don't, then SSH as 'root'.
  • Make sure that the include module is enabled:
    a2enmod include
  • The virtual host configurations are now loaded from /etc/apache2/sites-enabled/
    I just added the following in the file /etc/apache2/sites-enabled/000-fv-http before the close </VirtualHost>. Note that I had to use <Location> instead of <Directory> because the frontview configuration file /etc/frontview/apache/Shares.conf uses Location and overrides Directory. Substitute your url for "your-site" (ie mine is "/web"), and I didn't bother editing 000-fv-https because I don't need https for my test sites:
     <Location "/your-site">
      Options +IncludesNOEXEC
      addType text/html .shtml
      AddOutputFilter INCLUDES .shtml
    </Location>
  • restart the web server
    service apache2 restart

 

So far, frontview hasn't been overwriting this edit and I've tried enabling/disabling http. So far so good, and it's an easy edit. I just wish I knew where the frontview configuration is for these settings so that we could include them with that (so that frontview writes it into /etc/frontview/apache/Shares.conf) instead of trying to hack around frontview.

Model: RN102|ReadyNAS 100 Series 2- Bay
Message 1 of 1
Top Contributors
Discussion stats
  • 0 replies
  • 3365 views
  • 0 kudos
  • 1 in conversation
Announcements