securesite does not appear to be working with my install of drupal 5.1 on a XAMPP server.

XAMPP runs php as a module so this is not the issue.

I have managed to get the module to log in successfully by modifying my httpd.conf so that Options for are set to Authconfig. however, the module only works when clean-urls is off, and does not seem to log out properly.

i have tried following patch instructions to no avail, and have also tried modifying .htaccess with a rewrite rule.

could someone give me some clear guidance on how to get this module working. i know some people have it working you see. thanks.

CommentFileSizeAuthor
#1 securesite-194489.patch1.27 KBNaX

Comments

NaX’s picture

Version: 5.x-1.0 » 5.x-1.x-dev
Category: support » bug
StatusFileSize
new1.27 KB

I have just tested the 5.x-1 and 5.x-dev and it looks like something is not working correctly. The guest user function is definitely not working.

I have worked up a patch for you to try, these changes fixed everything for me in my tests. The patch is against 5.x-dev.
Give it a try and see it that makes any difference.

Also review the readme file in 5.x-dev. You need to give the correct roles the access site permission.

I have tested it with and without clean-urls and it worked fine form.

When testing first try the html login form the others are more browser dependant and the html login form should work with all browsers.

tsfftf’s picture

the html login works fine... but the http-auth is the whole point of the module!

its stopped working at all with or without clean-urls - its difficult isolate the problem now as i've changed quite a bit in both httpd.conf and .htaccess and changed stuff back etc. i tried the module on a wamp setup and it was fine.

i haven't added anymore roles to the original two drupal comes with; both have "site access".

i'll try this patch: am i right in thinking the unix command is > patch /path/to/original/file /path/to/patch/file?

thanks for the help... two more questions...

is this module compatible with securepages? i had that module setup see, but i disabled it to check this wasn't the issue and securesite httpauth still didn't work.

when will digest-authentication be added to securesite?

NaX’s picture

For help patching, see this page in the handbooks. http://drupal.org/patch/apply

When it comes to the securepages module I have never tested them together, I don’t think there should be a problem, but like I said I have never test this before.

As far as I know digest-authentication is currently not being work on for securesite.

tsfftf’s picture

ok thanks for the link///

was just wondering if that was part of my problem... they didn't seem to work on a fresh install of drupal on WAMP... maybe this was due to the base url or something.

in post #30 naquah says:

"I think I will have the logout issue fixed, Digest authentication implemented and a 5.0 version ready before the end of this year."

was just wondering if you had any inside information!

tsfftf’s picture

Status: Active » Fixed

thanks for the patch.

initially i applied it under 5.1 and to my disappointment it didn't work. then i reread your post and realised that it was a patch against the dev. i applied it against the dev version and it was working successfully.

one minor problem (although i haven't isolated this):

the cookie is received by the browser but then i get a page not found error. if i click any of the links it then loads up fine. i think this may be something to do with securepages or the base url though. i'll keep you posted

NaX’s picture

Component: Documentation » Code
Status: Fixed » Reviewed & tested by the community
NaX’s picture

Status: Reviewed & tested by the community » Fixed

Committed to dev.

@tsfftf
If you continue to have any more problems please open a new issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.