aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes server side includes-not working in linux server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "server side includes-not working in linux server" Watch "server side includes-not working in linux server" New topic
Author

server side includes-not working in linux server

Himanshu Bisht
Ranch Hand

Joined: Aug 27, 2004
Posts: 96
Hi all!!!

I have a very strange problem. i have a page which has some server side includes.The problem is it works fine when i run it in IIS but the includes does not work on linux server.

I am post the code.
/*
<HTML>

<HEAD>
<TITLE>Marksman Technologies Inc, Noida,India</TITLE>
<META NAME="Description" CONTENT="Marksman Technologies Inc, Noida,India">
<META NAME="Keywords" CONTENT="Marksman Technologies Inc, Noida,India">
<META NAME="robots" CONTENT="index,follow">
<LINK HREF="main.css" REL="STYLESHEET" TYPE="text/css">

<SCRIPT LANGUAGE="Javascript" SRC="main.js"></SCRIPT>
</HEAD>

<BODY LEFTMARGIN="0" TOPMARGIN="0">

<!--#include virtual="/includes/head-nav.html"-->


<!--#include virtual="includes/about.html"-->

<TABLE WIDTH="100%" BORDER="0" VSPACE="0" HSPACE="0" CELLPADDING="0"
CELLSPACING="0" ALIGN="CENTER">
<TR>
<TD WIDTH="190" ROWSPAN="2" VALIGN="TOP">

<!--#include file="/includes/leftnav.html"-->

</TD>
<TD WIDTH="11" ROWSPAN="2" VALIGN="TOP"
BACKGROUND="images/left-nav-shadow2.gif"></TD>
<TD VALIGN="TOP" BGCOLOR="#FCFCFC">
<TABLE WIDTH="100%" BORDER="0" VSPACE="0" HSPACE="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER">
*/

Please suggest!!!
Himanshu Bisht
Ranch Hand

Joined: Aug 27, 2004
Posts: 96
no one answered my question!!!
Is it that difficult or its very absurd???

Well i just got some answers where i was told that these includes are server dependent.

himanshu
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: server side includes-not working in linux server