HighDots Forums  

asp novice - help, im just a designer!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss asp novice - help, im just a designer! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
louloulouloulou
 
Posts: n/a

Default asp novice - help, im just a designer! - 08-12-2004 , 04:01 AM






I am trying to get my head round asp includes, i have done what i *thought* was
right, however, when I type in the url i get the code displayed rather than the
included page - asp is enable on this server. Url is:
http://www.5thring.com/scotia/pinefield/home/home.asp

any help much appreciated
thanks
louise


Reply With Quote
  #2  
Old   
CarlGrint
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 08:21 AM






It's hard to tell without seeing the code for the complete page, but have your
included the ASP coding at the top of the page..?

Originally posted by: louloulouloulou
I am trying to get my head round asp includes, i have done what i *thought*
was right, however, when I type in the url i get the code displayed rather than
the included page - asp is enable on this server. Url is:
http://www.5thring.com/scotia/pinefield/home/home.asp

any help much appreciated
thanks
louise




Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 08:30 AM



You don't need to use ASP to have includes, you know?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"louloulouloulou" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am trying to get my head round asp includes, i have done what i
*thought* was
right, however, when I type in the url i get the code displayed rather
than the
included page - asp is enable on this server. Url is:
http://www.5thring.com/scotia/pinefield/home/home.asp

any help much appreciated
thanks
louise




Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 09:26 AM



louloulouloulou wrote:

Quote:
I am trying to get my head round asp includes, i have done what i *thought* was
right, however, when I type in the url i get the code displayed rather than the
included page - asp is enable on this server. Url is:
http://www.5thring.com/scotia/pinefield/home/home.asp

I don't mean to be argumentative, but are you SURE ASP is enabled on
that server? Here are the response headers sent by the server on the
page above:

Date: Thu, 12 Aug 2004 13:22:32 GMT
Server: Apache/1.3.27
Last-Modified: Wed, 11 Aug 2004 16:03:17 GMT
Etag: "7f4401-15b-411a4345"
Accept-Ranges: bytes
Content-Length: 347
Content-Type: text/plain

Since it's Apache, it would need a third party application in order to
process ASP. Note the last header line. It's being sent as text/plain
instead of text/html. That suggests that the server doesn't know what to
do with .asp pages.


Gary


Reply With Quote
  #5  
Old   
CarlGrint
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 09:33 AM



You would need ChillSoft running on an Apache server to run ASP pages, it is
best to check your host to see if your account has ChilliSoft as an option...if
not, then take a look at PHP.

Originally posted by: Newsgroup User
louloulouloulou wrote:

Quote:
I am trying to get my head round asp includes, i have done what i *thought*
was
right, however, when I type in the url i get the code displayed rather than
the
included page - asp is enable on this server. Url is:
http://www.5thring.com/scotia/pinefield/home/home.asp

I don't mean to be argumentative, but are you SURE ASP is enabled on
that server? Here are the response headers sent by the server on the
page above:

Date: Thu, 12 Aug 2004 13:22:32 GMT
Server: Apache/1.3.27
Last-Modified: Wed, 11 Aug 2004 16:03:17 GMT
Etag: "7f4401-15b-411a4345"
Accept-Ranges: bytes
Content-Length: 347
Content-Type: text/plain

Since it's Apache, it would need a third party application in order to
process ASP. Note the last header line. It's being sent as text/plain
instead of text/html. That suggests that the server doesn't know what to
do with .asp pages.


Gary





Reply With Quote
  #6  
Old   
Julian Roberts
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 11:44 AM



I think the server must be ASP enabled, as an ASP site is shown when going
to the root:

http://www.5thring.com/

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Reply With Quote
  #7  
Old   
CarlGrint
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 12:03 PM



could be the host only turns on ASP as require per site, I know Fasthosts, how
I use, do that, even for an ASP site, you have to turn it on.

Originally posted by: Newsgroup User
I think the server must be ASP enabled, as an ASP site is shown when going
to the root:

http://www.5thring.com/

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Reply With Quote
  #8  
Old   
Gary White
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 03:58 PM



CarlGrint wrote:

Quote:
You would need ChillSoft running on an Apache server to run ASP pages,
That's what I meant when I said a third party app. Of course ChiliSoft
ASP was renamed to Sun One, when was then renamed to Sun Java Server, or
something like that.


Gary


Reply With Quote
  #9  
Old   
Gary White
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 04:04 PM



Julian Roberts wrote:

Quote:
I think the server must be ASP enabled, as an ASP site is shown when going
to the root:

http://www.5thring.com/

I get a re-direct from there to:
http://www.fifthring.co.uk/hello/


Gary


Reply With Quote
  #10  
Old   
HockeyB
 
Posts: n/a

Default Re: asp novice - help, im just a designer! - 08-12-2004 , 05:08 PM



Allow me to provide the simple answer. Your path to your include file is wrong.

Try this <!--#include file="../includes/header.inc"--> (Note the 2 dots to go
back one directory)

Your include directory is down one directory from your home.asp file, so if
you want to use the include file="" tag then you have to direct to the include
file from the current location (where the home.asp file is). Otherwise, you
could use the include virtual="" tag, however with that you'd have to guide to
the include directory from the virtual root, which is probably the root
directory of the web site. So that may be <!--#include
virtual="/scotia/pinefield/includes/header.inc"-->

Hope that helps!
Cheers,
Ben


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.