PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Is there a mod that can do this?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Is there a mod that can do this?

Réponse
 
LinkBack Outils de la discussion
Vieux 12/01/2008, 02h32   #1
omarfk@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is there a mod that can do this?

Hello,

I am running apache in a reverse proxy mode and I am looking for a mod
that would look at the result from the application server, and based
on certain conten, would do certain things like display specific text
or go to a different url..

Basically, this application server I am reverse proxing for has a very
ugly 404/error page, and would like to show something else if a 404/
error/no index occur.

Thanks
  Réponse avec citation
Vieux 12/01/2008, 13h00   #2
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a mod that can do this?

On Fri, 11 Jan 2008 18:32:34 -0800 (PST), omarfk@gmail.com
wrote:

>Hello,
>
>I am running apache in a reverse proxy mode and I am looking for a mod
>that would look at the result from the application server, and based
>on certain conten, would do certain things like display specific text
>or go to a different url..
>
>Basically, this application server I am reverse proxing for has a very
>ugly 404/error page, and would like to show something else if a 404/
>error/no index occur.
>
>Thanks


In httpd.conf add:
ErrorDocument 404 /your404script.php
--
( Kees
)
c[_] In youth we learn; in age we understand. (#114)
  Réponse avec citation
Vieux 12/01/2008, 17h19   #3
omarfk@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a mod that can do this?

On Jan 12, 5:00 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 11 Jan 2008 18:32:34 -0800 (PST), oma...@gmail.com
> wrote:
>
> >Hello,

>
> >I am running apache in a reverse proxy mode and I am looking for a mod
> >that would look at the result from the application server, and based
> >on certain conten, would do certain things like display specific text
> >or go to a different url..

>
> >Basically, this application server I am reverse proxing for has a very
> >ugly 404/error page, and would like to show something else if a 404/
> >error/no index occur.

>
> >Thanks

>
> In httpd.conf add:
> ErrorDocument 404 /your404script.php
> --
> ( Kees
> )
> c[_] In youth we learn; in age we understand. (#114)


Thanks for your response. But doesn't that assume that the
applications server outputs something that can be interpreted by
apache as a 404 error? The problem is that the application server
does not do the standard error pages/messages and there is no way I
can modify the response.
  Réponse avec citation
Vieux 12/01/2008, 19h30   #4
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a mod that can do this?

On Sat, 12 Jan 2008 09:19:26 -0800 (PST), omarfk@gmail.com
wrote:

>On Jan 12, 5:00 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
>> On Fri, 11 Jan 2008 18:32:34 -0800 (PST), oma...@gmail.com
>> wrote:
>>
>> >Hello,

>>
>> >I am running apache in a reverse proxy mode and I am looking for a mod
>> >that would look at the result from the application server, and based
>> >on certain conten, would do certain things like display specific text
>> >or go to a different url..

>>
>> >Basically, this application server I am reverse proxing for has a very
>> >ugly 404/error page, and would like to show something else if a 404/
>> >error/no index occur.

>>
>> >Thanks

>>
>> In httpd.conf add:
>> ErrorDocument 404 /your404script.php
>> --
>> ( Kees

>
>Thanks for your response. But doesn't that assume that the
>applications server outputs something that can be interpreted by
>apache as a 404 error? The problem is that the application server
>does not do the standard error pages/messages and there is no way I
>can modify the response.


Hm, I think I answered too fast. Looking closer to your
question, I don't think I have the answer.

But I found this:
http://httpd.apache.org/docs/2.2/mod...yerroroverride
Perhaps the combination of that and my first suggestion
will work?
--
( Kees
)
c[_] Hardware, n.: The parts of a computer system
that can be kicked. (#307)
  Réponse avec citation
Vieux 12/01/2008, 23h04   #5
omarfk@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a mod that can do this?

On Jan 12, 11:30 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Sat, 12 Jan 2008 09:19:26 -0800 (PST), oma...@gmail.com
> wrote:
>
>
>
> >On Jan 12, 5:00 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> >> On Fri, 11 Jan 2008 18:32:34 -0800 (PST), oma...@gmail.com
> >> wrote:

>
> >> >Hello,

>
> >> >I am running apache in a reverse proxy mode and I am looking for a mod
> >> >that would look at the result from the application server, and based
> >> >on certain conten, would do certain things like display specific text
> >> >or go to a different url..

>
> >> >Basically, this application server I am reverse proxing for has a very
> >> >ugly 404/error page, and would like to show something else if a 404/
> >> >error/no index occur.

>
> >> >Thanks

>
> >> In httpd.conf add:
> >> ErrorDocument 404 /your404script.php
> >> --
> >> ( Kees

>
> >Thanks for your response. But doesn't that assume that the
> >applications server outputs something that can be interpreted by
> >apache as a 404 error? The problem is that the application server
> >does not do the standard error pages/messages and there is no way I
> >can modify the response.

>
> Hm, I think I answered too fast. Looking closer to your
> question, I don't think I have the answer.
>
> But I found this:http://httpd.apache.org/docs/2.2/mod...yerroroverride
> Perhaps the combination of that and my first suggestion
> will work?
> --
> ( Kees
> )
> c[_] Hardware, n.: The parts of a computer system
> that can be kicked. (#307)



That did it!
I have been trying for several days to solve this problem and have
been staring at this page all the time.

Takk


  Réponse avec citation
Vieux 12/01/2008, 23h17   #6
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is there a mod that can do this?


On Sat, 12 Jan 2008 15:04:15 -0800 (PST), omarfk@gmail.com
wrote:

[snip]

>> >Thanks for your response. But doesn't that assume that the
>> >applications server outputs something that can be interpreted by
>> >apache as a 404 error? The problem is that the application server
>> >does not do the standard error pages/messages and there is no way I
>> >can modify the response.

>>
>> Hm, I think I answered too fast. Looking closer to your
>> question, I don't think I have the answer.
>>
>> But I found this:http://httpd.apache.org/docs/2.2/mod...yerroroverride
>> Perhaps the combination of that and my first suggestion
>> will work?
>> --
>> ( Kees
>> )
>> c[_] Hardware, n.: The parts of a computer system
>> that can be kicked. (#307)

>
>
>That did it!
>I have been trying for several days to solve this problem and have
>been staring at this page all the time.
>
>Takk


Beklager, jeg snakker ikke norsk, but anyway, velkommen!
--
( Kees
)
c[_] Unqualified superlatives are the worst of all. (#440)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h06.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12318 seconds with 14 queries