Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-07-22, 11:19 PM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
typically, I find that

<!--#include virtual="/include/streamt.htm" -->

would work better.

Are you getting the dreaded, An error has occurred processing this directive?

If so, the file could be missing, it might not be readable by the server, the path could be wrong.

If you're not getting an error, check the source to see if the command is inside the html page -- if so, you may not have SSI parsing turned on for .htm pages (many servers don't parse .htm for SSI)

AddHandler server-parsed .htm .html

If it isn't already

If you're using apache 2.x (and you should be)

<FilesMatch "\.htm(l)?(\..+)?$">
SetOutputFilter INCLUDES
</FilesMatch>

If you have access to the raw apache logs, you might have better luck seeing the error message if none of the above helps.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2008-07-23, 12:15 AM   #2
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
Sheep Guy,
I'm not 100% positive but I think the folder you are pulling the files from has to have a global alias.
I have one folder on each partition of my server that has such a folder with many sub folders that I pull all my images, movies and recip tables from.

I've never seen an ssi call with a ../ used before.

If all else fails you can probably get by with a php include using the absolute path to the file.
Maj. Stress is offline   Reply With Quote
Old 2008-07-23, 12:50 AM   #3
SheepGuy
It's the end of the world as we know it, and I feel fine
 
SheepGuy's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 2,527
Thanks guys, just tried Sparky's code and still no luck. No error messages either and I'm on an Apache server, not sure what vintage though

http://www.eastcoastsluts.com/firstt...ong/gal02.html
is the page the call is on, at the bottom.

And I've just figured out that this works on my other domains, and for the 3 or 4 sites I want to add it to on the eastcoast domain if worse comes to worse I'll just paste it in.
I'm lost when it comes to servers so I'll run it by the guy who runs mine, gotta be something on that end I would think.

Thanks again!
__________________
If the Environment was a bank, they would have saved it by now.
SheepGuy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT -4. The time now is 03:49 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc