Re: Redirecting URL to a location

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

 



On Wed, Apr 28, 2010 at 12:06 AM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:
> On the second thought this should work (tested):
>
> <Location /notes>
>    DirectorySlash On
> </Location>

This actually doesn't work because of a very key piece of information
that I had omitted -- the proxied web server won't accept
http://127.0.0.1:5001//, only http://127.0.0.1:5001/. So although
/notes will work with DirectorySlash On, /notes/ will take me to the
// URL, when I would like both to take me to the / URL.

>
> Any way, shouldn't the trailing slash automatically be added by mod_dir
> starting from apache2.0.5?

I'm using apache2.2.14-5ubuntu8
-- 
Yang Zhang
http://yz.mit.edu/

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