July 11th, 2000, 03:12 PM
Is there a way to deny direct linking to pages below the default html home directory? I want to force visitors to come throught my 1st index.html page. I've played around with the mod_access_referer module. Doesn't seem to be what I'm looking for. any insight is greatly appreciated.
July 11th, 2000, 04:43 PM
You should be looking at mod_rewrite -> http://www.apache.org/docs/mod/mod_rewrite.html
The condition should be checking HTTP_REFERER, if it doesn't match !^http://www.yoursite.com/?$, then send a redirection to http://www.yoursite.com
Let say someone coming from somewhere to your site, his stats shouldn't be logged twice.
This is the best I can suggest.