| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Serious Thread (ST) - SSI or equivalent to include a page across several domains?
			 
			All domains are on same box..... will SSI work across server for a few domains? 
		
	
		
		
		
		
		
	
	I need to include links on each page and dont want to update evry page rather one main page the the SSi or whatever will call. ???? ![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | |
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
			
			Join Date: Jan 2004 
				Location: Bluffville 
				
				
					Posts: 6,253
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Too lazy to set a custom title 
			
		
			
			
			Join Date: Jan 2004 
				Location: Bluffville 
				
				
					Posts: 6,253
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		  ![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		    ![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 If i dont get help 
		
	
		
		
		
		
		
	
	I wont post funny pics anymore  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 If u touch it, I will cum 
			
		
			
			
			Join Date: Sep 2003 
				Location: long island 
				
				
					Posts: 22,923
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 funny how a serious thread doesnt get any answers 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2002 
				
				
				
					Posts: 5,235
				 
				
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2003 
				Location: Western NY 
				
				
					Posts: 5,114
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 yes, will work with files OR directories, have a few clients that use shared content for members areas, and asl long as everything sits on the same machine, will work fine. 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Sep 2002 
				Location: Las Vegas 
				
				
					Posts: 208
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 You can do it on the same server easily. if you want to do it across servers you're gonna want to use something like php which if setup properly can do it very easily. (easiest in fact)  if you need help hit 
		
	
		
		
		
		
			36670850 D 
				__________________ 
		
		
		
		
	
	---------------  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Jun 2002 
				Location: Internet of course 
				
				
					Posts: 1,614
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Chafed. 
			
		
			
				
			
			
			Join Date: May 2002 
				Location: Face Down in Pussy 
				
				
					Posts: 18,041
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 This is why god gave hosting companies tech support. 
		
	
		
		
		
		
			
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Mar 2003 
				Location: Western NY 
				
				
					Posts: 5,114
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 this is also helpfull and might help with what you need doing: 
		
	
		
		
		
		
		
	
	http://linux.about.com/library/cmd/blcmdl1_ln.htm  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Dec 2002 
				Location: New Jersey 
				
				
					Posts: 5,248
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I do that with galleries. Like my gallery list is on one domain and I do a php include of ../www.picshow.net/galdump/teens7.txt or whatever. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	icq 279990726 www.mcdonalds.com <- great money making opportunity  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Feb 2004 
				Location: BC, Canada 
				
				
					Posts: 38
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 SSI won't be able to help as it has no access to any sort of URL wrapper, PHP is something that would work. When compiled with the proper configuration options, you're able to include other files via HTTP.  
		
	
		
		
		
		
			
		
		
		
		
	
	Keep in mind, though, you will _not_ be able to include PHP code and have it be run on the local server it's being included on. General syntax would be: <?php include("http://www.yoursite.com/includes/include.htm"); ?> Any questions feel free to ICQ me. Andy  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#16 | |
| 
			
			
			
			 So Fucking Banned 
			
		
			
			
			Industry Role:  
				Join Date: Apr 2001 
				Location: N.Y. -Long Island -- 
				
				
					Posts: 122,992
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
   I am just teaching myself juicy stuff  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#17 | |
| 
			
			
			
			 Chafed. 
			
		
			
				
			
			
			Join Date: May 2002 
				Location: Face Down in Pussy 
				
				
					Posts: 18,041
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ![]()  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#18 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Feb 2004 
				Location: BC, Canada 
				
				
					Posts: 38
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 AddType application/x-httpd-php .php .php3 .htm .html To make .htm and .html files work with the PHP parser. Edit: Assuming it's an apache webserver.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2001 
				Location: Bumfuck 
				
				
					Posts: 1,223
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 why not use symbolic links to the file... and then ssi to include. 
		
	
		
		
		
		
		
	
	then update your primary file.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#20 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Sep 2002 
				Location: Las Vegas 
				
				
					Posts: 208
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 but fair's fair, mod is right (and I'm sure he knew all this) you cant just include php code from remote servers as it will be parsed by apache (or whatever) before it gets to you. dont even get me started on SOAP ;) D 
				__________________ 
		
		
		
		
	
	---------------  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: May 2001 
				
				
				
					Posts: 2,944
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 You can access via SSI files and directories across domains on a single machine. But first you need to set up an alias for each directory (tree) that you want to be able to address in this way. 
		
	
		
		
		
		
		
	
	You do this in httpd.conf and an example would be: Alias /common /full_server_path_to_one_of_your_domains/common Using that example, you would then be able to address files and subdirectories in the directory "common" using the same SSI commands as if that directory existed on each domain. BTW this works not only for SSI includes, etc., but also for normal href= calls, img src= etc.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Mainstream since 2010 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2003 
				
				
				
					Posts: 1,327
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Since it's all on the same server use the absolute path to the file with php include instead, much faster then a http reference. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Alea iacta est  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#23 | |
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Sep 2002 
				Location: Las Vegas 
				
				
					Posts: 208
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 terry goodkind? milamber? 
				__________________ 
		
		
		
		
	
	---------------  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#24 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Feb 2004 
				Location: BC, Canada 
				
				
					Posts: 38
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 And yes, you _could_ include remote PHP code, using the methods you mentioned. Another would be to use PHP's sockets support to open an https connection to the server with the code, and send a password via POST to retrieve the content. The server could keep an active list of allowed domains/scripts that it will serve, and if you're not on the list, OR you're on it and supply an invalid pass, just spit out an error instead.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#25 | |
| 
			
			
			
			 Registered User 
			
		
			
			
			Join Date: Feb 2004 
				Location: BC, Canada 
				
				
					Posts: 38
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#26 | |
| 
			
			
			
			 Mainstream since 2010 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jan 2003 
				
				
				
					Posts: 1,327
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	
	Alea iacta est  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |