You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by si...@wipro.com on 2004/10/04 12:05:42 UTC

RE: [users@httpd] Redirect URL

Hi,

I am having a directory setting which redirects all the request to the
corresponding URL mentioned in the REDIRECT directive.

E.g.

Redirect "/basic/" "http://example.com/proxy/"

In this case if I access /basic the final URL that I obtain is
http://example.com/proxy/.

I want to maintain all the URL's that are Redirected.

Although with this setting in httpd.conf the functionality works I am
not able to get the Target URL (http://example.com/proxy/) from the
request record. Although my code returns HTTP_OK it seems in http_config
the return type get changed to 302 and hence the redirection happens.

Can any one tell me how do I obtain the target URL.

Any help would be highly appreciated.

Thanks in advance.

shiva



Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

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