You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ismael Puerto <is...@seres.es> on 2013/03/06 18:16:42 UTC

[users@httpd] Redirect from direct traffic

Hi list

I would like to redirect only direct traffic
for example:

In you browser, i enter to: www.page1.com -----> redirect --- >
www.page1.com/index2.html

But if the request arrive from link i don't want anything
for example

www.page2.com/tolink.html ----> www.page1.com

is this possible?

Best regards and thanks


-- 
Ismael Puerto
Dpto de Explotación
902 42 43 42 ext: 478
ismael.puerto@seres.es <ma...@seres.es>

Conozca nuestra dirección en http://www.seres.es <http://www.seres.es/>
----------------------------------------------
Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si no es vd. el destinatario
indicado, queda notificado de que la utilización, divulgación y/o copia
sin autorización está prohibida en virtud de la legislación vigente. Si
ha recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción.
This message is intended exclusively for its addresses and may contain
information that is CONFIDENTIAL and protected by professional
privilege. If you are not the intended recipient you are hereby notified
that any dissemination, copy or disclosure of this communication is
strictly prohibited by law. If this message has been received in error,
please immediately notify us via e-mail and delete it.
Ce message est prévu exclusivement pour son destinataire et peut
contenir l'information qui est CONFIDENTIELLE et protégée par privilège
professionnel. Si vous n'êtes pas le destinataire prévu on vous annonce
par ceci que n'importe quelle diffusion, copie ou révélation de cette
communication est strictement interdite par loi. Si ce message a été
reçu par erreur, svp informez-immédiatement nous par l'intermédiaire du
E-mail et supprimez-les.
----------------------------------------------
PRespeta el medio ambiente. Antes de imprimir este e-mail, piensa si
realmente es necesario imprimirlo.

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


Re: [users@httpd] PHP list issues

Posted by Ben Johnson <be...@indietorrent.org>.

On 3/6/2013 4:46 PM, georg wrote:
> Hi,
> 
> have a problem getting a picture stored and retreived by ODBC in PHP to
> get rendered,
> it comes as a golliable flush of nonsens characters
> 
> anyone has a clue, or a deferral to a good PHP forum
> 
> tnx
> 
> Georg
> 

You've acknowledged already that you are asking the wrong list, so that
need not be said again.

Storing images in a database is a bad idea. Don't do it. Store the
images on the filesystem. (The output is garbled because the user-agent
hasn't been given the MIME-type, which is unrelated to the fact that
you're storing the images in a database.)

Further questions should be directed at a PHP list or forum. There are
plenty of them; you might use a search engine.

-Ben

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


Re: [users@httpd] PHP list issues

Posted by Hendrik Schmieder <he...@jedox.com>.
georg schrieb:
> Hi,
>
> have a problem getting a picture stored and retreived by ODBC in PHP to
> get rendered,
> it comes as a golliable flush of nonsens characters
>
> anyone has a clue, or a deferral to a good PHP forum
>
> tnx
>

http://www.php.net/mailing-lists.php

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


[users@httpd] PHP list issues

Posted by georg <ge...@telia.com>.
Hi,

have a problem getting a picture stored and retreived by ODBC in PHP to get 
rendered,
it comes as a golliable flush of nonsens characters

anyone has a clue, or a deferral to a good PHP forum

tnx

Georg 


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


Re: [users@httpd] Redirect from direct traffic

Posted by Ismael Puerto <is...@seres.es>.
I have apache 2.2.23

On 06/03/13 19:01, Eric Covener wrote:
> On Wed, Mar 6, 2013 at 12:16 PM, Ismael Puerto <is...@seres.es> wrote:
>> Hi list
>>
>> I would like to redirect only direct traffic
>> for example:
>>
>> In you browser, i enter to: www.page1.com -----> redirect --- >
>> www.page1.com/index2.html
>>
>> But if the request arrive from link i don't want anything
>> for example
>>
>> www.page2.com/tolink.html ----> www.page1.com
>>
> Use mod_rewrite , or <if in 2.4, and base your check on the referer header.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


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


Re: [users@httpd] Redirect from direct traffic

Posted by Eric Covener <co...@gmail.com>.
On Wed, Mar 6, 2013 at 12:16 PM, Ismael Puerto <is...@seres.es> wrote:
> Hi list
>
> I would like to redirect only direct traffic
> for example:
>
> In you browser, i enter to: www.page1.com -----> redirect --- >
> www.page1.com/index2.html
>
> But if the request arrive from link i don't want anything
> for example
>
> www.page2.com/tolink.html ----> www.page1.com
>

Use mod_rewrite , or <if in 2.4, and base your check on the referer header.

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