![]() |
SSI Calls
Does anyone know how to pull in a url? I am fooling around with this and this will pull a file from my site
[!--#include virtual="older/ad1.htm" --] but it won't work with a url. Is there another syntax for pulling in a url? Thanks, Chris |
It might be just a simple syntax error.
Try something like this: [!--#include virtual="/older/ad1.htm"--] |
1) Did you read http://httpd.apache.org/docs/misc/FAQ-F.html#ssi-part-i ?
2) Has SSI been activated for your virtual server? |
Not URL unix file path.
include virtual will always start from root [!--#include virtual='/home/htdocs/domain/www/file.txt' --] include file are for files up a directory |
Quote:
And the file is on http://www.mysite.com/older/ads1.htm What I wanted to do was pull the page in from a url. I'm not sure if I can do that. Yes the server is set up for ssi on shtml files. |
As long as the domains are on the same server and you start it from root, by the way use htaccess to pharse all .html & .htm files as server side includes to eliminate the .shtml file extension
|
Quote:
One thing at a time ;) I'm trying to figure out the correct path. Thanks, Chris |
must try to cheat out of something. I can smeelll it
|
Quote:
:321GFY |
Quote:
12clicks is never wrong |
Quote:
Why would swapping out ads in ssi be cheating? |
Quote:
|
Quote:
:thumbsup |
Using ssi isnt cheating, why in the fuck would making your job more simple be cheating?
|
All times are GMT -7. The time now is 08:45 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123