Site does not exist error for a2ensite

Solved the issue by adding .conf extension to site configuration files. Apache a2ensite results in: Error! Site Does Not Exist Problem; If you found the error while trying to enable a site using: but it returns: Error: example.com does not exist a2ensite is simply a Perl script that only works with filenames ending .conf Therefore, I have to rename my setting … Read more

CodeIgniter removing index.php from url

Try the following Open config.php and do following replaces to In some cases the default setting for uri_protocol does not work properly. Just replace by .htaccess Note: .htaccess code vary depending on hosting server. In some hosting server (e.g.: Godaddy) need to use an extra ? in the last line of above code. The following line will … Read more

Only variable references should be returned by reference – Codeigniter

Edit filename: core/Common.php, line number: 257 Before After Update Added by NikiC In PHP assignment expressions always return the assigned value. So $_config[0] =& $config returns $config – but not the variable itself, but a copy of its value. And returning a reference to a temporary value wouldn’t be particularly useful (changing it wouldn’t do … Read more

Apache2: ‘AH01630: client denied by server configuration’

If you are using Apache 2.4 You have to check allow and deny rules Check out http://httpd.apache.org/docs/2.4/upgrading.html#access In 2.2, access control based on client hostname, IP address, and other characteristics of client requests was done using the directives Order, Allow, Deny, and Satisfy. In 2.4, such access control is done in the same way as other … Read more