Welcome! Log In Create A New Profile

Advanced

Error pages/Web Authentication

HTF
June 09, 2011 10:17AM
Hello,

I would like to ask for some help.

1. Does Nginx support SHA encryption for the basic web authentication? When I use -s switch with htpasswd command I can't log in. It works with MD5 however it looks like MD5 has some character length limitation as only the first eight characters are significant.

2. I have Joomla install running on Nginx. I enabled SEO URLs with rewrite rule:
- try_files $uri $uri/ /index.php?q=$request_uri;
I'm facing the following issue:
Joomla has build in error pages. I've tested and I appended some random characters within the URL:
a) http://mywebsite.com/random - and it shows Joomla error page which is fine - same for http://mywebsite.com/index.htm however when I put http://mywebsite.com/index.html it shows nginx 404 Not Found error page
b) When I type any random characters and append a file with php extension at the end (http://mywebsite.com/random/index.php) there is a blank page.

Is it possible to set this up so Nginx will show Joomla error page if someone try to access not existing directory/file on the web server.
Please note that I don't want to set custom error pages in Nginx config file for now as this feature works fine with Apache - I can access any not existing file/directory on Apache web server and it always shows Joomla error page.

Regards
Subject Author Posted

Error pages/Web Authentication

HTF June 09, 2011 10:17AM

Re: Error pages/Web Authentication

Maxim Dounin June 09, 2011 12:18PM

Re: Error pages/Web Authentication

HTF June 09, 2011 01:01PM

Re: Error pages/Web Authentication

Maxim Dounin June 09, 2011 02:00PM

Re: Error pages/Web Authentication

HTF June 09, 2011 05:43PM

Re: Error pages/Web Authentication

António P. P. Almeida June 10, 2011 01:32PM

Re: Error pages/Web Authentication

HTF June 10, 2011 01:48PM

Re: Error pages/Web Authentication

HTF June 10, 2011 01:59PM

Re: Error pages/Web Authentication

António P. P. Almeida June 10, 2011 02:00PM

Re: Error pages/Web Authentication

tsaavik July 07, 2011 11:14AM

Re: Error pages/Web Authentication

Maxim Dounin July 07, 2011 01:24PM

Re: Error pages/Web Authentication

HTF June 10, 2011 02:13PM

Re: Error pages/Web Authentication

HTF June 11, 2011 04:55AM

Re: Error pages/Web Authentication

Maxim Dounin June 11, 2011 06:30AM

Re: Error pages/Web Authentication

HTF June 14, 2011 11:21PM

Re: Error pages/Web Authentication

Maxim Dounin June 15, 2011 04:06AM

Re: Error pages/Web Authentication

HTF June 15, 2011 08:34AM

Re: Error pages/Web Authentication

Maxim Dounin June 15, 2011 03:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready