Posted by clivesj on August 16, 2007 at 2:22pm
3 followers
Jump to:
| Project: | Secure Site |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
After enabling the module, the behaviour is as follows:
After enabling the module, I log-out to test the log-in proces.
The browser log-in form is presented as soon as I logout, but the user is not logged-in.
My settings:
Drupal 5.2
IIS 6.0
PHP 4.4.7 as ISAPI
Module settings:
HTTP with workaround
guest/guest loginname/password
Login: www.mysite.com/?q=user
All users have rights to access the site
Bypass filter is set to bybass node:front
User no 1 (admin) cannot access the site, so I have to delete the module on the server to be able to login/troubleshoot.
Anyone can help?
Thanx
Comments
#1
I think your Bypass filter is incorrect, setting it to
node:frontshould do nothing. You need to put one drupal path per a line, and for your front page use<front>.But your say you are using IIS 6.0, I have never been able to test HTTP-AUTH with IIS. Try using the HTML login form. If the html login form works then you know securesites HTTP-AUTH does not work on IIS.
Also what browser are you using?
#2
Thank you, Nax,
Indeed, The setting i used for the frontpage is .
Im using IE7 and FF2. The module fails on both. Teh HTML module is presented, but tells me that the user is unknown, so apperently it is not reaching the drupals-user database.
A pitty is the module is not working with IIS. I defenitly would appriciate the use of the module.
Regards,
#3
ah, preview before submit.....
Indeed, The setting i used for the frontpage is
<front>The HTML form is presented, but
#4
To my knowledge securesite should work on IIS, I don’t see any reason it should not.
I can’t really help you when it comes to IE7 and IIS, because I don’t have access to them for testing.
But the HTML login form should work in FF2.
What can you do to change your server environment?
- Is their no way you can run the site on an Apache setup. Apache can be installed and run on Linux, Mac and Windows.
- Could you upgrade your PHP version? The lowest PHP version I have been able to test securesite on is 4.3.7, but that was with Apache on Linux.
I see you using the dev version; maybe try the stable version 5.x-1.0. If the stable version works then the dev version is broken and would need to be fixed.
Sorry I can’t be any more helpful.
#5
I also tried the stable version.
I checked my php.ini files, and it seems that the values for Server"aut_passw", "aut_type", "aut_user" are not set. Is this something I have to look into??
Regards,
Clivesj
btw while reading securesite.module i saw that in line 413 the database tables are not enclosed in parantisys {}.
#6
Yes this may be something to look into. The only thing to be aware of is that securesite is expecting “PHP_AUTH_USER” and “PHP_AUTH_PW”
But that does not account for the HTML login form not working.
#7
http://www.php.net/manual/en/features.http-auth.php#40445 talks about some settings necessary to get HTTP Auth working with IIS.
#8
This is what I found on that page.
+ Comments:
http://www.php.net/manual/en/features.http-auth.php#42372
http://www.php.net/manual/en/features.http-auth.php#40445
http://www.php.net/manual/en/features.http-auth.php#18618
#9
I was referring to the comment from rob at theblip dot com on 03-Mar-2004 08:47:
#10
Added documentation about the cgi.rfc2616_headers setting. Let's see if that plus the fix for #28408: Authentication on PHP/CGI installations are enough to take care of this issue.
#11
#12
Automatically closed -- issue fixed for two weeks with no activity.