![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | |||
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 1,210
|
Problem with include virtual
I have a problem with tradescript not counting hits and toplists not being shown on index page.
In my index.shtml file I have this in the <head>: Quote:
Quote:
Quote:
Still include virtual won't work. Any suggestions what else to do? Something that needs to be enabled on server? I am not managing it myself. |
|||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
back in days, i had same issue, i dont recall the solution.,
but try one of these. 1) try full path in include 2) try require or require_once instead of include 3) try accessing /tradex/in.php?${QUERY_STRING} using web browser, if you can access it , i mean if you dont get any permission error, then i dont see any other issue. good luck
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
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:
=== 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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 1,210
|
Thanks for the suggestions
![]() Ended up with a respons from server admin: "I ran a ' a2enmod include ' via ssh. Linux mod_include appeared to be disabled." Things work now, thanks again ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
https://httpd.apache.org/docs/curren...d_include.html
I like SSI but it is old school ... Very fast and native to the server. That is mod has been enabled with the every default build I have worked with. My newest server Apache2 install had that mod off too -- but I did a custom compile and overlooked it ... Code:
[email protected]:~# a2enmod include Considering dependency mime for include: Module mime already enabled Enabling module include. To activate the new configuration, you need to run: service apache2 restart [email protected]:~#: service apache2 restart ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Thread Tools | |