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.

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   2353 Views

Avatar
dayer

Community Member, 11 Posts

1 August 2010 at 6:26am

Hi,

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?
Thanks!

Avatar
dayer

Community Member, 11 Posts

1 August 2010 at 7:27am

Hi again,

I have tried to change in .htaccess

RewriteCond %{REQUEST_URI} ^(.*)$

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

and now it appears goes ok.

Avatar
dayer

Community Member, 11 Posts

8 August 2010 at 5:53am

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