Thanks for the answers, I will try with HTTP_REFERER. Atenciosamente, Fabio S. Schmidt Consultor técnico 4linux - Open Software Specialists http://www.4linux.com.br
----- Mensagem original ----- De: "Marcello Lorenzi" <[email protected]> Para: "lists-apache" <[email protected]> Cc: "fabio schmidt" <[email protected]> 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 neither guaranteed to be > present nor accurate. > > i.e., this approach will work a percentage of the time, but has a > reasonable probability of keeping out legit users as well as letting > inventive types bypass this stricture. > > > - Richard > > > ------------ Original Message ------------ >> Date: Monday, February 24, 2014 05:34:53 PM +0100 >> From: Marcello Lorenzi <[email protected]> >> To: [email protected] >> Cc: [email protected] >> Subject: Re: [users@httpd] Allow access only from the index page >> >> 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, [email protected] wrote: >>> 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, >>> >>> Atenciosamente, >>> Fabio S. Schmidt >>> Consultor técnico >>> 4linux - Open Software Specialists >>> http://www.4linux.com.br >>> >>> >>> ----------------------------------------------------------------- >>> ---- To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> > ------------ End Original Message ------------ > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
