Re: [users@httpd] Allow access only from the index page

2014-02-24 Thread fabio . schmidt
Enviadas: Segunda-feira, 24 de fevereiro de 2014 13:43:41 Assunto: Re: [users@httpd] Allow access only from the index page The only way to resolve this issue is to implement a session cookie i think. Marcello On 02/24/2014 05:42 PM, lists-apache wrote: > except of course that the refer[r]er is n

Re: [users@httpd] Allow access only from the index page

2014-02-24 Thread Marcello Lorenzi
Hi Fabio, you can use mod_rewrite using the |HTTP_REFERER |to check if the request arrive from index page. Marcello On 02/24/2014 05:31 PM, fabio.schm...@4linux.com.br wrote: Hi ! I need to ensure that all pages on my website are only avaliable if the access come from the index page. For in

[users@httpd] Allow access only from the index page

2014-02-24 Thread fabio . schmidt
Hi ! I need to ensure that all pages on my website are only avaliable if the access come from the index page. For instance, if the client acess directly mydomain.com/anything.html it should redirect to the index page. I'm using apache 2.2 and appreciate any help. My best regards, Atenciosame