Viewing 51 to 60 of 93 items
Archive | Server RSS feed for this section

How to prevent web access your version control on server

Version control systems/platforms such as Git and Subversion store their metadata in hidden folders. When left open via the web, they could reveal sensitive information such as passwords. This holds true even when directory listing is disabled. ————————————— Solution: RedirectMatch 404 /\.git You need to add the above line into your .htaccess or your server  Full Article…

0

Custom configuration of Amazon RDS instances

Amazon RDS instances are convenient and scalable. However, whilst running long-running workflows with large datasets, the servers can come under considerable strain at times. Sometimes, we have noticed that certain transactions return with an error – not because something is wrong with the transaction syntax, rather that the MySQL server believes that the transaction is  Full Article…

0

Negotiation:error – no acceptable variant

We faced this issue with Review function of Magento, it can’t access this function without index.php in the url. We spent many hours to research about this issue. Finally we found out the solution for it. You need to turn mod_negotiation OFF by adding the below line in Apache configuration file: Options -Multiviews After that  Full Article…

0

Setting the default Timezone for PHP to use

he default time-zone used and displayed by PHP is UTC (Coordinated Universal Time)… Hence why it might look several hours off from your *local* time. While sometimes it’s best to leave the internal time-zone of PHP set on UTC (as it is a international time standard) and then convert (in PHP code) the UTC date-time  Full Article…

0

Simple PHP Mail test

Prerequisites Access to your hosting via SSH or FTP Overview This is a handy little script to help test your hosting to ensure you can send emails from PHP based sites which include a contact form or similar. This includes CMS systems such as WordPress and Joomla as well as eCommerce platforms such as Magento. If  Full Article…

0

Mail bouncing… receiving email issue

Starting from sometime yesterday (cannot be sure when without digging through logs) mail is now bouncing from my server. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.   For further assistance, please send mail to <postmaster>   If you do so,  Full Article…

0

Finding the status of Magento cron jobs / tasks

As covered in our last article, you should have a “cron job” (crontab) set up to run Magento’s cron.php file every so often (15 minutes or so is fine) via PHP directly on the server to take care of housekeeping tasks that keep Magento working well. Some other tasks, like updating tracking / inventory status,  Full Article…

0

GIT – Undoing Changes

Undo Uncommitted Changes Before we start undoing things, let’s take a look at the status of our repository. git status We have a tracked file and an untracked file that need to be changed. First, we’ll take care of index.html: git reset –hard This changes all tracked files to match the most recent commit. Note that the –hard flag is  Full Article…

0