| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| pegasus -
 
 
 Joined: 17 Jun 2003
 Posts: 2
 Location: http://www.theuniverses.uni.cc
 
 | 
			
				|  Posted: Tue Jun 17, 2003 9:32 pm    Post subject: SSI In Subdirectorys |   |  
				| 
 |  
				| I tried to do SSI in subdirectorys. Like, htdocs/site1/folder. It wouldn't work!!! Inside the 'folder', i had a index.shtml which was proccessed and it came up with a error saying bad file path. The file it was suppose to include was in 'site1' folder. In the index.shtml, I had put <!--#include file="../file.txt" -->. Help!!! _________________
 ..:: Pegasus ::..
 http://www.theuniverses.uni.cc
 http://forum.theuniverses.uni.cc
 |  | 
	
		| Back to top |               | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Thu Jun 19, 2003 2:28 pm    Post subject: Re: SSI In Subdirectorys |   |  
				| 
 |  
				|  	  | pegasus wrote: |  	  | I tried to do SSI in subdirectorys. Like, htdocs/site1/folder. It wouldn't work!!! Inside the 'folder', i had a index.shtml which was proccessed and it came up with a error saying bad file path. The file it was suppose to include was in 'site1' folder. In the index.shtml, I had put <!--#include file="../file.txt" -->. Help!!! | 
 Using ../ in a path in an SSI inclusion is forbidden for security reasons. You should use <!#include virtual="/virtualpathtofile"> instead where http://yoursite/virtualpathtofile is the URL to file.txt.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |