Follow us on Twitter!
Syndicate content
Login - Register - Latests submissions

Going live

By default Drupal will keep people logged in for 23 days (2000000 seconds) by saving a cookie in their browser. This is nice, but a potential security problem if people are using the site from shared computers.

Consider editing the site's settings.php to have

ini_set('session.cookie_lifetime',  0);

instead of the default

ini_set('session.cookie_lifetime', 2000000);

With the former, the user's login will be forgotten when they close their browser window, even if they forget to log out explicitly.

  • Go to Site configuration > Error reporting
  • Set Error reporting list box to Write errors to log
  • Save configuration

It is recommended that you prevent users from registering on your website with some odd usernames like:

  • root
  • admin
  • administrator
  • webmaster

To prevent this from happening:

  • Go to Administer > User management > Access rules > Add rule
  • Set Access type to Deny
  • Set Rule type to Username
  • In Mask type root
  • Click the Add rule button

Repeat this for every username you don't want to be created on your site.

Drupal comes with a set of TXT files at root level (things like install instructions, upgrade instructions, etc.). To avoid malicious users to have information on the Drupal version you are using, it is strongly recommended to remove those files.

From the root directory of your installation, remove the following files:

  • CHANGELOG.txt
  • COPYRIGHT.txt
  • INSTALL.mysql.txt
  • INSTALL.pgsql.txt
  • INSTALL.txt
  • LICENSE.txt
  • MAINTAINERS.txt
  • UPGRADE.txt

Whether or not these files contains security information (like Drupal version for example), the all contain a CVS header that gives a really precise version information on your Drupal installation.

Create a node (a page content type for example) with some extra information so that your visitors don't ever fall on the default 403 page not found.

Once this node is created:

  • Remember its node ID,
  • Go to Administer > Site configuration > Error reporting
  • Set Default 403 (not found) page to the node ID you just created
  • Save your settings

You can alternatively use the Search 404 module.

Anonymous

Cron is a deamon which triggers certain actions (cron jobs) at configured times. Windows has an equivalent system called Task Scheduler. Calling cron.php at regular intervals will allow, amongst others, the indexation of content the content and to check for updates.

Setting up a cron job under a *nix system is fairly easy.

  1. Create or edit a crontab by typing in a terminal crontab -e
  2. Assuming that you have one of the following programs on your system, add one of the following line to trigger a request to cron.php every hour:
    • 0 * * * * /usr/bin/wget -O - -q -t 1 http://example.com/cron.php
    • 0 * * * *  /usr/bin/lynx -source http://example.com/cron.php
    • 0 * * * * curl --silent --compressed http://example.com/cron.php
  3. Save and exit your editor.

Setting up cron jobs on Windows is almost as easy! See Resources below.

Drupal logs information about cron jobs. Once you have configured it, you should see entries in your logs (Administer > Reports > Status report and Administer > Reports > Recent log entries) indicating the status of the related tasks.

fp

Create a node (a page content type for example) with some extra information so that your visitors don't ever fall on the default 404 page not found.

Once this node is created:

  • Remember its node ID,
  • Go to Administer > Site configuration > Error reporting
  • Set Default 404 (not found) page to the node ID you just created
  • Save your settings

You can alternatively use the Search 404 module.

You can gain performances by disabling unecessary contributed modules from your live site. Here is a list of modules you can safely disable on a production site:

  • Devel
  • Devel generate
  • Devel node access
  • Performance Logging
  • Theme developer
  • Advanced help example
  • ImageCache UI
  • Views UI

There are a number of settings for contact forms that are easy to miss, since they aren't readily visible on the site. After you are sure that all the settings are right, you should also submit a test contact on every unique contact form to make sure the email address actually works.

The Site Information settings page at /admin/settings/site-information contains the from address setting.

/admin/build/contact has "To:" addresses and auto-responders, etc.

If you use Webforms, there are similar settings at /admin/settings/webform and per-node at /admin/content/webform (minimally, check the to address in each webform node).

Check API keys (e.g. Google Maps API key) particular keys which assigned to a domain.

During site development, test content will have to be created so that features can be tested and styled. However, you don't want that test content to go live!

First off, avoid making any content that could potentially be damaging if it accidentally went live. The Devel module can generate content of most types for you automatically, in a way that is clearly test content and won't accidentally offend anyone.

When you are ready to go live, go through the user and content lists to remove anything that shouldn't be available. Also, browse through the entire site structure and look for menu links that shouldn't be appearing.

