Hello,
I have phpwiki set up on my local machine (Windows, PHP 4.3.6) and want users to be able to read everything, but require authentication for writing/editing. It works, but unfortunately the login information does not get stored, i.e. upon every single page click (e.g. preview, save, etc.) I have to re-enter the password.
Somehow I can't find the right search terms for this problem. I guess that the session information somehow doesn't get stored properly.
I'm - for these first trials - using the "file" storage option.
thank you for any help,
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Correction: there should be default .htaccess file. I modified this file to require authentification for specified user. Added .htpasswd containg password for this user.
It works after restoring original .htaccess and removing .htpasswd.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem and fixed it. My situation was:
PhpWiki was running in virtual host. Access to this virtual host was protected using .htaccess and .htpasswd file due to disabling access until the site is fully configurad. After I signed to phpWiki, and then clicked on any link, I was logged out. After removing .htaccess and .htpasswd files everything seems to be OK for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have phpwiki set up on my local machine (Windows, PHP 4.3.6) and want users to be able to read everything, but require authentication for writing/editing. It works, but unfortunately the login information does not get stored, i.e. upon every single page click (e.g. preview, save, etc.) I have to re-enter the password.
Somehow I can't find the right search terms for this problem. I guess that the session information somehow doesn't get stored properly.
I'm - for these first trials - using the "file" storage option.
thank you for any help,
Mike
Correction: there should be default .htaccess file. I modified this file to require authentification for specified user. Added .htpasswd containg password for this user.
It works after restoring original .htaccess and removing .htpasswd.
I had the same problem and fixed it. My situation was:
PhpWiki was running in virtual host. Access to this virtual host was protected using .htaccess and .htpasswd file due to disabling access until the site is fully configurad. After I signed to phpWiki, and then clicked on any link, I was logged out. After removing .htaccess and .htpasswd files everything seems to be OK for me.