According to the apache documentation for mod_alias "First, all Redirects are processed before Aliases are processed, and therefore a request that matches a Redirect or RedirectMatch will never have Aliases applied." Without the trailing slash, the web server applies the slash and sends a redirect to the client. My aliases are ignored. This would not be a problem except that the legacy client software will not follow redirects. He will simply say he could not connect to the web service. Perhaps one could consider this to be broken, but we have a need to make this legacy client connect to our web service. Additionally, this particular web service client has never previously been used with an apache web server, it was built to work with some java based web server on Win2K3. -----Original Message----- From: Nick Kew [mailto:nick@xxxxxxxxxxxx] Sent: Monday, April 11, 2011 3:54 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: internal redirect On Mon, 11 Apr 2011 14:26:49 -0700 <Anthony.Brown@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx