You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tushar Chavan <tu...@hotmail.com> on 2010/10/13 14:41:34 UTC

[users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Hi Team,

 

Whenever we click on one link on portal,I get below error.

 

---------------------------------------------------------------------------------------------------------

Error application is coming up.
20101013
BASIS
153756
srmhost
http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
OBJECTS_OBJREF_NOT_ASSIGNED_NO

 

------------------------------------------------------------------------------------------------------------------

 

Now here I want to replace srmhost by srmarphost. is it possible? 

 

If Yes, Can you please tell me how to do it ? ( I mean what exact entries should I make in httpd.conf file )

 

Best Regards,

Tushar.

 

 
 		 	   		  

RE: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Tushar Chavan <tu...@hotmail.com>.
Hi Eric,
How to check content type?
I am trying to replace srmhost by srmdevarp. in below error message  .Then how should be my entry? I am really confused here.
> >Error application is coming up.> > 20101013> > BASIS> > 153756> > srmhost> > http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/> > OBJECTS_OBJREF_NOT_ASSIGNED_NO> >

Best Regards,Tushar

> Date: Thu, 14 Oct 2010 12:19:16 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module
> 
> On Thu, Oct 14, 2010 at 12:15 PM, Tushar Chavan
> <tu...@hotmail.com> wrote:
> > Hi Eric,
> > Content type is html but I am not sure of it.
> > From portal below url is called.
> > http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
> > Substitute entry is as below ( It was typo in earlier mail )
> > Substitute "s|http://srmhost.klm.com:8000|http://srmdevarp|infq"
> > Best Regards,
> 
> Seems like every parameter you used is incorrect.  If that's the URL,
> what's the verbatim error message you're trying to replace?  What does
> your brwoser say the content type is?
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  

Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Eric Covener <co...@gmail.com>.
On Thu, Oct 14, 2010 at 12:15 PM, Tushar Chavan
<tu...@hotmail.com> wrote:
> Hi Eric,
> Content type is html but I am not sure of it.
> From portal below url is called.
> http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
> Substitute entry is as below ( It was typo in earlier mail )
> Substitute "s|http://srmhost.klm.com:8000|http://srmdevarp|infq"
> Best Regards,

Seems like every parameter you used is incorrect.  If that's the URL,
what's the verbatim error message you're trying to replace?  What does
your brwoser say the content type is?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Tushar Chavan <tu...@hotmail.com>.
Hi Eric,
Content type is html but I am not sure of it.
>From portal below url is called.
http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
Substitute entry is as below ( It was typo in earlier mail )Substitute "s|http://srmhost.klm.com:8000|http://srmdevarp|infq"
Best Regards,Tushar.
> Date: Thu, 14 Oct 2010 12:04:59 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module
> 
> On Thu, Oct 14, 2010 at 12:01 PM, Tushar Chavan
> <tu...@hotmail.com> wrote:
> > Hi Eric,
> > Below are the entries in httpd.conf  file
> > <Location /irj >AddOutputFilterByType SUBSTITUTE text/html/gzip
> > Substitute "s|http://srmdev.klm.com:8htm0|http://srmdevarp|infq"</Location>
> >
> 
> Was your content-type really "text/html/gzip" ?
> 
> What URL were you requesting?
> 
> And why doesn't the first tring in your Substitute directive not match
> the error message in your original post?
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  

Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Eric Covener <co...@gmail.com>.
On Thu, Oct 14, 2010 at 12:01 PM, Tushar Chavan
<tu...@hotmail.com> wrote:
> Hi Eric,
> Below are the entries in httpd.conf  file
> <Location /irj >AddOutputFilterByType SUBSTITUTE text/html/gzip
> Substitute "s|http://srmdev.klm.com:8000|http://srmdevarp|infq"</Location>
>

Was your content-type really "text/html/gzip" ?

What URL were you requesting?

And why doesn't the first tring in your Substitute directive not match
the error message in your original post?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Tushar Chavan <tu...@hotmail.com>.
Hi Eric,
Below are the entries in httpd.conf  file
<Location /irj >AddOutputFilterByType SUBSTITUTE text/html/gzip
Substitute "s|http://srmdev.klm.com:8000|http://srmdevarp|infq"</Location>

Best Regards,Tushar
> Date: Thu, 14 Oct 2010 11:30:03 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module
> 
> On Thu, Oct 14, 2010 at 11:16 AM, Tushar Chavan
> <tu...@hotmail.com> wrote:
> > HI Eric,
> >
> > I tried the mod_substitute but it not working ?
> >
> 
> Maybe it was configured incorrectly.  What did you try?
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  

Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Eric Covener <co...@gmail.com>.
On Thu, Oct 14, 2010 at 11:16 AM, Tushar Chavan
<tu...@hotmail.com> wrote:
> HI Eric,
>
> I tried the mod_substitute but it not working ?
>

Maybe it was configured incorrectly.  What did you try?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Tushar Chavan <tu...@hotmail.com>.
HI Eric,
 
I tried the mod_substitute but it not working ? 
 
Best Regards,
Tushar
 
> Date: Wed, 13 Oct 2010 08:50:53 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module
> 
> On Wed, Oct 13, 2010 at 8:41 AM, Tushar Chavan
> <tu...@hotmail.com> wrote:
> > Hi Team,
> >
> > Whenever we click on one link on portal,I get below error.
> >
> > ---------------------------------------------------------------------------------------------------------
> > Error application is coming up.
> > 20101013
> > BASIS
> > 153756
> > srmhost
> > http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
> > OBJECTS_OBJREF_NOT_ASSIGNED_NO
> >
> > ------------------------------------------------------------------------------------------------------------------
> >
> > Now here I want to replace srmhost by srmarphost. is it possible?
> >
> > If Yes, Can you please tell me how to do it ? ( I mean what exact entries
> > should I make in httpd.conf file )
> >
> 
> Tried the simple example for mod_substitute?
> 
> http://httpd.apache.org/docs/2.1/mod/mod_substitute.html
> 
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  

Re: [users@httpd] Can we replace text 'srmhost' by 'srmdevarp' with Any Apache Module

Posted by Eric Covener <co...@gmail.com>.
On Wed, Oct 13, 2010 at 8:41 AM, Tushar Chavan
<tu...@hotmail.com> wrote:
> Hi Team,
>
> Whenever we click on one link on portal,I get below error.
>
> ---------------------------------------------------------------------------------------------------------
> Error application is coming up.
> 20101013
> BASIS
> 153756
> srmhost
> http://srmhost.klm.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
> OBJECTS_OBJREF_NOT_ASSIGNED_NO
>
> ------------------------------------------------------------------------------------------------------------------
>
> Now here I want to replace srmhost by srmarphost. is it possible?
>
> If Yes, Can you please tell me how to do it ? ( I mean what exact entries
> should I make in httpd.conf file )
>

Tried the simple example for mod_substitute?

http://httpd.apache.org/docs/2.1/mod/mod_substitute.html


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org