On Mon, July 31, 2006 2:37, Paul Lesniewski said: > On 7/30/06, Ernst-Magne Vindal <ernst@xxxxxxxxxx> wrote: >> On Sat, July 29, 2006 20:16, Paul Lesniewski said: >> > On 7/29/06, Ernst-Magne Vindal <ernst@xxxxxxxxxx> wrote: >> >> Hi, I have problem with secure_login plugin to get it to work on Debian, >> kernel >> >> 2.6. - kernel-image-2.6.8-2-386 2.6.8-16sarge1 >> >> Config is : >> >> php --version >> >> PHP 4.3.10-16 (cli) (built: Aug 24 2005 20:25:01) >> >> Copyright (c) 1997-2004 The PHP Group >> >> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies apache2 -version >> >> Server version: Apache/2.0.54 >> >> Server built: Sep 5 2005 11:15:09 >> >> squirrelmail 1.4.4-8 >> >> Relevant conf files can be found here: http://vindal.com/public/sqconf/ I >> use >> only one certificate for apache and the plugin is configured to do this. >> >> this is working until I logout of sq-mail, then click on the link "Log inn >> igjen? Klikk her" ("Log back in"). >> >> Before I implemented ssl, the link was "http://webmail.vindal.com" which >> was >> redirected to http://webmail.vindal.com/src/login.php. >> >> When typing the same URL now, I get : >> >> https://vindal.com/webmail/src/webmail.php. So far so good, the domain is >> added >> >> to the url as in the config.php from secure_login plugin. >> >> Then when logging out I get the "extra" vindal.com addedd to the url, like: >> https://vindal.com/vindal.com/webmail/src/login.php. >> >> Seams like the redirection in config.php is running once when logging on >> and >> then again when logging off. >> > >> > You mis-read the description for $allVirtualDomainsUnderOneSSLHost I think. >> Clear out that setting unless you have a reason to use it. >> > >> Nop, don't think so. And I think so.... >> Because: >> if I remove that setting, I get the correct url but no page is diplayed, just the 404 error. > > 404 error has nothing to do with whether or not you host your SSL off one URI. In fact, you say that the URI is correct, so the 404 > probably means your Apache/SSL config is wrong. Why do you think that this means the plugin is buggy? The config file is telling you that setting is ONLY for use when you host SSL for virtual domains "on top" of a single domain, which you have made NO indication of whatsoever. First thing you need to do before using this plugin is make sure you can take your regular SM URI and replace the "http" with "https" and put that manually in your address bar. I wouldn't be surprised if you are unable to do so. > > Sorry for my poor english and explenation, but I found a solution. >> I think the problem is in redirection and dns alias. >> I have a cname record for the webmail. >> The usual url is http://webmail.vindal.com. If I use http://vindal.com/webmail >> ordinary http redirection to ssl is working fine. >> So good people, what am I missing here? >> > >> >> I saw some config do make php script run only once but is unable to find >> back to >> >> it, can someone please help? > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > I don't know where it's misconfigured, but I'm unable to redirect a virtual host to ssl and still keeping the url. I have virtual host "webmail". From internal net I only type "webmail" in the browser, external it's webmail.vindal.com. If I redirect using .htaccess or config the virtual host, I redirect to vindal.com/webmail, then I get the https://vindal.com/webmail. Not really a problem, I just wanted to keep the url as webmail.vindal.com with ssl or not... Then I don't need the secure_login plugin. And I dont think I said it was buggy, just that I had problem with it.... anyhow, thanks -- /ernst-magne If you can't explain it simply, you don't understand it well enough. (Albert Einstein) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users