| 
| 
 | 
 | 
 | 
 | 
 | 
		
			
  | 	
	
	
		
		|||||||
![]()  | 
	
	
| 
		 | 
	Thread Tools | Search this Thread | Rate Thread | Display Modes | 
| 
	 | 
| 		
			
			 | 
		#1 | 
| 
			
			
			
			 Lord help me, I'm just not that bright 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
			
			 
				
				htaccess protecting a directory help please
			 
			hi. i need a htaccess file that will make it so that in order to access any html pages in http://www.mydomain.com/free-galleries/imagepages/ they have to come from a page on my site. i dont want a serfer to be able to browse them by typing in image002.html, image003.html etc... i have a php script thats randomly choosing 10 per day out of in some cases 350 and i dont want a smart serfer to be able to see them all. make sense? thanks. rl 
		
	
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#2 | 
| 
			
			
			
			 Subversive filth of the hedonistic decadent West 
			
			
		
			
				
			
			
			Join Date: Mar 2003 
				Location: Southeast Florida 
				
				
					Posts: 27,936
				 
				
				
				
				 | 
	
	
	
		
		
		
		
		 Here you go, just replace my domain info with your domain info. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
	AuthType Basic RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://www.cleos-porn-links.com/adult-links/*$ [NC] RewriteRule /* http://www.cleos-porn-links.com/ [R,L]  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#3 | 
| 
			
			
			
			 Lord help me, I'm just not that bright 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
			
			 
				
				xxx
			 
			excellent, thank you very much cleo. 
		
	
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
| 		
			
			 | 
		#4 | 
| 
			
			
			
			 Lord help me, I'm just not that bright 
			
			
		
			
			
								
		
	 | 
	
	
	
		
		
			
			 
				
				it works :)
			 
			just finished my first gallery with pics on html pages and the htaccess works perfectly. thanks again  
		
	
		
		
		
		
		
		
		
		
		
	
	![]()  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
	
	
		
  | 
	
		
  |