httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <siba.d...@wipro.com>
Subject RE: [users@httpd] Redirect URL
Date Mon, 04 Oct 2004 10:05:42 GMT

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


Mime
View raw message