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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SSL Redirection on certain page types

Go to End

3 Posts   1678 Views


Community Member, 11 Posts

1 August 2010 at 6:26am


I have seen the documentation about SSL for certain page types, but when I try to access to a MySecurePage page type, https://localhost/ss/new-mysecurepage/ for example, I obtain:

Not Found
The requested URL /ss/new-mysecurepage/ was not found on this server.
Apache/2.2.16 (Debian) Server at localhost Port 443

but if I set SSL for all pages then all goes very well.

I have discovered that if I access to https://localhost/ss/index.php and not https://localhost/ss then I can access to certain SSL pages due to this link to https://localhost/ss/index.php/new-mysecurepage/.

Is normal this problem?


Community Member, 11 Posts

1 August 2010 at 7:27am

Hi again,

I have tried to change in .htaccess

RewriteCond %{REQUEST_URI} ^(.*)$

RewriteCond %{REQUEST_URI} index.php^(.*)$

and now it appears goes ok.


Community Member, 11 Posts

8 August 2010 at 5:53am

Another solution is change in own VirtualHost AllowOverride None for AllowOverride All