Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-04 14:21:33

Dom1
New Member
Registered: 2005-08-10
Posts: 2

Password-protected pages do not work

Using txp:password tag, Textpattern keeps on prompting the user for the login and password, even provided with the right ones.
My diagnostics show the following. Thanks in advance for your answers and suggestions.

Version de Textpattern: 4.0.3 (r1188)
last_update: 2006-01-05 22:31:34/2006-01-23 16:07:50
Document racine: /home/staminic/www
$path_to_site: /home/staminic/www
Chemin d’accès à Textpattern: /home/staminic/www/textpattern
Format des URL: title_only
Répertoire temporaire: /home/staminic/www/textpattern/tmp
URL du site: www.staminic.com
Version de PHP: 4.4.2
Register globals PHP: 1
server_time: 2006-02-04 15:19:50
MySQL: 3.23.58-log
Locale: fr_FR
Serveur: Apache
php_sapi_mode: cgi
os_version: Linux 2.4.31-mutu-hidden

contenu du fichier .htaccess:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) /index.php
</IfModule>

#php_value register_globals 0
————————————

(Edit: assumed resolved and marked as such. :) -Mary)

Offline

#2 2006-02-09 18:39:35

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: Password-protected pages do not work

It’s well known that txp:password doesn’t work ( doesn’t work as you would expect) you should try ign_password it works wonders!

Last edited by 1beb (2006-02-09 18:39:54)

Offline

#3 2006-02-10 23:59:24

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: Password-protected pages do not work

oh, here’s a link to the forum topic on ign_password

Offline

#4 2006-02-11 13:59:23

Dom1
New Member
Registered: 2005-08-10
Posts: 2

Re: Password-protected pages do not work

Thank you for your answer. I’ll give it a try.
I read on several ather threads that the problem comes from http-auth configuration. Some recommend adding “AddType application/x-httpd-php .php” on the .htaccess file : it didn’t work for me…

Offline

#5 2006-02-11 15:00:57

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Password-protected pages do not work

It’s well known that txp:password doesn’t work

No, actually the thing is that it doesn’t work on all servers, because it depends on how PHP is configured/installed/running, because HTTP-Auth is used. If the necessary HTTP-Headers are never passed to PHP, it’s not possible for Textpattern to do anything about it.

The plugin solves this by offering you password-protection with using something other than HTTP-Auth. At some point in the future Textattern wil probabl improve in this area, though it would need more than only changing Authentication method for it to become truly useful (also 4.0.x is intended to be stable – so we try to avoid adding new code where possible).

Offline

#6 2006-02-11 20:55:56

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: Password-protected pages do not work

Thanks for the clarification Sencer, I honestly thought it was just borked.

Offline

Board footer

Powered by FluxBB