The .htaccess file is a configuration file for web servers running the Apache web server software. In this quick tutorial you will see some of the possible uses of the .htaccess file along with examples for each case.
MongoDB is an open source document database that stores data in JSON-like documents. It can index on any attribute, allows for rich queries, and supports fast updates. MongoDB is installed by downloading from their website, creating a data folder, and running mongod and mongo commands. MongoDB differs from relational databases in that a single collection can represent data that would require multiple tables in SQL, simplifying schema design for documents like blog posts with nested comments. To create a database in MongoDB, use the use command followed by the database name.
This document provides an overview of MongoDB and how to get started using it. MongoDB is an open-source document database that stores data as JSON-like documents rather than in tables. It allows for horizontal scalability and storing data as objects rather than columns. The document explains how to install MongoDB, use the MongoDB shell to do inserts and queries, and connect to MongoDB from applications using drivers like PyMongo. Examples of large companies using MongoDB are also provided.
Https Webinar slides - SEMRush with Gerry White, Tom Bourlet & Andy VealGerry White
Slides to accompany the webinar SEMrush hosted on HTTPS migrations, for more information on this go to htttps://www.takeitoffline.co.uk/https and to see more awesome webinars & blog posts from SEMrush visit https://www.semrush.com/webinars/
This document provides recommendations for migrating a website from HTTP to HTTPS. It recommends testing the SSL certificate, setting up Google Search Console access for HTTPS, running HTTP and HTTPS simultaneously, tracking in Google Analytics using Google Tag Manager, checking all templates and mobile versions render correctly, monitoring for mixed content exceptions, setting up a site audit in SEMRush, redirecting canonical tags and sitemaps after testing, implementing 301 redirects, enabling HTTP Strict Transport Security (HSTS), and addressing potential issues like images or embeds loaded insecurely. It emphasizes a gradual, step-by-step approach to ensure minimal risk in migrating to HTTPS.
This document contains answers to configuration questions regarding Apache virtual hosting, custom error pages, default pages, access logging, and SSL/HTTPS configuration. It includes configuration snippets and screenshots demonstrating:
1) Setting up name-based virtual hosting with two domains sharing the same content directory and custom error and access logs.
2) Custom 404 error page and screenshots of domain requests returning the default and custom 404 page.
3) Default page configuration and screenshot of IP address request returning the default page.
4) New access log format definition and sample log with the customized fields.
5) SSL/HTTPS configuration using OpenSSL, including generating certificates and configuring Apache to listen on port 443 to serve pages securely.
This document provides instructions for setting up PostGIS by installing PostgreSQL and PostGIS, creating a database cluster and database, configuring the database to listen on a specific IP and port, importing OSM data using osm2pgsql, and trusting connections from the local computer.
Future-proof Development for Classic SharePointBob German
This talk explains how to build headers and footers that work in both SharePoint "modern" (SharePoint Framework) and Classic pages. This work is from Julie Turner and me (Bob German)
Slides for the lightning talk "A practical 10m intro to PHP on Heroku"
See the version with animated gif at http://yet.another.linux-nerd.com/blog/a-10-minutes-intro-to-heroku-php-hosting
MongoDB is an open source document database that stores data in JSON-like documents. It can index on any attribute, allows for rich queries, and supports fast updates. MongoDB is installed by downloading from their website, creating a data folder, and running mongod and mongo commands. MongoDB differs from relational databases in that a single collection can represent data that would require multiple tables in SQL, simplifying schema design for documents like blog posts with nested comments. To create a database in MongoDB, use the use command followed by the database name.
This document provides an overview of MongoDB and how to get started using it. MongoDB is an open-source document database that stores data as JSON-like documents rather than in tables. It allows for horizontal scalability and storing data as objects rather than columns. The document explains how to install MongoDB, use the MongoDB shell to do inserts and queries, and connect to MongoDB from applications using drivers like PyMongo. Examples of large companies using MongoDB are also provided.
Https Webinar slides - SEMRush with Gerry White, Tom Bourlet & Andy VealGerry White
Slides to accompany the webinar SEMrush hosted on HTTPS migrations, for more information on this go to htttps://www.takeitoffline.co.uk/https and to see more awesome webinars & blog posts from SEMrush visit https://www.semrush.com/webinars/
This document provides recommendations for migrating a website from HTTP to HTTPS. It recommends testing the SSL certificate, setting up Google Search Console access for HTTPS, running HTTP and HTTPS simultaneously, tracking in Google Analytics using Google Tag Manager, checking all templates and mobile versions render correctly, monitoring for mixed content exceptions, setting up a site audit in SEMRush, redirecting canonical tags and sitemaps after testing, implementing 301 redirects, enabling HTTP Strict Transport Security (HSTS), and addressing potential issues like images or embeds loaded insecurely. It emphasizes a gradual, step-by-step approach to ensure minimal risk in migrating to HTTPS.
This document contains answers to configuration questions regarding Apache virtual hosting, custom error pages, default pages, access logging, and SSL/HTTPS configuration. It includes configuration snippets and screenshots demonstrating:
1) Setting up name-based virtual hosting with two domains sharing the same content directory and custom error and access logs.
2) Custom 404 error page and screenshots of domain requests returning the default and custom 404 page.
3) Default page configuration and screenshot of IP address request returning the default page.
4) New access log format definition and sample log with the customized fields.
5) SSL/HTTPS configuration using OpenSSL, including generating certificates and configuring Apache to listen on port 443 to serve pages securely.
This document provides instructions for setting up PostGIS by installing PostgreSQL and PostGIS, creating a database cluster and database, configuring the database to listen on a specific IP and port, importing OSM data using osm2pgsql, and trusting connections from the local computer.
Future-proof Development for Classic SharePointBob German
This talk explains how to build headers and footers that work in both SharePoint "modern" (SharePoint Framework) and Classic pages. This work is from Julie Turner and me (Bob German)
Slides for the lightning talk "A practical 10m intro to PHP on Heroku"
See the version with animated gif at http://yet.another.linux-nerd.com/blog/a-10-minutes-intro-to-heroku-php-hosting
Александр Сергиенко, Senior Android Developer, DataArtAlina Vilk
This document discusses HTTP caching tips and tricks. It explains that caching can decrease traffic, increase loading speed, require less code, and allow offline use. It provides code to enable caching and describes headers for content validation, cache checking, and cache management. These techniques can help optimize performance by leveraging cached responses when possible.
- The document discusses archiving web content from the New York Times website dating back to 1996 and stored across multiple frameworks over time (VINYT1, NYT2, NYT3, NYT4, NYT5).
- NYT4, used from 2006-2014, presented challenges to archive as it consisted of over 5 million HTML files stored across servers in different data centers.
- The archiving process involved taking whole-page screenshots, migrating the content to static HTML files on Google Cloud Storage, addressing issues like Flash content and mixed character encoding, and testing the archives.
Learn how to build new classes of sophisticated, real-time analytics by combining Apache Spark, the industry's leading data processing engine, with MongoDB, the industry’s fastest growing database.
We live in a world of “big data.” But it isn’t just the data itself that is valuable – it’s the insight it can generate. How quickly an organization can unlock and act on that insight has become a major source of competitive advantage. Collecting data in operational systems and then relying on nightly batch extract, transform, load (ETL) processes to update the enterprise data warehouse (EDW) is no longer sufficient.
In this live session, we show you how MongoDB and Spark work together and provide examples using the new Spark Connector for MongoDB.
This session was sponsored by Stratio & Paradigma.
OwnCloud is an open source file synchronization and sharing software that provides both community and enterprise versions. It can be installed on Linux systems via packages or a one file installer. Initial configuration is required to set up the administrator account, database, and data directory. Files and folders can be managed, shared, and synced across devices. Plugins allow external storage and apps to be added. The software includes APIs for building mobile and desktop clients.
Document-oriented databases store data in collections of documents rather than tables with a predefined schema. MongoDB is an open-source, document-oriented database that is easy to install and use. It supports many programming languages and operating systems. Documents in MongoDB can have unique field sets and storing non-normalized data can provide faster speeds than relational databases for heavy use cases.
Learn basic about website and domain-hosting. Grow up your knowledge and share with people. Website definition, hosting, domain and it's classification.Career plan and career summery.
This document discusses different methods for uploading files to Amazon S3 from a Rails application, including via a controller action using gems like CarrierWave and Paperclip, direct upload with jQuery that requires enabling CORS on the S3 bucket, and handling uploads with a background job to avoid timeouts. It notes that uploading via the server is slower and provides no progress, while direct upload or background jobs address these issues.
Creative Web 01 - Introduction to the web & web developmentLukas Oppermann
This document provides a brief history of computers and the internet from the 1930s to today. It explains some key concepts like servers, surfing the web, and technologies used on the modern web like HTML, CSS, JavaScript. It then demonstrates how to structure a basic HTML page with the necessary tags and elements for the document structure, metadata, title, body, and a sample link.
This document provides a summary of a presentation about using library resources to get the best grades. It covers evaluating different types of resources based on currency and authority, producing a good varied bibliography, and correctly writing references. The presentation includes tasks where students evaluate sample bibliographies, correct references in a sample bibliography, and a quiz to conclude the session. The overall aim is to help students understand how to effectively use and cite library resources in their assignments.
This document outlines Jessica Lappin's vision as Manhattan borough president to empower communities through community-based planning. Her key initiatives include: 1) Working with community boards to create and regularly update 197-a plans to guide neighborhood development; 2) Creating a Community Board College program to provide training to board members on planning issues; and 3) Developing a CommunityStat software program to track constituent complaints and identify problems to direct city resources towards improving services.
This 3 page document contains initial ideas and proposals for designing a front cover, contents page, and double page spread. The front cover ideas focus on titles and imagery. The contents page ideas explore layout and formatting options. The double page spread concepts consider visual elements and storytelling approaches.
Steps for adding sitemap to webmaster toolOM Maurya
Google Search Console (previously Google Webmaster Tools) is a no-charge web service by Google for webmasters. It allows webmasters to check indexing status and optimize visibility of their websites.
R&B originated in the late 1970s when artists like Michael Jackson and Quincy Jones added electronic elements to black music to make it more danceable. Over the decades that followed, R&B evolved as different artists incorporated elements of hip hop and other genres. It grew hugely popular in the 2000s alongside hip hop. Today, R&B is a massively successful global genre with many artists from various backgrounds creating diverse styles of music enjoyed by wide audiences worldwide.
Favicon is a small icon associated with a website, typically displayed in the browser tab or address bar. It is created by taking a logo image and converting it to a 16x16 or 32x32 pixel favicon file format like PNG, GIF, or ICO. To create a favicon, a website owner uploads their logo to an online favicon generator, selects the 16x16 pixel option, downloads the generated favicon.ico file, adds the favicon code to website page headers, and uploads the favicon.ico file and updated pages to their website. Once complete, the favicon logo will display next to the website URL.
An RSS feed is a file that contains the latest content from a blog or website in an easily readable format. It includes items that each have a title, description, and link. RSS feeds are made of XML tags to designate these parts and allow automatic updating of content. To create an RSS feed, one can manually write the XML code or use an online generator. The generator asks for website details and feed items, generates the XML code, and saves it as an RSS file to upload and validate on a validation site to check for errors.
Chapple, R. M. 2014 A Game of Murals. Westeros & Changing Times in East Belfa...Robert M Chapple
This document summarizes and discusses a large mural celebrating Game of Thrones that was painted beside a Twelfth of July bonfire in East Belfast, Northern Ireland in 2014. The mural uses iconic images from the series set against a flowing map of Westeros. The author notes this mural represents a cultural shift away from traditional sectarian political murals toward more inclusive street art influenced by pop culture. While some locals still engage in racism, murals like this one give hope that the area is becoming more open to outside cultural influences.
Александр Сергиенко, Senior Android Developer, DataArtAlina Vilk
This document discusses HTTP caching tips and tricks. It explains that caching can decrease traffic, increase loading speed, require less code, and allow offline use. It provides code to enable caching and describes headers for content validation, cache checking, and cache management. These techniques can help optimize performance by leveraging cached responses when possible.
- The document discusses archiving web content from the New York Times website dating back to 1996 and stored across multiple frameworks over time (VINYT1, NYT2, NYT3, NYT4, NYT5).
- NYT4, used from 2006-2014, presented challenges to archive as it consisted of over 5 million HTML files stored across servers in different data centers.
- The archiving process involved taking whole-page screenshots, migrating the content to static HTML files on Google Cloud Storage, addressing issues like Flash content and mixed character encoding, and testing the archives.
Learn how to build new classes of sophisticated, real-time analytics by combining Apache Spark, the industry's leading data processing engine, with MongoDB, the industry’s fastest growing database.
We live in a world of “big data.” But it isn’t just the data itself that is valuable – it’s the insight it can generate. How quickly an organization can unlock and act on that insight has become a major source of competitive advantage. Collecting data in operational systems and then relying on nightly batch extract, transform, load (ETL) processes to update the enterprise data warehouse (EDW) is no longer sufficient.
In this live session, we show you how MongoDB and Spark work together and provide examples using the new Spark Connector for MongoDB.
This session was sponsored by Stratio & Paradigma.
OwnCloud is an open source file synchronization and sharing software that provides both community and enterprise versions. It can be installed on Linux systems via packages or a one file installer. Initial configuration is required to set up the administrator account, database, and data directory. Files and folders can be managed, shared, and synced across devices. Plugins allow external storage and apps to be added. The software includes APIs for building mobile and desktop clients.
Document-oriented databases store data in collections of documents rather than tables with a predefined schema. MongoDB is an open-source, document-oriented database that is easy to install and use. It supports many programming languages and operating systems. Documents in MongoDB can have unique field sets and storing non-normalized data can provide faster speeds than relational databases for heavy use cases.
Learn basic about website and domain-hosting. Grow up your knowledge and share with people. Website definition, hosting, domain and it's classification.Career plan and career summery.
This document discusses different methods for uploading files to Amazon S3 from a Rails application, including via a controller action using gems like CarrierWave and Paperclip, direct upload with jQuery that requires enabling CORS on the S3 bucket, and handling uploads with a background job to avoid timeouts. It notes that uploading via the server is slower and provides no progress, while direct upload or background jobs address these issues.
Creative Web 01 - Introduction to the web & web developmentLukas Oppermann
This document provides a brief history of computers and the internet from the 1930s to today. It explains some key concepts like servers, surfing the web, and technologies used on the modern web like HTML, CSS, JavaScript. It then demonstrates how to structure a basic HTML page with the necessary tags and elements for the document structure, metadata, title, body, and a sample link.
This document provides a summary of a presentation about using library resources to get the best grades. It covers evaluating different types of resources based on currency and authority, producing a good varied bibliography, and correctly writing references. The presentation includes tasks where students evaluate sample bibliographies, correct references in a sample bibliography, and a quiz to conclude the session. The overall aim is to help students understand how to effectively use and cite library resources in their assignments.
This document outlines Jessica Lappin's vision as Manhattan borough president to empower communities through community-based planning. Her key initiatives include: 1) Working with community boards to create and regularly update 197-a plans to guide neighborhood development; 2) Creating a Community Board College program to provide training to board members on planning issues; and 3) Developing a CommunityStat software program to track constituent complaints and identify problems to direct city resources towards improving services.
This 3 page document contains initial ideas and proposals for designing a front cover, contents page, and double page spread. The front cover ideas focus on titles and imagery. The contents page ideas explore layout and formatting options. The double page spread concepts consider visual elements and storytelling approaches.
Steps for adding sitemap to webmaster toolOM Maurya
Google Search Console (previously Google Webmaster Tools) is a no-charge web service by Google for webmasters. It allows webmasters to check indexing status and optimize visibility of their websites.
R&B originated in the late 1970s when artists like Michael Jackson and Quincy Jones added electronic elements to black music to make it more danceable. Over the decades that followed, R&B evolved as different artists incorporated elements of hip hop and other genres. It grew hugely popular in the 2000s alongside hip hop. Today, R&B is a massively successful global genre with many artists from various backgrounds creating diverse styles of music enjoyed by wide audiences worldwide.
Favicon is a small icon associated with a website, typically displayed in the browser tab or address bar. It is created by taking a logo image and converting it to a 16x16 or 32x32 pixel favicon file format like PNG, GIF, or ICO. To create a favicon, a website owner uploads their logo to an online favicon generator, selects the 16x16 pixel option, downloads the generated favicon.ico file, adds the favicon code to website page headers, and uploads the favicon.ico file and updated pages to their website. Once complete, the favicon logo will display next to the website URL.
An RSS feed is a file that contains the latest content from a blog or website in an easily readable format. It includes items that each have a title, description, and link. RSS feeds are made of XML tags to designate these parts and allow automatic updating of content. To create an RSS feed, one can manually write the XML code or use an online generator. The generator asks for website details and feed items, generates the XML code, and saves it as an RSS file to upload and validate on a validation site to check for errors.
Chapple, R. M. 2014 A Game of Murals. Westeros & Changing Times in East Belfa...Robert M Chapple
This document summarizes and discusses a large mural celebrating Game of Thrones that was painted beside a Twelfth of July bonfire in East Belfast, Northern Ireland in 2014. The mural uses iconic images from the series set against a flowing map of Westeros. The author notes this mural represents a cultural shift away from traditional sectarian political murals toward more inclusive street art influenced by pop culture. While some locals still engage in racism, murals like this one give hope that the area is becoming more open to outside cultural influences.
An RSS feed is a file that contains the latest content from a source in a standardized format. It uses tags like <title>, <description>, and <link> to define items that each represent a piece of content. RSS feeds allow content to be automatically updated and syndicated across different directories and sites. To create an RSS feed, one can either manually write the XML code following the basic syntax structure, or use an online RSS generator tool. The tool allows entering website details and pages to include as feed items. Once generated, the RSS file should be uploaded and its validity can be checked using an online validator.
how to setup Google analytics tracking code for websiteOM Maurya
Google Analytics is a free web analytics service provided by Google that tracks and reports website traffic. To use it, you first sign up for a Google Analytics account and get a tracking ID. Then you copy the tracking code into the <head> section of all the web pages you want to track. Finally, you can view real-time reports on your website traffic and activity in your Google Analytics account. In summary, Google Analytics allows you to track website traffic by generating a tracking code, adding it to your site pages, and viewing analytics reports.
A sitemap is an XML file that lists the URLs of a website and includes additional metadata about each page, such as update frequency and importance. This allows search engines to better understand the site's structure and content. The document then provides 8 steps for creating a sitemap using an online generator, downloading the sitemap.xml file, uploading it to the website files via FTP, and verifying it is accessible at the sitemap.xml URL.
Este documento describe los elementos clave de un reporte académico. Explica que un reporte presenta los resultados de una investigación y contiene información de diferentes fuentes. Además, destaca que un reporte debe tener un orden lógico y claro, y respaldar la información con argumentos y referencias confiables. Finalmente, resume los elementos mínimos que debe contener un reporte como introducción, métodos, resultados y bibliografía.
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
The keynote shares some tips and best practices to choose a hosting package for your WordPress sites.
Originally presented by HostDime India at WordPress Trivandrum Meetup on 20 January 2018.
This document provides a tutorial on how to create and configure .htaccess files to modify the behavior of an Apache web server. It explains how to create friendly URLs, redirect domains and subdomains, disable directory listings, configure error pages, and more. The document provides code examples for common tasks like redirection, rewriting URLs, and hiding file extensions.
This document summarizes an instructor-led meeting about advanced Apache topics including virtual hosting, setting up name-based and IP-based virtual hosts, enabling server-side includes, and enabling CGI scripts. Key points covered include configuring Apache for virtual hosting using VirtualHost blocks, setting up name-based virtual hosting with NameVirtualHost, and enabling CGI scripts through ScriptAlias directives or directory options.
AEM (CQ) Dispatcher Security and CDN+Browser CachingAndrew Khoury
This presentation cover Adobe AEM Dispatcher security and CDN and browser caching.
This presentation is the second part of a webinar on AEM Dispatcher:
http://dev.day.com/content/ddc/en/gems/dispatcher-caching---new-features-and-optimizations.html
Visit url above to view the whole presentation. Domique Pfister the primary engineer developing AEM Dispatcher covers the first part on new features.
Modern Web Apps should be focused, rich, and gorgeous, but they also need to be FAST. After all, being rich and beautiful isn't always enough!
With web apps, faster is always better; nobody will ever complain that your site is too fast!
The document discusses new features in Rails 5.2 including Active Storage, Redis Cache Store, HTTP/2 Early Hints, Bootsnap, CSP, and Credentials. It provides details on Redis Cache Store, HTTP/2 Early Hints, Bootsnap, encrypted credentials, managing keys, and Content Security Policy. The presentation includes demos of credentials and a Content Security Policy violation report.
This document summarizes an instructor-led discussion on advanced Apache topics including virtual hosting, setting up name-based and IP-based virtual hosts, enabling server-side includes, and enabling CGI (Common Gateway Interface) scripts. Key points covered include configuring Apache for virtual hosting using the VirtualHost directive, enabling CGI scripts through ScriptAlias, Options ExecCGI, and AddHandler directives, and examples of simple CGI scripts.
This document discusses various techniques for optimizing the frontend performance of web applications. It provides 5 rules: 1) Only optimize when it makes a meaningful difference. 2) Download resources in parallel to reduce page load time. 3) Eliminate unnecessary requests through techniques like merging, inlining, sprites and caching. 4) Defer parsing of JavaScripts when possible to improve perceived page load speeds. 5) Consider factors like server location and content delivery networks to improve global performance.
The document discusses securing Apache web servers through the use of Mod Security and the Center for Internet Security (CIS) benchmark. It provides an agenda that covers establishing a secure foundation through hardening the operating system and DNS, minimizing the attack surface by disabling unnecessary modules and permissions, implementing access controls, using Mod Security for web application firewall capabilities, and logging and monitoring.
This document discusses securing Apache web servers with Mod Security and the Center for Internet Security (CIS) benchmark. It provides an overview of Mod Security features for web application firewall protection and filtering. It also covers recommendations for securing the Apache configuration such as disabling unnecessary modules, access controls, limiting HTTP methods, and logging/monitoring.
The document discusses the need for web servers to provide various web services for a company. It provides an overview of the history and development of the World Wide Web and web servers. It then describes key features and functions of the Apache web server, including caching, logging, mapping URLs to files, access control, server-side includes, and virtual hosting.
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertChetan Soni
This document provides tips for securing a WordPress website. It lists 27 steps including disabling custom HTML, removing default posts and comments, deleting installation files, hiding indexes, blocking directories, securing the admin page, limiting login attempts, scanning for malware, creating custom secret keys, changing the database prefix, protecting configuration files, monitoring the site, hiding the login page, checking for content copying, scanning for exploits, using email as the login key, keeping logs of errors, activating the Akismet plugin, using maintenance mode, restricting admin access by IP, banning users, preventing access to folders, protecting individual files, disabling hotlinking, stopping spam, and optimizing the database. The document recommends using various WordPress security plugins and provides
Tips on Securing Drupal Sites - DrupalCamp Atlanta (DCA)cgmonroe
This is an updated version of this talk given at DrupalCamp Atlanta (DCA)
This presentation is an overview / case study of things learned by experiencing GDPR Security audits, DoS attacks, brute force login attacks, annoying robot crawlers, and hackers doing security probes.
The session will cover the following main topics with tips on how to protected against each of these.
An overview of security threats
Server Level Attacks
Code Level Attacks
User Access Attacks
Internal Attacks
Some suggestions on developing a security plan
People attending should come away with useful knowledge (modules, best practices, sites that help, front end tools and the like) that will help secure their sites.
My slides from WordCamp Dhaka 2019 on WordPress Scaling. In this session I explained performance optimisation using HTTP/2, Caching and compressing resources.
I also explained how to Dockerize WordPress to make it easier to scale.
This document summarizes a presentation about backing up WordPress websites. It discusses why backups are important, what should be backed up (database and files), when backups should occur (daily, weekly, monthly), where backups should be stored (off server in the cloud), and different methods for backing up (manual, plugins, services, site managers). The presentation emphasizes that automated backups are necessary to ensure backups actually happen regularly and that backups should be tested to ensure they can be restored.
Presentation from webinar held on August 19th, 2020, with Xdebug developer Derick Rethans and Seravo CEO Otto Kekäläinen.
This presentation shows you how to use Xdebug (which is very easy with the Seravo WordPress development environment!) to make a record of what the WordPress PHP code does during a website page load, and how to use that information to optimize the performance of your WordPress site.
For a video recording and Dericks presentation see https://seravo.com/blog/webinar-xdebug-profile-php/
This document discusses various front-end performance tips for ASP.NET web applications, including minimizing HTTP requests, using a content delivery network, adding expiration headers, compressing content, optimizing stylesheet and script placement, avoiding redirects, caching AJAX requests, and minifying JavaScript. It provides details on tools like FireBug and YSlow for testing front-end performance, and how to implement many of the recommendations in ASP.NET.
This document provides an overview of WordPress and considerations for website planning and hosting. It discusses content management systems (CMS), why one might choose WordPress, and free or low-cost hosting and domain registration options. It also covers WordPress jargon, how to create a WordPress site, useful plugins, and where to find help. While WordPress is very popular, the document notes there may be better options depending on one's needs and budgets.
Rick Radko gave a presentation on backups for WordPress sites. He discussed why backups are important due to risks of hardware failures, human errors, hacking or malware. He explained that to fully back up a WordPress site, both the database and files need to be backed up. Radko then covered considerations for what to back up, when to back up based on site activity, and where backups should be stored offsite for safety. Finally, he outlined different methods for backing up including manual processes, backup plugins, backup services, and site managers. Throughout, he stressed the importance of testing restores and automating backups.
Ready to Unlock the Power of Blockchain!Toptal Tech
Imagine a world where data flows freely, yet remains secure. A world where trust is built into the fabric of every transaction. This is the promise of blockchain, a revolutionary technology poised to reshape our digital landscape.
Toptal Tech is at the forefront of this innovation, connecting you with the brightest minds in blockchain development. Together, we can unlock the potential of this transformative technology, building a future of transparency, security, and endless possibilities.
1. Learn how to use
the .htaccess file
A quick and handy tutorial
2. What is .htaccess ?
The .htaccess file is a configuration file for
web servers running the Apache Web
server software
December 2014 http://www.istogram.com 2
3. What is .htaccess ?
Configuration is performed by .htaccess
on a per-directory basis
December 2014 http://www.istogram.com 3
4. What is .htaccess ?
The dot before the filename means
that the file is hidden (in Unix-like
Operating Systems)
December 2014 http://www.istogram.com 4
5. Use .htaccess for :
● URL rewriting (pretty URLs, easy
to remember URLs, SEF URLs)
December 2014 http://www.istogram.com 5
6. Use .htaccess for :
● URL redirects (site migrations,
site upgrades, duplicate content)
December 2014 http://www.istogram.com 6
7. Use .htaccess for :
● Basic authentication
December 2014 http://www.istogram.com 7
8. Use .htaccess for :
● Security increase by blocking IP
addresses
December 2014 http://www.istogram.com 8
9. Use .htaccess for :
● Enabling gzip compression to
optimize performance
December 2014 http://www.istogram.com 9
10. Use .htaccess for :
● Creating custom error pages
December 2014 http://www.istogram.com 10
11. Use .htaccess for :
● Hiding directory listings
December 2014 http://www.istogram.com 11
12. Use .htaccess for :
● Enabling browser caching
December 2014 http://www.istogram.com 12
13. How to make a .htaccess:
● Use any text editor (such as
NotePad, UltraEdit, TextEdit, Vim)
December 2014 http://www.istogram.com 13
14. Examples :
URL rewrite
RewriteEngine on
RewriteRule ^new_fancy.html$ old_ugly.html
# This directive allows us to type
# /new_fancy.html and get the file
# /old_ugly.html
December 2014 http://www.istogram.com 14
15. Examples :
URL redirect
REDIRECT DOMAIN.COM TO WWW.DOMAIN.COM
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
December 2014 http://www.istogram.com 15
16. Examples :
URL redirect
REDIRECT WWW.DOMAIN.COM TO DOMAIN.COM
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
December 2014 http://www.istogram.com 16
19. Examples :
Password protection
AuthName "Member's Area Name"
AuthUserFile /path/to/password/file/.htpasswd
AuthType Basic
require valid-user
.htpasswd :
username:encryptedpassword
fred_smith:oCF9Pam/MXJg2
Note that the password must be encrypted!
December 2014 http://www.istogram.com 19
21. Examples :
Deny visitors by IP address
order allow,deny
deny from 255.0.0.0
deny from 123.45.6.
allow from all
Users from the IP address '255.0.0.0' as well as from
the IP range '123.45.6.1' to '123.45.6.255' will be blocked.
December 2014 http://www.istogram.com 21
24. Summary :
The .htaccess file can be a valuable tool for a
variety of tasks.
Learning how to use a .htaccess file is an
essential skill for any webmaster.
December 2014 http://www.istogram.com 24
25. Thank you!
You may also visit our blog at :
http://www.istogram.com/en/blog.html
December 2014 http://www.istogram.com 25