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" <mlorenzi@xxxxxxxxx> Para: "lists-apache" <replies-lists-a1z2-apache@xxxxxxxxxxxxxxxxxxxxx> Cc: "fabio schmidt" <fabio.schmidt@xxxxxxxxxxxxx> Enviadas: Segunda-feira, 24 de fevereiro de 2014 13:43:41 Assunto: Re: 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 <mlorenzi@xxxxxxxxx> >> To: users@xxxxxxxxxxxxxxxx >> Cc: fabio.schmidt@xxxxxxxxxxxxx >> Subject: Re: 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, fabio.schmidt@xxxxxxxxxxxxx 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: users-unsubscribe@xxxxxxxxxxxxxxxx >>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >>> >>> > ------------ End Original Message ------------ > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx