Missing slash on URL?

Jeffrey 'jf' Lim jfs.world at gmail.com
Thu May 29 09:44:32 MSD 2008


On Thu, May 29, 2008 at 12:40 PM, Floren Munteanu <nginx at yqed.com> wrote:

>
>
> > -----Original Message-----
> > From: Igor Sysoev [mailto:is-G97k7egY2jIKNkxEY4oc4w at public.gmane.org]
> >
> > > /var/www/html/forum is a directory, not a file.
> > > /var/www/html/forum/index.php exist and is readable, can be accessed
> > through
> > > a browser.
> >
> > Then /forum will be handled in location '/' as static file or dir,
> > and it will be redirected to /forum/.
> >
>
> So how would I make the server add the / at the end of the URL?
> If the URL is http://domain.com/forum, I would like it to become
> http://domain.com/forum/.
>

nginx does this already. You dont need to do anything special.

-jf


--
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not
help."
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080529/da36da54/attachment.html>


More information about the nginx mailing list