View Single Post
Old 12-10-2016, 06:21 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
This is what I use to show toplist:

Quote:
<!--#include virtual="trades/top list.html" -->

Still include virtual won't work.

try:

<!--#include virtual="/trades/toplist.html" -->

/ needs to be in the path


The state of AllowOverides
Quote:
top
AllowOverride Directive
Description: Types of directives that are allowed in .htaccess files
Syntax: AllowOverride All|None|directive-type [directive-type] ...
Default: AllowOverride None (2.3.9 and later), AllowOverride All (2.3.8 and earlier)
Context: directory
Status: Core
Module: core

When the server finds an .htaccess file (as specified by AccessFileName), it needs to know which directives declared in that file can override earlier configuration directives.
https://httpd.apache.org/docs/2.4/mod/core.html


===
You may need (probably do) to edit the root files in the Apache server for that domain's account configuration for SSI to work.

This works for CGI but with PHP I *don't* think its necessary
In /etc/apache2/sites-enabled


<Directory /home/xxxx/xxx/www/xxxx/public_html/>
Options Includes ExecCGI
</Directory>

<Location /cgi-bin>
Options +ExecCGI
</Location>
AddHandler server-parsed .shtml
######
#then make symbolic link
a2ensite www.domain.tld
/etc/init.d/apache2 reload
######

The state of AllowOveride
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote