Jump to content

Recommended Posts

Hi, I am new to PS.

Please help me out.

 

I'm having troubles when I turn 'SSL' and 'Friendly URL' ON.

All pages rewritten operating in http is working fine but when I click some FO links which use https (eg My Account & authorization)

it keeps on redirecting over and over again.

 

It seems like my rewrite is not working (by the looks of the error page's URL)

 

<There were too many redirects: (net :: ERR_TOO_MANY_REDIRECTS)error 310>

 

I confirmed the conditions these errors were occurring in.

=My environment=

ver:PS 1.5.3

Enable SSL :YES

Friendly URL :YES

Automatically redirect to Canonical URL :YES

Disable apache multiviews :NO

Languages :EN,JA

 

=Setting combinations=

SSL NO :Friendly URL NO =in order

SSL YES :Friendly URL NO =FO&BO, HTTP&HTTPS both in order

SSL NO :Friendly URL YES =FO&BO, Rewite both in order

SSL YES :Friendly URL YES =FO:HTTPS runs(eg:Auth&Order etc) issue in some pages, BO:in order

※under the conditions .htaccess rewrite has been confirmed

 

I know there are similar topics in other forums but it seems the problem are yet to be solved.

After confirming the errors, I changed ver(PS 1.5.4) and re-fresh installed but unfortunately ended up with the same result. :huh:

 

I can't figure out whether the root cause lies in the setting environment on the server side or whether the version of Presta shop I am using is bugged or whether I need to work on .htaccess.

 

Can anyone give me ideas and help me out?? :(

Thank you!

Link to comment
Share on other sites

Hi, thank you for your reply! :D

 

I tried your suggestion but ended up with the same result as last time.

 

FO:HTTPS runs(eg:Auth&Order etc) issue in some pages,

BO:in order

 

 

=My environment this time=

ver:PS 1.5.3

Theme:default

Enable SSL :YES

Friendly URL :YES

Automatically redirect to Canonical URL :NO

Disable apache multiviews :NO

Languages :EN,JA

SSL YES :Friendly URL YES =FO:HTTPS runs(eg:Auth&Order etc) issue in some pages, BO:in order

※under the conditions .htaccess rewrite has been confirmed

 

 

 

I really want to be able to run it using SSL YES+Friendly URL YES

so I strongly wish to be able to solve the issue. :unsure:

 

 

I tried operating in dev-mode as well but could not gain any useful information for fix due to 310 redirect error.

defines.inc.php

define('_PS_MODE_DEV_', true);

 

 

The following are what I consider may be the cause.

1. .htaccess

2. server side

3. bug from PS(including the codes)

4. others

 

Does it operate normally if PS is run under the same environment as myself?

If all is in order, I can narrow down the 4 options above.

 

I believe information to my issue would be useful to all people experiencing the same or similar problem.

Please advise.

Edited by p-flash (see edit history)
Link to comment
Share on other sites

Thanks for your advise Bill!

I tried 1.5.4.1 but ended up with the same error...

 

One thing, in the FAQs for the rental server I am using,I found the following information:

=======

<Web-server behavior>

- Regarding environment variables

 

When accessing via HTTPS from your computer accessing as HTTP, it will be accessed from the server itself

Therefore, it is not possible to access with only SSL (HTTP access restriction) or rewrite URLs using mod_rewrite.

=======

Would you say there is a possibility that the settings on the

server side may be an influence?

Edited by p-flash (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...