UBB with .html links and nginx_apache

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,397
Location
www.poralix.com
Hello,

It was noticed that some PHP application including UBB (http://www.ubbcentral.com/forums/) in certain cases generate URLs ending with /.html, for example:

domain.com/forums/ubbthreads.php/ubb/viewmessage/message/55985/.html#post287635

And when using nginx_apache we get "forbidden" error because of this:

Code:
location ~ /(\.ht|\.user\.ini)

Will you please change it to

Code:
location ~ /(\.hta|\.htp|\.user\.ini)
?

Thank you.
 
Back
Top