httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Teklu <DTe...@amlaw.com>
Subject Re: [users@httpd] Url re-direction
Date Fri, 03 Dec 2004 20:14:14 GMT

Yes, that would work. I have other redirects like that are working fine.

But, how do you send everything under a folder to the index page like:

Redirect /directory http://www.myurl.com/jsp/test/index.jsp

That does not work. If I do that and try to browse to:

http://www.myurl.com/directory/foo   I get an error.

Thanks for replying to my problem.

-Daniel



> From: "PINNI, BALANAND (SBCSI)" <bp3965@sbc.com>
> Reply-To: <users@httpd.apache.org>
> Date: Fri, 3 Dec 2004 13:56:34 -0600
> To: <users@httpd.apache.org>
> Subject: RE: [users@httpd] Url re-direction
> 
> First try with 
> 
> Redirect    /index.htm     http://www.myurl.com/jsp/test/index.jsp
> Redirect    /index.htm     http://myurl.com/jsp/test/index.jsp
> 
> 
> This should help you to see that Redirect works.
> 
> Then try
> 
> Redirect /jsp/test   http://www.myurl.com/jsp/test/index.jsp
> 
> 
> -----Original Message-----
> From: Daniel Teklu [mailto:DTeklu@amlaw.com]
> Sent: Friday, December 03, 2004 1:40 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Url re-direction
> 
> 
> I am trying to redirect
> 
> 1.http://www.myurl.com/jsp/test/
> to:
> http://www.myurl.com/jsp/test/index.jsp
> 
> 2. Everything under
> http://www.myurl.com/directory/*
> 
> To 
> 
> http://www.myurl.com/jsp/test/index.jsp
> 
> For the first one I did:
> 
> Redirect /jsp/test http://www.myurl.com/jsp/test/index.jsp  ..this did
> not
> work.
> 
> For the second I did the same
> 
> Redirect /directory http://www.myurl.com/jsp/test/index.jsp...this does
> not
> work either.
> 
> Any idea on how I should do this? I am using Apache 1.3.12 on Solaris 8.
> 
> Thanks
> -Daniel
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> ---------------------------------------------------------------------
> 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
> 


---------------------------------------------------------------------
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


Mime
View raw message