Sometimes, you won't have content for a section, but for layout or structure reasons it has to be in place. Make the text of the page say something like "Coming Soon" so it's apparent that the page is important, and get it resolved as soon after the live launch as possible.

Considering the domain name drupal-check.org, we want to redirect all users accessing your website from http://drupal-check.org to http://www.drupal-check.org.

Edit .htaccess file from the root directory of your Drupal installation, find the <IfModule mod_rewrite.c> section and uncomment the following lines, replacing example.com with your own domain name, in this example drupal-check.org:

RewriteCond %{HTTP_HOST} ^drupal-check\.org$ [NC]
RewriteRule ^(.*)$ http://www.drupal-check.org/$1 [L,R=301]

More information is provided in the .htaccess file itself.

It's highly recommended that you protect user with uid 1, i.e. the one who has life and death rights on your Drupal installation.

Disallow user 1 deletion:

Disable user 1:

  • Be sure to have at least one user (other than uid 1) that has the permission administer users from user module.
  • Login with this account (again other than uid 1)
  • Go to Administer > User management > Users
  • Edit user with uid == 1
  • Set Status to Blocked
  • Click Save

Now user 1 can't login to your website. No more risk for password discovery for this account.

Please note that you should check enabled modules code, sometimes they use user 1 to achieve some tasks. And this could break some modules features. So use with caution.

install.php file should be removed before going live.

It is located in the root of the installation: ./install.php.

If you are working with a code repository (like svn, git, etc.) you might have found it useful to set up a cron job that regularly runs a script that in turn triggers the update of your code on the server. While this is nice while developing it may be disastrous in production environment!

Make sure to disable any automated update of your code before going live.

fp

It is strongly recommended that you put your site off-line before performing any module/theme updates.

  • Go to Administer > Site configuration > Site maintenance
  • Set Site status to Off-line
  • Save your settings
  • Make a backup of your database and file structure
  • Upload new files to your server
  • As user 1, run http://www.example.com/update.php
  • Be sure to check that everything works fine after the update process
  • Go to Administer > Site configuration > Site maintenance
  • Set Site status to Online
  • Save your settings

Calcio, Promozione: la classifica marcatori e gli squalificati Promozione, il calendario: Ceriale-Carcarese nella giornata inaugurale Calcio, Promozione: Montalto raggiunge Tacchino in vetta alla maglia inter classifica marcatori Calcio, Promozione: nella classifica marcatori Montalto insegue Tacchino Calcio, Promozione: Mauro Bertino non potrà sedere in panchina per due giornate Calcio, Promozione: il giudice sportivo ferma dieci giocatori
Andora. Il doppio turno della scora settimana è costato una squalifica a undici giocatori del maglie 2012 girone A.
Il giudice sportivo ha fermato per due giornate Luca Morabito (Andora). Squalificati per una giornata Diego De Madre (Bragno), Alessandro Benigni (Sampierdarenese), Armando Carattini, Giovanni Sciglitano (Golfodianese), Mirko Amico, Davide Brignoli (Loanesi San Francesco), Andrea maglie juve nuove Amos (Virtusestri), Gianvito Garassini (Andora), Andrea Moraglia (Argentina), Davide Calautti (Serra Riccò).
Nella classifica marcatori conduce Anselmo (Sestrese) con 11 reti, seguito da Tacchino (Virtusestri) con 10, Procopio (Carcarese) e Venturelli (Sampierdarenese) con 8.
Poi troviamo Polito (Bragno), Prevosto (Argentina), Lupo (Loanesi San Francesco), Anselmi (Sestrese), Sigona (Cffs Cogoleto) e Montalto (Quiliano) con 7.

