468,278 Members | 1,478 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,278 developers. It's quick & easy.

ASP Include file error <!-- #include file="" -->

Hello,
I use this command for including my ASP files into another
it is working perfectly on my XP 2002 SP2, IIS server and also i upload to brinkster.com and working perfectly there but here is a problem on another server....
i upload my files to a new server but in the ASP file it returned me the Code in SOurce Code Back..

The code I used is:

Expand|Select|Wrap|Line Numbers
  1.  <!-- #include file="header-main.asp" --> 
the header file is in the same directory
and if there is any problem so why it worked in brinkster and my PC,

The Details for the server i upload now is :

Operating system Linux
Service Status Click to View
Kernel version 2.6.18-8.el5
Machine Type i686
Apache version 1.3.39 (Unix)
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 5.2.4
MySQL version 5.0.45-community
cPanel Build 11.16.0-RELEASE 18546
Theme cPanel X v2.6.0
Documentation Click to View



Please Help..
Regards and thanks in Advance
Jan 4 '08 #1
2 2053
idsanjeev
241 100+
Hello,
I am not sure but plz chek your browser is it same on xp if not then update
Jan 4 '08 #2
jhardman
3,405 Expert 2GB
apache servers do not natively support asp scripts. I believe there are some plugins you can buy which will allow it, but otherwise you will need to abandon ASP scripting on that server. Apache does support PHP, and that may be a better alternative. Sorry I couldn't be more helpful.

Jared
Jan 5 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

39 posts views Thread by eruanion | last post: by
1 post views Thread by =?Utf-8?B?bWFnZWxsYW4=?= | last post: by
6 posts views Thread by Mo | last post: by
1 post views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.