Welcome! Log In Create A New Profile

Advanced

Re: Error pages/Web Authentication

HTF
June 09, 2011 05:43PM
Maxim Dounin Wrote:
-------------------------------------------------------
> Without any switches htpasswd used to produce
> traditional DES crypt
> passwords on unix, they are indeed limited to 8
> chars (see [1]). In
> recent versions default was changed to produce
> $apr1$ instead, but
> this wasn't long ago.
>
> [1]
> http://en.wikipedia.org/wiki/Crypt_(Unix)#Traditio
> nal_DES-based_scheme

OK, I tried both switches -m (MD5) and -s (SHA) and I wasn't able to log in. The log file shows "password mismatch". The only method that works is DES (htpasswd without any switch). Do I have to install some additional module or so?

> default_server isn't related to location at all,
> it's listen
> directive option.
>
> Simple config which should work will look like
>
> server {
> listen ...
> server_name ...
> root ...
>
> location / {
> try_files $uri $uri/
> /index.php?q=$request_uri;
> }
>
> location = /index.php {
> fastcgi_pass ...
> }
> }
>
> (and no other locations)
>
> Alternatively you may add try_files to .html /
> .php locations.

I had the default location for php "location ~ \.php$" and when I changed to "location = /index.php" all none existing pages are redirected to Joomla error page - which is great however "index.html" still shows Nginx error page (index.htm shows Joomla error page) - I'm very close. I also noticed that now when I access some directories the web browser is trying to downland files.
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: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready