HTTP status code is the server response to the browser requests. It plays a vital role and is essential for Search Engine Optimisation. We can quickly identify the website's health through this code, and it also helps pinpoint significant problems.
I had faced the issue with browser compatibility issues with the Safari browser and the Chrome browser to load the CSS styles due to unsecured http. This can be fixed by setting right protocol type.
We were faced with a Sensitive Cookie Missing 'HTTPONLY' Attribute error in one of the more sophisticated Drupal applications we were developing. This error occurred when we were trying to get the Drupal application scrutinized for PCI Compliance. If you are faced with the same scenario in your Drupal then read on to find out the solution PCI is an industry standard designed to review organizations who handle sensitive credit card information to prevent Credit Card fraud and it is important to get your Drupal application scrutinized if it is to handle such information
Drupal depends on a cron system to execute period tasks in Drupal. This cron system in turn expects a call to the cron.php file from a client either as a Drupal shell request or as an http request to the Drupal site. The following outlines how to set up a cron job in an Amazon AWS server set up using the bitnami stack.
How to set up HTTP password protection / basic authentication for your Drupal site on AWS server (bitnami image)
Some times we need to protect our site from public users and make it available only to selected number of users. For examply you might want to protect your alpha site from the public and from search engine bots. In such situations we protect our site with HTTP password. Follow the below steps for protecting your Drupal site with HTTP password. This was written for an Amazon AWS server but should work on most GNU/Linux servers.
A large number of Drupal users where getting a " HTTP request status Fails Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services " error message in the status reports page of their Drupal site. If you are facing the same error message in the status reports of your Drupal site and would like to know how to fix then continue reading.
Many Drupal users have encounterd the following error in the status reports page of their Drupal site. "HTTP request status Fails Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality." If you are facing the same situation in your Drupal site then read on to find out more.
Tags are very helpful when it comes to searching. You may get accurate search results, if you have given correct tags for your content. In Drupal 7, there is a default 'tag' field for 'article' and 'page' content type. The million dollar question is 'What if these are not the content types that you have used to create your content'?. Don't worry , continue reading to find how to add tags for your custom content type.
Sometimes the best way to handle variable value changes on a Drupal site, would be with an admin settings form to show/edit the value. For example, while implementing a "send test mail" functionality on a Drupal site, we might want to set the recipient address at testing time. It would be easy to create an admin settings form instead of changing the addresses each time in code. Code:
Password-protecting drupal development site with .htaccess file There might be few scenarios when we need to protect our site from the general public and make it accessible to a selected group of users. One of the most common scenarios in the development workflow of a Drupal site is when you want to avoid your half-complete drupal site showing up in Google search results.For such needs, it is advisable to go for password-protecting the site using HTTP authentication. If you have cPanel installed on your hosting server, you can use the ‘Password Protect Directories’ option from the ‘Security’ section on the cPanel home page. Click here to read on How to enable HTTP Authentication using cPanel (link to an article for the same on our site) For those without cPanel, here’s how to get Apache work your way:
A VPS lies somewhere in between shared hosting and dedicated servers in terms of the features it provides. VPS divides the server’s primary resources and gives you certain amount of diskspace, memory, processing speed and bandwidth, with freedom on the OS configuration. In the case of shared hosting its like a common pool from which you consume bandwidth, diskspace, and processing power until it is exhausted. You dont get much control over the OS config.