For some reason I have not been able to get server side includes working. I have a TS-231+
I've googled the ** out of this, and tried last week. I'm only running this locally on my LAN.
In this case, I've been using SSI forever on my host, and it works fine there. Didn't have to enable it.
Onto business. Please keep in mind I'm a newb at apache tweaking.
I've edited my httpd.conf (located at /mnt/HDA_ROOT/.config/apache/original). Here are the parts I've edited to match all the things googlein' has told me to do:
Options FollowSymLinks Includes
Deny from all
Also I did the same thing below:
Options Indexes FollowSymLinks Includes
Allow from all
As well as:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Most sites (including some here in the qnap forums) say to do "options +Includes". I've done that, and tried just Includes (no plus). My pages are.shtml files. No luck, SSI just never seems to work. The pages in my browser (192.168.1.123/sitefolder/site.shtml) come up without the included parts.
Like I said, they work fine on my webhost.
The text in my shtml page is as such:
All the files and folders are just a straight transfer from the host to my NAS's web folder.
EDIT: I also stuck in AllowOverride All and AllowOverride Options to try and get a .htaccess file in my webpage folder to do the work (although I'd prefer to just do a general SSI enable). Stuck this in there
AddHandler server-parsed .shtml
I hope this is just something simple that I just missed or didn't know how to do. If you need any additional info let me know.
Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
1 post • Page 1 of 1
Who is online
Users browsing this forum: Toxic17 and 4 guests