From: scruffnut on
Hi

Have moved a site to a new host, and the SSI's are not loading properly. I
copied the complete site to the new host and am sure everything has copied
across. I had no problems at all setting up and using SSI's on the old host.
According to the cpanel, in Apache Handlers, SSI's are activated on the new
host. Only the nameservers point to the old host still, until I can get the new
one functioning properly.

I used DW to create the code originally, as <!--#include
virtual="/ssi/rhs.html" -->

where ssi is the folder that contains the two include files.

New hosted site is here http://ans25.midphase.com/~saacpar0/

Old site with SSI working is here http://www.saac.com.au/

Can anyone help on this please?

From: Alan on


> code originally, as <!--#include
> virtual="/ssi/rhs.html" -->
>
> where ssi is the folder that contains the two include files.
>
> New hosted site is here http://ans25.midphase.com/~saacpar0/
>
> Old site with SSI working is here http://www.saac.com.au/

The site is now in a subfolder of the domain, so the site root relative path
is pointed to
http://ans25.midphase.com/ssi/
note
http://ans25.midphase.com/~saacpar0/ssi/

Will this site be assigned a domain name on the new host?


--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



From: Murray *ACE* on
Nevermind the SSIs - you've got serious problems with the page and its
template -

<!-- InstanceBegin template="/Templates/saac.dwt"
codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN"
<html>

That structure can never happen normally. The template markup cannot be
above the DTD, and doctype has no closing ">"! You have the same problem on
the old site as well....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"scruffnut" <webforumsuser(a)macromedia.com> wrote in message
news:g3eqpf$9tp$1(a)forums.macromedia.com...
> Hi
>
> Have moved a site to a new host, and the SSI's are not loading properly. I
> copied the complete site to the new host and am sure everything has copied
> across. I had no problems at all setting up and using SSI's on the old
> host.
> According to the cpanel, in Apache Handlers, SSI's are activated on the
> new
> host. Only the nameservers point to the old host still, until I can get
> the new
> one functioning properly.
>
> I used DW to create the code originally, as <!--#include
> virtual="/ssi/rhs.html" -->
>
> where ssi is the folder that contains the two include files.
>
> New hosted site is here http://ans25.midphase.com/~saacpar0/
>
> Old site with SSI working is here http://www.saac.com.au/
>
> Can anyone help on this please?
>

From: scruffnut on

The site is now in a subfolder of the domain, so the site root relative path
is pointed to
http://ans25.midphase.com/ssi/
note
http://ans25.midphase.com/~saacpar0/ssi/

Will this site be assigned a domain name on the new host?

Hi Alan

Not sure that I fully understand. Are you saying it is not working because I
have not changed the nameservers. The address I have is operating as tempory
access to view the site until I change the nameservers over. Will it work
correctly when the name servers are changed?

thanks

peter



[/q]



From: Alan on


> The address I have is operating as tempory
> access to view the site until I change the nameservers over. Will it work
> correctly when the name servers are changed?

It should work after the domain name propogates.

The reason it doesn't now is this path:
--#include
virtual="/ssi/rhs.html" -->

It's site root relative. To the domain name.
It's looking for the include at the domain root, not within your subfolder.

so the path comes out:
http://ans25.midphase.com/ssi/rhs.html which does not exist.

It can't find the file there, so it prints "An Error occurred processing
this directive" which means it was parsing for SSI, and tried, but couldn't
find the file where it was told to look for it.


You could change the include directive to:

<!--#include file="ssi/rhs.html" -->

That's a document relative path, and will only work for files in the top
folder level of the new site folder though.

I'd leave the code alone and change the name server info, if the site is
otherwise ready to go public.
--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/