Category: htaccess

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

After setting SSL in the Apache default-ssl.conf file I was not able to access the website using https which was showing ERR_SSL_PROTOCOL_ERROR. Also the curl command was showing the following error: curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number Fix: sudo a2ensite default-ssl and restart apache2. Note: Before that you need to ensure following modules are also … Continue reading curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

codeigniter site inner links showing 403 forbidden access

The site was showing some error and I downgraded the PHP from 5.6 to 5.4. But only home page was loading. Added the following code in the .htaccess file to correct the issue. IfModule mod_rewrite.c RewriteEngine On #RewriteBase /your_project/ RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 … Continue reading codeigniter site inner links showing 403 forbidden access