Microsoft Office Tutorials and References
In Depth Information
Tweaking the Settings
Tweaking the Settings
We have the database set up, and also have the files uploaded, but the files don't
know about the new database yet, and so the website won't work. The database
connection details are stored in a configuration file called settings.php in the
sites/default folder. We need to edit this file, either using a PHP editor (such as
Crimson Editor, or PHPEclipse) or something simple like Notepad.
Within this file we need to look for a line starting with $db_url = , and then we need
to alter the line to contain the new username, password, and database.
For the database we set up earlier the line should now read $db_url = 'mysql://
We have now successfully deployed our store online!
SSL stands for Secure Sockets Layer . It is a cryptographic protocol that provides
secure communications on the Internet. It works by using encryption methods to
encrypt data which is then transferred over the SSL connection. Standard web page
requests are not in SSL and data sent from the client (browser) to the web server are
sent in plain text, which could in theory be read by third parties. SSL connections
encrypt this data so it cannot be read, and can only be read by the server. Wikipedia
has a very detailed entry on Transport Layer Security , if you are interested in
how SSL works and the technicalities of it— http://en.wikipedia.org/wiki/
Secure_Sockets_Layer . The use of SSL in Drupal is not easy or available out of the
box; there are a number of discussions on the Drupal website regarding setting up
Drupal for SSL, including http://drupal.org/node/60222 . Along with configuring
Drupal you will also need to purchase and install an SSL certificate.
An SSL certificate is used to verify the identity of the server and is used when
encrypting the data sent to and from the website. SSL certificates are available for a
variety of prices, normally depending on the company that "signs" the certificate; this
usually involves a trusted company verifying your own identity and then issuing the
SSL certificate. Once you have the certificate you would then need to contact your host
to get SSL set up on your hosting account, which would also require an additional
dedicated IP address for your hosting account, which may incur additional charges.