| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Strandedthinker -
 
 
 Joined: 03 May 2004
 Posts: 6
 
 
 | 
			
				|  Posted: Tue May 04, 2004 1:16 am    Post subject: Stopping users from... |   |  
				| 
 |  
				| How do you stop users from browsing directories? thanks |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Tue May 04, 2004 1:36 am    Post subject: |   |  
				| 
 |  
				| In the console, Sevrer Configuration>Advanced>Server Perameters>Automatic Directory Indexing>No. _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		| eznetlinks -
 
 
 Joined: 27 Sep 2003
 Posts: 144
 
 
 | 
			
				|  Posted: Tue May 04, 2004 1:38 am    Post subject: |   |  
				| 
 |  
				| I use this php script that returns users to the root directory. 
 index.php
 
 <?
 $host = $_SERVER["HTTP_HOST"];
 header("Location: http://$host");
 ?>
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |