Question: |
Good deeprock Your help in moving the content of the site.Please remove all information from the site, including all backups (if any).Please leave all current settings of php and apache !!!Please leave or move our SSL certificate on the new site !!!Please unpack the archive with the content of the site (the site was Packed all to other hosting, so that there is a lot of superfluous except \"public_html\") and reattach the MSQL database from the archive (create user, etc.) Please inform us of any changes to the settings and access rights to the ISP panel, ftp account, database MSQL (if they will)Archives the content and the database are located in the root directory var/www/omeran/databackup-onlybel.by-10-4-2016.tar.gz - packaged copy of the website script CMS onlybelb_omeran.sql.gz archive database MSQLЗаранее Thank you. |
Answer: |
Hello we understand you correctly - you need to delete the files and database of the site and westvaal the site from a backup /var/www/omeran/data backup-onlybel.by-10-4-2016.tar.gz - packaged copy of the website with a CMS script onlybelb_omeran.sql.gz archive with MSQL database it is not clear just what kind of website is it |
Question: |
Yes, You read that right - \"...need to delete the files and database of the site and westvaal the website from backup...\"Site - onlybel.GII once again I want to draw Your attention on - \"Please leave all the current settings of php and apache !!!Please leave or move our SSL certificate on the new site !!!\" |
Question: |
And very Important - Please remove all the information from the site, including all backups (if any), etc., etc., so there`s a lot of junk |
Answer: |
what the new website? what does the new site if norepro to delete the site from the files and to delete the database? |
Question: |
Sorry for the possible introduction of misleading You :(All Absolutely true -\"....norepro to delete the site from the files and delete database...\" |
Answer: |
please wait. |
Question: |
Sorry for the molestation, but when can we expect the result? |
Question: |
Thank you |
Answer: |
the files and database from your backup vosstanovleny |
Question: |
Please leave all current settings of php and apache !!!Please leave or move our SSL certificate on the new site !!!Please join MSQL database from the archive (create user, etc.) |
Answer: |
Yes, what`s the apache configuration and certificate? what otnoshenii they mimeout files of a site do not have any. You have the website directed to the onlybel.by change this in site settings |
Question: |
In website settings, all have been ismartono, after transferring the website we have is not working SSL certificate, although in the settings of the CMS and the ISP panel, everything seems enabled and working.This issue has been raised previously http://host-express.pro/support.php?do=wievtiket&page=2&id=103160#lastmsg and was successfully resolved ... although, judging by the ticket, and he decided somehow, but without our participation...a Huge request - Help to understand please |
Answer: |
the website http://onlybel.ru/ now EN works |
Question: |
Included |
Question: |
The website http://onlybel.ru/ now rabotaotmarini please |
Answer: |
Now turn on the site redirect to https |
Question: |
Found on Ineta one of the variants of our problem :script in file config/config.inc.php at the top we need to add the following code:if (isset($_SERVER[`HTTP_X_FORWARDED_PROTO`]) AND $_SERVER[`HTTP_X_FORWARDED_PROTO`] == `https`){ $_SERVER[`HTTPS`] = `on`; }$_SERVER[`HTTP_HOST`]=str_replace(`:443`,\",$_SERVER[`HTTP_HOST`]);From nginx to add to the desired location:proxy_set_header Host $Host:$server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;in Addition to enabling SSL in the admin, you can at will .htaccess file add:RewriteEngine OnRewriteCond %{SERVER_PORT} !^443$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
Question: |
On the website https... |
Answer: |
You have not included. You prezhdnemu periareola to http. The site you were transferred to the http or https was? |
Question: |
The website which we were transferred was on httpВ admin panel https vkruchennomu as through the admin panel - how to check redirect to https, but unfortunately I do not know how (knowledge not enough).... :( |
Question: |
\"In your admin panel https inclusive\" meant - the admin panel CMS Prestashop... |
Answer: |
naberat https://onlybel.ru/ and you uvidyat that it redirects You to http://onlybel.ru |
Question: |
\"....naberat https://onlybel.ru/ and you uvidyat that it redirects You to http://onlybel.ru/....\" - I see it. And it is because of this problem, I come to You and asked for help....Again here is an example decision:\"on the part of the script: in the file config/config.inc.php at the top we need to add the following code:if (isset($_SERVER[`HTTP_X_FORWARDED_PROTO`]) AND $_SERVER[`HTTP_X_FORWARDED_PROTO`] == `https`){ $_SERVER[`HTTPS`] = `on`; }$_SERVER[`HTTP_HOST`]=str_replace(`:443`,\",$_SERVER[`HTTP_HOST`]);From nginx to add to the desired location:proxy_set_header Host $Host:$server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;in Addition to enabling SSL in the admin, you can at will .htaccess file add:RewriteEngine OnRewriteCond %{SERVER_PORT} !^443$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\"And if the 1 and 3 point I can still cope with 2, sorry - no way... |
Question: |
and if you try to amend .htaccess get error 500 server |
Answer: |
so you makes a mistake .htaccess the original site as was working on http or https? you have on file .a lot of different htaccess directives, it is clear he has changed. you have the original? |
Question: |
The original site was no httpsОригинального .htaccess I have unfortunately not |
Answer: |
here on this site and doesn`t work over https , he has the option to divert. ornoprostil website |
Question: |
Proposed another solution using admin panel of CMS :\" turn Off the NC, remove htaccess to turn on SSL, insert the CNC.Redirect rules are created by the machine.\"Maybe I should try to do this? |
Answer: |
Yes, try it. only make backup .htaccess |
Question: |
OK |
Answer: |
happened? |
Question: |
Netusa did... but no result... still forwarding to http :((( |
Question: |
When enabled, CNC swears on \"On your server disabled URL rewriting (mod_rewrite) or you cannot validate the configuration of your server. To use the CNC should activate this option.\" |
Answer: |
and the site itself exactly all marked? all link in the database now with https? |
Question: |
Maybe in this case is \"URL rewriting (mod_rewrite)\" |
Answer: |
the mod_rewrite is responsible for preobrazovanie links, you news .htaccess mod_rewrite rules there were lots of them |
Question: |
CNC swears it - \"On your server disabled URL rewriting (mod_rewrite)........\" |
Question: |
The old host , where was carried out the transfer, this message is not (specifically checked)... |
Answer: |
it may not be as dotlucene not maybe otherwise would not have worked forwarding such folders, you do not exist http://onlybel.ru but the page opens and only because of mod_rewrite without mod_rewrite you should have seen 404 error |
Question: |
Sorry but in .still no htaccess redirect on httpsВ any case, thank you for Your participation and assistance |
Answer: |
in .htaccess it is not, we checked. it needs to be in the site settings. proveriat in the settings is possible to oznochaet the domain name with the Protocol. such cms mnojestvom forwarding rules usually ustraivayutsya directly in admin interface |
Question: |
CNC may not be included in the CMS from the server configuration.Unfortunately I can`t check the configuration of Apache....Can`t make changes with nginx ( proxy_set_header Host $Host:$server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;) ... Again just CMS does not see mod_rewrite in the server...Maybe you just have to restart Apache, but I also can`t do...Just so frustrating... |
Question: |
In addition, when you try to disable Apache MultiViews from the CMS server litseyini words, the problem of rewriting the url on the server side... and we`re back to the problem with the mod_rewrite work - and then again in a circle.... |
Answer: |
the question referred to the administrator, wait for amp. |
Answer: |
no problem with mod_rewrite no mod_rewrite would not work no link on the website why would You want to make changes in nginx ? you epste full access to the server you can do on Your server fully administrator |
Answer: |
https://onlybel.ru/info.php the certificate works |
Question: |
You refer to the fact that the problem we have in the engine. Of course we perelapatili a bunch of forums to find solutions to the problem. Our fully identical problem with redirecting (there people are not lazy and have installed several cms - the result is the same). The solution in the last post, but unfortunately we cannot implement all the recommendations, and that`s why I turned to you for help.several times in this ticket, we gave the solution to this problem and asked you to help. we can`t give a clear answer why we have to make changes with nginx, we are VERY keen to check this way of solving the problem!https://www.prestashop.com/forums/topic/330680-%D1%80%D0%B5%D0%B4%D0%B8%D1%80%D0%B5%D0%BA%D1%82-%D1%81-%D0%B0%D0%B4%D1%80%D0%B5%D1%81%D0%B0-https-%D0%BD%D0%B0-http-ssl-302-moved/Помогите us please!!!! |
Answer: |
we have made, it has no impact try the install from the website with ssl support |
Question: |
in hallacas file is RewriteEngine OnRewriteCond %{SERVER_PORT} !^443$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]how can we put the website with support from the AAU? |
Answer: |
sorry but we are not aware of such osobennsoti work prestashop https://onlybel.ru/info.php
the certificate works, then you can set up and as it is configured on prestashop we do not know. |
Question: |
we are not asking you to understand the features of PrestaShop! we ask you to make the necessary changes to the server configuration to ensure that the error \"your server setting is disabled URL rewriting (mod_rewrite) or you cannot validate the configuration of your server. To use the CNC should activate this option.\" disappeared from the settings of the engine. to do this we need you to make a change to the server configuration. Specifically: \"on the part of the script: in the file config/config.inc.php at the top we need to add the following code:if (isset($_SERVER[`HTTP_X_FORWARDED_PROTO`]) AND $_SERVER[`HTTP_X_FORWARDED_PROTO`] == `https`){ $_SERVER[`HTTPS`] = `on`; }$_SERVER[`HTTP_HOST`]=str_replace(`:443`,\",$_SERVER[`HTTP_HOST`]);From nginx to add to the desired location:proxy_set_header Host $Host:$server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;in Addition to enabling SSL in the admin area .htaccess file add:RewriteEngine OnRewriteCond %{SERVER_PORT} !^443$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\" |
Question: |
\"...I`m sorry but we are not aware of such osobennsoti work prestashop...\" - in other words, you cannot make changes to the file .htaccess? |
Answer: |
of course, You can , you have full access to the server record RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\" attached to .htaccess |
Question: |
Get the following error: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.Apache/2.2.22 (Debian) Server at onlybel.ru Port 80 |
Question: |
More information about this error may be available in the server error log. |
Answer: |
so your entry is not correct. where did you get it? |
Question: |
We took it from the last post in the following ssylke:https://www.prestashop.com/forums/topic/330680-%D1%80%D0%B5%D0%B4%D0%B8%D1%80%D0%B5%D0%BA%D1%82-%D1%81-%D0%B0%D0%B4%D1%80%D0%B5%D1%81%D0%B0-https-%D0%BD%D0%B0-http-ssl-302-moved/ |
Answer: |
but there are RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] and not RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\" |
Question: |
we need to disappear into the CMS error \"On your server disabled URL rewriting (mod_rewrite) or you cannot validate the configuration of your server. To use the CNC should activate this option.\"not correctly rewriting the url!!!!!!!!!! |
Answer: |
Yes, this is stupid, you have & raboat peregrinate open https://онлибел.рф |
Question: |
sorry, Yes you are absolutely right it is necessary to make an entry ayakas file with the following content:RewriteEngine OnRewriteCond %{SERVER_PORT} !^443$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
Answer: |
see you do not quite understand how a web server to handle the domain you have domains satellite has added are not aliases but separate domains onlabel.RF forwarding works and onlybel.ru no, but in onlabel.Russia does not have a certificate that is automatically redirected to the interface panel. and the website onlybel.ru there is an endless call forwarding |
Question: |
you specified for the link: https://онлибел.рф/отображается information of the following nature:\"Your connection is not semisemisemisemi may try to steal your data from the website of onlibe.of the Russian Federation (for example, passwords, messages or credit card numbers). NET::ERR_CERT_AUTHORITY_INVALID Automatically send Google information about possible security issues. Privacy policy\" |
Answer: |
we put the certificate and https://онлибел.рф but now your site is trying to redirect to http and again there is an infinite redirection |
Answer: |
you website etechno all included? check |
Question: |
generally remove domain \"onlabel.of the Russian Federation\".we need to bind SSL certificate to the domain onlybel.siniscalco months ago, we were discussing this issue in ticket with the subject \"ssl certificate\" where indicated what and how to bind. |
Answer: |
I did, still endless call forwarding |
Question: |
Thanks, that removed the domain name \"onlabel.RF\"!!!To answer Your question: Yes, there is a included. However, the site still continues to display the error as follows:\"your server setting is disabled URL rewriting (mod_rewrite) or you cannot validate the configuration of your server. To use the CNC should activate this option.\" |
Answer: |
odite amps. |
Answer: |
odite amps. |
Answer: |
this error does not mean anything, what would it be tedious to remove popereklyuchat mode rabotat php mode mod _apache , with all its consequences. to do this you mojete menu www domains by selecting the domain and changing the mode of operation for php but pretense scripts are rabatti on behalf of the web server and you will now have setwith permissions 777 to the folder in which the script will keep a record of |
Question: |
You could do this for us? we do not have enough knowledge to do so. |
Answer: |
did forwarding is not lost |
Question: |
but not help:Page onlybel.ru not rabotaetsya onlybel.ru still can not process that request.HTTP ERROR 500 |
Question: |
the website actually went.. |
Answer: |
what changes You did? |
Question: |
no. reload the page and all...didn`t touch anything |
Question: |
again, just an hour from our side, no action is performed.only with your hand.the website is still... |
Answer: |
site work |
Question: |
the website zarabotaesh and not rabotaetsya \"On your server disabled URL rewriting (mod_rewrite) or you cannot validate the configuration of your server. To use the CNC should activate this option.\" not resolved |
Question: |
to request to transfer the content of the website on the server was located \"clone\" of the site (the restored version of the site..). SSL certificate was attached to the domain onlybel.ru on all pages displayed https. TSMs have not changed. we asked you to move your content website writing in the first ticket on this topic:\"Good deeprock Your help in moving the content of the site.Please remove all information from the site, including all backups (if any).Please leave all current settings of php and apache !!!Please leave or move our SSL certificate on the new site !!!Please unpack the archive with the content of the site (the site was Packed all to other hosting, so that there is a lot of superfluous except \"public_html\") and reattach the MSQL database from the archive (create user, etc.) Please inform us of any changes to the settings and access rights to the ISP panel, ftp account, database MSQL (if they will)Archives the content and the database are located in the root directory var/www/omeran/databackup-onlybel.by-10-4-2016.tar.gz - packaged copy of the website script CMS onlybelb_omeran.sql.gz archive database MSQLЗаранее Thank you.\"After transferring the content of the site SSL does not work correctly. is \"...the endless forwarding...\"please help to deal with this problem!in the admin panel of website by SSL all the settings are enabled correctly. exactly the same as on the website, which was hosted on the server prior to the migration!our knowledge is not enough to solve the problem.... |
Answer: |
you yourself say that the website from which you were transferred did not work for https if a site which was before the migration was working with http[s the problem is not in the server and in the website, because absolutely no action that is NOT delalos. we replaced your files and database and all. You do not have SSL work correctly, and your site is not configured correctly to work ssl |
Question: |
thank you very much for your help in solving problemproblem to solve samostoyatelnoe results report |
Answer: |
well |
Question: |
All. Kind of figured, though not to the end... (but ,so far, and let`s go)Thank You very much for your help and participation in the solution to our problem.And I wanted to ask the following question-You could, if You please, compare the file /var/www/omeran/data/www/onlybel.EN/.htaccessи/var/www/omeran/data/www/onlybel.EN/xxx/.htaccess (which we`ve laid out for comparison with our hosting in Belarus)the fact that the site was transferred from there. But the Belarusian htaccess a lot of what You have just doesn`t work and I would like to know Your opinions why. Of course this does not apply to links, etc. that is determined by the location of the site. Yes, and in the Belarusian part is the usual V-world and not a VPS. And the rest - for scripts - they are completely identical.Thanks in advance |
Answer: |
not quite understand what it means to compare them? if the contents, to get started, simply view the file sizes, if they differ, then you can look for, if not, then the files are identical. |
Question: |
they also differ significantly. Belarusian is almost three times more... |
Answer: |
please wait. |
Answer: |
utochnyat which directives You are interested in and what is \"standard dev\" |
Question: |
Htaccess directives leading to malfunction and the error posted in/var/www/omeran/data/www/onlybel.EN/xxx/Addon to htaccess.txtА \"standard dev\" is a virtual hosting prematrimoniale the number of simultaneous tasks: 20;maximum time allowed to work the cgi script: not more than 15 CPU seconds and no more than 5 minutes of real time;the maximum number of open files per process: 32;maximum memory: 128Mb process, the data is given no more than 64Mbмаксимальный file size: 512Mb; |
Answer: |
you servie options are much more serious. limits are only limited tariff plan the dev you nazyvatsya normal shared hosting |
Question: |
\"dev you nazyvatsya normal shared hosting\" - Yes\"you have to servie settings much more serious\" - that is the question ....Why in the Belarusian hosting \"less serious settings\" all the htaccess Directive which I gave in /var/www/omeran/data/www/onlybel.EN/xxx/Addon to htaccess.txt working on Your VPS and they lead to errors, and the failure of the health script CMS? |
Question: |
You wrote - \"utochnyat what directives are You interested in...\" - I brought them in /var/www/omeran/data/www/onlybel.EN/xxx/Addon to htaccess.txt |
Question: |
I ask You again to double-check the following information and, if necessary, to make adjustments:\"settings PHPPrestaShop need a few additions to PHP and MySQL in order to operate fully. Make sure your PHP configuration has the following parameters and tools:GD Library.The house extension.allow_url_fopen is enabled.Here is part of php.ini file (the configuration file for PHP):extension = php_mysql.dllextension = php_gd2.dllallow_url_fopen = On# Also рекомендуетсяregister_globals = Offmagic_quotes_gpc = Offallow_url_include = OffБиблиотека GD ( http://www.boutell.com/gd/ ) prestashop 1.6 allows you to process images that you upload, especially the change in their size.The Dom extension enables to parse XML documents.Allow_url_fopen Directive enables modules to access remote files, which is an integral part of the payment process. It is therefore essential that it is set to the ON position .\" |
Answer: |
what is the relationship of the Directive .htaccess have to the physical server settings? the correct answer is \" no \" - they don`t have. they have a direct relationship neposredstvenno to configuring the server. This does not mean chinastone wrong, they prsoto other. you too, are doing the wrong kastrioti. for example, spaces in filenames should not be. should not be problemov in the name of the file if you ucreate this file and carefully look at him you`ll see why bugs without even having any special knowledge <IfModule mod_suphp.c> suPHP_ConfigPath /home/onlybelb/public_html <Files php.ini> order allow,deny deny from all </Files> </IfModule> and open the errors log see /var/www/omeran/data/www/onlybel.EN/xxx/.htaccess: Invalid command `Header`, perhaps misspelled or defined by a module not included in the server configuration and find in the body .extra htaccess Header everything works mojete check fixed .htaccess has the same guidelines as your prezhdnemu hosting except incorrect
|
Question: |
Thank you !!!!!!!!!!!!!!!!!!!!!!!!Checked - You are absolutely right.Thanks again for the help and understanding... :(please double-Check the data on the setup posted above ....\"\"Setting PHPPrestaShop need a few additions to PHP and MySQL in order to operate fully. Make sure that your configuration ...................\" (does not make sense to copy them and paste here again)Thanks again |
Answer: |
this is configured by default, otherwise your website even does not start |
Question: |
Thank you. I think the ticket can be closed.Thanks again for Your help!!!!! |
Answer: |
thank you for contacting the technical support |