Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » HTTPS mode and IIS

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2 3
Go to End
Author Topic: 134880 Views
  • nomen
    Avatar
    Community Member
    52 Posts

    Re: HTTPS mode and IIS Link to this post

    Hi all:

    I use the manual and it wotks fine, but i need change httpd.ini to:

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !(.gif)|(.jpg)|(.png)|(.css)|(.js)|(.php)$
    RewriteCond URL (?!.?).
    RewriteRule (.*) /sapphire/main.php?url=$1


    because, with the your configuration SS can´t read the css files and image paths.

    My problem now is that i can´t access to administration, it says:


    FATAL ERROR: None of these templates can be found: Security_dologin.ss, Security.ss
    At line 68 in C:\Inetpub\wwwroot\sapphire\core\SSViewer.php

    user_error(None of these templates can be found: Security_dologin.ss, Security.ss,512)
    line 68 of SSViewer.php

    SSViewer->__construct(Array)
    line 278 of Controller.php

    Controller->getViewer(dologin)
    line 245 of Controller.php

    Controller->defaultAction(dologin,Array)
    line 216 of Controller.php
    ...


    Anybody has the same problem?

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: HTTPS mode and IIS Link to this post

    Are you using version 2.2.1 or 2.2.2, nomen? This looks a little bit like a problem that was fixed in 2.2.2...

  • nomen
    Avatar
    Community Member
    52 Posts

    Re: HTTPS mode and IIS Link to this post

    Hi Sam:

    Thanks you for trying to help me.
    I´m using 2.2.1.
    Where is this error fixed? Can i get a patch?

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: HTTPS mode and IIS Link to this post

    Hi Nomen,

    This is the change in question:
    http://open.silverstripe.com/changeset/51462/modules/sapphire/branches/2.2.2/core/Object.php

    Have you considered upgrading to 2.2.2?

  • nomen
    Avatar
    Community Member
    52 Posts

    Re: HTTPS mode and IIS Link to this post

    Hi Sam:

    I have make the change you say. This does not work

    I have try to upgrade two SS sites from 2.2.1 to 2.2.2 with no success. See my post. In the other SS the problems are similar. Is very frustrating for me.

  • WStubbs
    Avatar
    Community Member
    1 Post

    Re: HTTPS mode and IIS Link to this post

    Hi,

    Does anyone have detailed instructions for installing SilverStripe on Windows 2003 with IIS 6? I've been trying to get it to install following the instructions in this doc http://acogitosis.krop.pl/2008-07-03-en-installing-silverstripe-on-iis-server/ and with the other changes people have suggested.

    I think it's the ISAPI Rewrite that's causing my problems, I've tried Helicon's Lite versions 2 & 3.

    I get to the following message in the install process but it never goes any further, I either get the 404 error, a blank page which says done, or I once got a page which said that the following page wasn't available.

    "mod_rewrite doesn't appear to be working. Make sure:
    mod_rewrite is enabled in your httpd.conf
    AllowOverride is enabled for the current path.
    Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway."

    Any help would be gratefully received.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: HTTPS mode and IIS Link to this post

    You'll note that the instructions suggest that the installer errors are to be ignored.

    Ultimately, all the installer is doing is adding a few lines to mysite/_config.php which you can do manually (e.g. setting database username, password), so you could try that and get the rewrite functioning.

    (You could set up SilverStripe on another machine and copy the _config.php file from that)

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: HTTPS mode and IIS Link to this post

    Just an update - we have set up a test machine with Windows Server 2008 and IIS v7 and SilverStripe v2.3 appears to work well with this. Testing most welcome!

    Instructions, etc; http://groups.google.com/group/silverstripe-dev/browse_thread/thread/f6e3169606c90920

    134880 Views
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.