Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

HTTPS mode and IIS


Go to End


24 Posts   137158 Views

Avatar
nomen

Community Member, 52 Posts

11 July 2008 at 4:14am

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?

Avatar
Sam

Administrator, 690 Posts

14 July 2008 at 3:48pm

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...

Avatar
nomen

Community Member, 52 Posts

14 July 2008 at 8:20pm

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?

Avatar
Sam

Administrator, 690 Posts

18 July 2008 at 2:58pm

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?

Avatar
nomen

Community Member, 52 Posts

21 July 2008 at 9:40pm

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.

Avatar
WStubbs

Community Member, 1 Post

15 October 2008 at 5:11am

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.

Avatar
Sigurd

Forum Moderator, 628 Posts

15 October 2008 at 5:32am

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)

Avatar
Sigurd

Forum Moderator, 628 Posts

27 November 2008 at 2:52pm

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

Go to Top