Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » SSL Redirection on certain page types

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

Page: 1
Go to End
Author Topic: 1268 Views
  • dayer
    Avatar
    Community Member
    11 Posts

    SSL Redirection on certain page types Link to this post

    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!

  • dayer
    Avatar
    Community Member
    11 Posts

    Re: SSL Redirection on certain page types Link to this post

    Hi again,

    I have tried to change in .htaccess

    RewriteCond %{REQUEST_URI} ^(.*)$


    for

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


    and now it appears goes ok.

  • dayer
    Avatar
    Community Member
    11 Posts

    Re: SSL Redirection on certain page types Link to this post

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

    1268 Views
Page: 1
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.