|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > deny direct linking |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|