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


Reply

3 Posts   1290 Views

Avatar
dayer

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

Hi,

I have seen the [url=http://doc.silverstripe.org/ssl]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?
Thanks!

Avatar
dayer

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

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

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

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