httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] internal redirect
Date Mon, 11 Apr 2011 22:54:13 GMT
On Mon, 11 Apr 2011 14:26:49 -0700
<Anthony.Brown@gdc4s.com> wrote:

> I have a web server which provides web services at the url
> http://someplace:port/SERVICES/

If that's apache, you can provide services at your choice of URL,
with or without the slash.

> There is client software which [...]

Are you sure?  Sounds broken.

> I have tried Alias, but the Redirects are processed first.

What redirects?

If you mean mod_dir appending a trailing slash, disable it.
If something else, find out what it is and stop it.

> I have used the rewrite engine

An excellent instrument with which to shoot yourself in the foot.

> How can I get apache to do an internal redirect, and NOT send an
> external redirect.  

Alias.

But far better to have matching expectations at the client and server,
by configuring your service at /SERVICES in the first place:
<Location /SERVICES>
	SetHandler my-web-service
</Location>

-- 
Nick Kew

Available for work, contract or permanent.
http://www.webthing.com/~nick/cv.html

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