Re: internal redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux