View Single Post
  #2  
Old 03-12-2007, 09:19 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Restrict access to a static page until logged in.

use an if statement

{if $login ne ''}
the static page
{else}
the page to display when logged in
{/if}


and disable hotlinking using htaccess

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC]
RewriteRule \.(thefileextension|theotherfileextension)$ - [F]
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote