httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Zhang <yanghates...@gmail.com>
Subject Re: [users@httpd] Redirecting URL to a location
Date Sat, 08 May 2010 18:39:00 GMT
On Wed, Apr 28, 2010 at 12:06 AM, Igor Cicimov <icicimov@gmail.com> 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@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