DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Corey Guest

    Major problem with inclues files....


    I cannot seem to get my include files to work when runnin on the server.
    If I view it like: U:\index.htm then I can see then the include file works
    but if I view it like this Http://myserver/index.htm then the include file
    dosent show up.

    Here is my statment...

    <!--#include file="test.html"-->



  2. #2
    Harold Harklebarkleson Guest

    Re: Major problem with inclues files....

    Try renaming the file from index.htm to index.shtm - you need to name the
    file appropriately, otherwise the webserver doesn't know that it should
    process server-side includes.



    "Corey" <charbaugh@bma.com> wrote in message
    news:3e0b325e$1@tnews.web.devx.com...
    >
    > I cannot seem to get my include files to work when runnin on the server.
    > If I view it like: U:\index.htm then I can see then the include file works
    > but if I view it like this Http://myserver/index.htm then the include file
    > dosent show up.
    >
    > Here is my statment...
    >
    > <!--#include file="test.html"-->
    >
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links