Multiviews in Nginx

icaro81 nginx-forum at nginx.us
Wed Dec 8 17:24:15 MSK 2010


Hi,

It's possible in Nginx to make "Multiviews"? (like Apache) I didn't
found information about this for Nginx

For example: 
www.domain.com/test1/            ->    www.domain.com/test1.php
www.domain.com/test1/test2/    ->    www.domain.com/test1/test2.php
www.domain.com/every/            ->    www.domain.com/every.php

But if www.domain.com/every/ exists, goes to www.domain.com/every/ of
course. All directories who doesn't exists, tries to .php and if not,
404.

Thank you

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,156778,156778#msg-156778




More information about the nginx mailing list