Using virtual includes with XAMPP

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Using virtual includes with XAMPP

Postby LeeU » 07. August 2020 01:26

I am running Ubuntu 18.04 with XAMPP 7.3.7.1 for Linux. I have one acct. that uses HTML and so I use
Code: Select all
<!--#include virtual="/includes/css.html" -->
for my includes. The problem is when I bring up the virtual host, it doesn't display any of the includes. I already have other sites that work but they use PHP. Any idea on how to fix this?

If this has already been solved, point the way.
Lee
LeeU
 
Posts: 9
Joined: 04. October 2006 16:03

Re: Using virtual includes with XAMPP

Postby JJ_Tagy » 07. August 2020 02:22

This is beyond the scope of XAMPP, but perhaps you can check your path? It looks like you are trying to access /includes from the root of the file system rather than the server root.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Using virtual includes with XAMPP

Postby LeeU » 07. August 2020 02:29

I'll try that. Thanks!
Lee
LeeU
 
Posts: 9
Joined: 04. October 2006 16:03

Re: Using virtual includes with XAMPP

Postby LeeU » 07. August 2020 02:42

It worked! Thanks!
Lee
LeeU
 
Posts: 9
Joined: 04. October 2006 16:03


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 52 guests