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, biapar, Willr, Ingo, swaiba, simon_w

SSL Redirection on certain page types


3 Posts   1290 Views


1 August 2010 at 6:26am Community Member, 11 Posts


I have seen the [url=]documentation about SSL[/url] 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?


1 August 2010 at 7:27am Community Member, 11 Posts

Hi again,

I have tried to change in .htaccess

RewriteCond %{REQUEST_URI} ^(.*)$


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

and now it appears goes ok.


8 August 2010 at 5:53am Community Member, 11 Posts

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