httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabio.schm...@4linux.com.br
Subject Re: [users@httpd] Allow access only from the index page
Date Mon, 24 Feb 2014 16:55:30 GMT
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@sorint.it>
Para: "lists-apache" <replies-lists-a1z2-apache@listmail.innovate.net>
Cc: "fabio schmidt" <fabio.schmidt@4linux.com.br>
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 <mlorenzi@sorint.it>
>> To: users@httpd.apache.org
>> Cc: fabio.schmidt@4linux.com.br
>> 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, fabio.schmidt@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 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@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
> ------------ End Original Message ------------
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message