Vaughan Posted April 9, 2011 Share Posted April 9, 2011 Hi I’ve just installed the latest version of Prestashop. There’s no problem with the installation. I did configure the following:- Generated .htaccess in Admin/Tools/Generator – Added a web service in Admin/Tools/Web Service – Enable SSL as recommendation.Then I couldn’t login to Admin panel anymore. The error is:The requested URL /prestashop/admin123/login.php was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.I have been told it’s because the login url is now re directing to a https because of the SSL install and that Ineed to get SSL certificate to fix.Does anyone know how to remove the SSL redirect code from the login php file until I can finish a few other updates before installing the SSL certificate?Can I delete the https redirect code from the login php file?Thanks Link to comment Share on other sites More sharing options...
Billy Posted April 9, 2011 Share Posted April 9, 2011 Hey Vaughan, Did you look in your .htaccess file? I have this in mine...# Get SecureRewriteCond %{SERVER_PORT} 80RewriteRule ^authentication\.php$ https://%{HTTP_HOST}%{REQUEST_URI} [L]Do you know a guy named m0nty? lol Link to comment Share on other sites More sharing options...
crot Posted April 21, 2011 Share Posted April 21, 2011 I just solved my can't access Admin after SSL by changing my login.phpif (Configuration::get('PS_SSL_ENABLED') AND !(isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == 'on'))toif (Configuration::get('PS_SSL_ENABLED') AND !(isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == '1'))now I can access again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now