GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   SSI Calls (https://gfy.com/showthread.php?t=92726)

ChrisH 12-08-2002 10:54 PM

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

Ludedude 12-08-2002 11:01 PM

It might be just a simple syntax error.

Try something like this:

[!--#include virtual="/older/ad1.htm"--]

jennycards 12-08-2002 11:04 PM

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?

kenny 12-08-2002 11:05 PM

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

ChrisH 12-08-2002 11:18 PM

Quote:

Originally posted by kenny
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

But will that work if I call the file from http://my-other-site.com/adpage.html

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.

kenny 12-08-2002 11:31 PM

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

ChrisH 12-08-2002 11:35 PM

Quote:

Originally posted by kenny
by the way use htaccess to pharse all .html & .htm files as server side includes to eliminate the .shtml file extension
:1orglaugh

One thing at a time ;)

I'm trying to figure out the correct path. Thanks, Chris

LUCL0NELY 12-08-2002 11:37 PM

must try to cheat out of something. I can smeelll it

ChrisH 12-08-2002 11:43 PM

Quote:

Originally posted by LUCL0NELY
must try to cheat out of something. I can smeelll it
Yea, That's what I'm doing, and I figured I'd come here for advise.

:321GFY

LUCL0NELY 12-08-2002 11:44 PM

Quote:

Originally posted by ChrisH


Yea, That's what I'm doing, and I figured I'd come here for advise.



12clicks is never wrong

ChrisH 12-08-2002 11:48 PM

Quote:

Originally posted by LUCL0NELY



12clicks is never wrong

Okay. What the fuck does 12clicks have to do with anything?

Why would swapping out ads in ssi be cheating?

LUCL0NELY 12-08-2002 11:49 PM

Quote:

Originally posted by ChrisH


Okay. What the fuck does 12clicks have to do with anything?

Why would swapping out ads in ssi be cheating?

ask 12clicks, he will tell you the stories.

ChrisH 12-08-2002 11:50 PM

Quote:

Originally posted by LUCL0NELY


ask 12clicks, he will tell you the stories.

Thanks, but I really could careless, and don't have the time or desire.

:thumbsup

kenny 12-08-2002 11:58 PM

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