Top Articles

Stay In Touch


Affiliate Marketing Forum

FAQ FAQ Search Search Memberlist Memberlist Usergroups Usergroups
Register Register Profile Profile Log in to check your private messages Private Messages Log in Log in

SSI's and subdomains

Affiliate Marketing Forum Index » Do-It-Your-Selfers
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Matthew Seigneur



Joined:
21 Feb 2004

Posts:
47

Location:
United Kingdom

Post Posted: Fri Nov 26, 2004 10:09 am
      Post subject: SSI's and subdomains

Reply with quote

Hi there

my ssi's are working on http://www.domain.com but not on http://blabla.domain.com

the ssi's in the subdomain folder look like this:
<!--#include virtual="../left.shtml" -->
what am i doing wrong?

Thanks,
_________________
Thanks

Matt
Non-reciprocal link exchange!...
http://www.digitalpoint.com/tools/ad-network/?signup=595
Back to top View user's profile Send private message
Charlie



Joined:
22 Aug 2003

Posts:
3305

Location:
UK

Post Posted: Fri Nov 26, 2004 12:40 pm
      Post subject: Re: SSI's and subdomains

Reply with quote

Matthew Seigneur wrote:
the ssi's in the subdomain folder look like this:
<!--#include virtual="../left.shtml" -->

Hang on a minute while I get my crystal ball...

Assuming the included file is the same in both cases, is it possible that you need another "dot" in the pathname, since the subdomain directory is another layer down from the main directory?

(I'm shooting in the dark, here, but I thought I'd mention it.)

Failing that, have a word with your host as SSI and/or subdomains can be set up in funny ways.

Hope this helps,
Charlie.
_________________
"Before I speak, I have something important to say."
- Groucho Marx
Back to top View user's profile Send private message
Matthew Seigneur



Joined:
21 Feb 2004

Posts:
47

Location:
United Kingdom

Post Posted: Fri Nov 26, 2004 12:58 pm
      Post subject:

Reply with quote

Thanks Charlie,

i tried
.../left.shtml
and
../../left.shtml
even
left.shtml
and
http://www.blabla.com/left.shtml

Still no good... I'll get onto my webhost support and see what they can do!!
_________________
Thanks

Matt
Non-reciprocal link exchange!...
http://www.digitalpoint.com/tools/ad-network/?signup=595
Back to top View user's profile Send private message
Debs



Joined:
16 Aug 2003

Posts:
4296

Location:
NY

Post Posted: Fri Nov 26, 2004 2:56 pm
      Post subject:

Reply with quote

Ithink charlie meant that you should try

<!--#include virtual="blabla.domain.com/left.shtml" -->

Debs
_________________
Learn how to turn keyphrases into quality, well-targeted articles your visitors and SE's will love with Gary Antosh's new ebook "Web Content Made Easy!"
Back to top View user's profile Send private message
AllanGardyne
Site Admin


Joined:
02 Jul 2003

Posts:
6326

Location:
by the beach, Australia

Post Posted: Sat Nov 27, 2004 10:09 pm
      Post subject:

Reply with quote

I get easily confused with directory levels, so I just put a copy of the included file in each directory, and then use the same SSI instruction to call up the included file. Would that work with sub-domains?
_________________
Allan Gardyne
AssociatePrograms.com - You're here. Explore it!
Back to top View user's profile Send private message Visit poster's website
Charlie



Joined:
22 Aug 2003

Posts:
3305

Location:
UK

Post Posted: Sun Nov 28, 2004 2:01 pm
      Post subject:

Reply with quote

Debs wrote:
I think charlie meant that you should try

<!--#include virtual="blabla.domain.com/left.shtml" -->

Just for the record, I did mean...

Code:
<!--#include virtual=".../left.shtml" -->

That's one more dot assuming the subdomains were stored as subdirectories of your web home directory.

AllanGardyne wrote:
I get easily confused with directory levels, so I just put a copy of the included file in each directory, and then use the same SSI instruction to call up the included file. Would that work with sub-domains?

It should. From a server's point of view, subdomains or even domains, are just pointers to directories (from a file location point of view). But assuming Matthew knows where the subdomains' files are actually stored relative to the root directory, I can't see how this should work if the dots method won't.

But this is a computer, remember. Go on prove me wrong! Wink

Matthew Seigneur wrote:
Still no good... I'll get onto my webhost support and see what they can do!!

I don't blame you. If it's not a typo (!), please let us know for future reference.

Cheers,
Charlie.
_________________
"Before I speak, I have something important to say."
- Groucho Marx
Back to top View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic
Affiliate Marketing Forum Index » Do-It-Your-Selfers
Page 1 of 1 All times are GMT

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Newsletter Sign-up

Sign-up Now!

How to make $1000 a month from scratch

Sign-up for our newsletter and receive our 77 page eBook "How to make $1000 a month from scratch".

Best of all it's FREE!

Your Host

Allan Gardyne

Learn from an affiliate veteran.

Your host, Allan Gardyne, has been earning a good living from affiliate programs since 1998.

Want a BETTER article writer? We will write good articles just for you.

Content Kingdom