I had a dream that I sent my child to go abroad for further education. So I worked hard to collect money for my son. After his graduation, I prepared to send him to go abroad.
And, my son also took the college entrance examination. He got a high score and was enrolled to a famous college. But, I wanted him to go abroad to received better education. I saw him off at the airport and meanwhile, several days ago I asked my colleague to help me order a pair of ugg boots for men for my son .And they were new balance shoes. So I packed UGG Casual Boots carefully for him, for I hoped that he could do some sports to keep health. My son was often ill and I wished that he took care of himself.
Several days later, I missed him very much. I called him and he told me that he couldn’t adapt to new environment. And he was in hospital. At that moment, I deeply regretted my decision to let him go abroad.
My husband went into a shoe shop with a little child. I felt a little curious. So I followed them stealthily. After the child tried to wear several ugg boots sale, I saw that my husband had ugg boots outlet for the child.
After buying the shoes, they went to have dinner. At that time, I felt that my husband concealed something for me. It was possible that the child was his son. If so, I would feel very disappointed. So I caught up with him. My husband saw me and was very surprised.
I asked him about the child. At first, he was finding an excuse, but at last he felt obliged to tell me that the child was his son. He never told me that he had a son. As a result, we were divorced, for he was a liar.
My friend, Diana found a good job after graduation. So she had a lot of money. Every time, I went out for shopping with her. She didn’t care that she overpaid.
I remembered that after paying my wages, I decided to buy ugg boots clearance, for I wore my oldugg womens classic tall boots several years and I needed to a pair of new shoes. She recommended me to go to a corner shop, which were more expensive than others. I knew she preferred doing some shopping in a corner shop. Though there were a lot of wonderful products, I didn’t want to buy them.
Afterwards, I bought them in other shop that was cheap. But I liked them, for I was collecting money for my future.
Because of the financial crisis, I had a low salary and my company began to downsize. So I wanted to be thrifty. Recently, my little nephew’s birthday was coming, so I decided to present ugg classic tall boots and ugg classic short boots for women as a gift to him. During the hard time, everyone’s wallet turned flattened. So did me. So I waited to buy them until the winter sale, for they would be cheaper.
Sometimes, I also recommended my colleague to buy something when the winter sale was coming. All of us tried our best to buy some cheaper thing to save money during the hard time.
And we were sorry to hear that some of my colleagues were laid off. It was bad news for us. However, we still usually went out together to buy something.

nike dunk heels Tailwind is an upgraded version of NIKE the exclusive use of lightweight materials to build R & D, called the history of the lightest, most convenient sports shoes ^ _ ^. Thinner Ramp Air improved low-pressure air is easier for customers to feel the air cushion effect. Innovative forefoot Ramp, provide more light weight and softer cushioning.
Most from the significant calf shoes may maybe be creating utilization of the amount of supplies to the produce of heels. But aluminum is a person from the big elements of stilettos which make beneficial offer safer than almost every other material. The pumps of jordan high heelsshoes are much less susceptible to breaking together using the nylon that is connected using the complete from the advice of these pumps helps make optimistic how the instant these pumps are put on out.
Jordan high heels boots, they is normally quickly repaired by one's own person self.Even so most from the grownup males and women maybe give some believed to how that means of the term may maybe hint in the direction of danger. it is normally apparent from the unwanted gangster movies of Hollywood by which most from the females accustomed to place on these significant pumps and portray the right of the gangster type of jordan heels for women character.

AIR MAX TAILWIND + 2010 Nike Air running shoes and comfortable mesh uppers lightweight materials coupled with the full support of high-quality leather provides an enhanced fit, seamless splicing to provide comfort. AIR MAX TAILWIND + 2010 before the end of the palm of gravity coupled Cushlon Nike Ramp Air cushion foam wrap to provide rapid response of running experience. BRS 1000 carbon rubber heel provide abrasion resistance, hard rubber grip provides outstanding traction. AIR MAX 1987 became the first pair of nike jordan heels shoes visible.

Gary prepared to go camping today. In the morning it was sunny. So he was very glad. Several days ago, he just got a pair of good moncler jackets sale——moncler jackets. And he wanted to climb the mountain, so he wore new balance shoes. He drove with his friend to go to the place where they went camping.
They climbed the mountain and then began to put up their rent. However, the weather was cloudy, heralding that it would rain soon. Still, they thought it didn’t rain. As a result, it rained. It was too late, so all of them were caught in rain.
Next day, Gary had a cold and had several days off.
I made an appointment with my girlfriend to see the film together. At that time, I just had bought moncler jackets. So I wore new balance shoes to go with my girlfriend, hoping to give her a deep impression. Fortunately, she paid attention to my shoes. I told her that I bought them several days ago. She appreciated this kind of moncler jackets sale.
When we arrived at the cinema, there were crowds of people at the cinema. And we waited to buy tickets for long time. As a result, we gave up. Instead, we went around. Maybe it was also a wise choice.
Though we didn’t see the film, we still had a wonderful day together.
Peter was a driver and he was driving a lorry loaded with moncler jackets sale. And outside, it rained very heavily. Suddenly, His lorry got stuck in the hole. No matter how he drove, the lorry didn’t move out. And it seemed that there was no wish to send the products to the location punctually. So he immediately called the police to ask for help. When the police was coming, they tried their best to pull the lorry out. Eventually, the lorry moved out. Peter was grateful for their help. Luckily, he sent the products punctually. And the company praised him. moncler jackets