Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.
Pagabile anche con Carta della cultura giovani e del merito, 18App Bonus Cultura e Carta del Docente
Apache is the most widely used web server on the Internet today, and that comes as no surpriseits open source and therefore free of charge, not to mention gloriously extensible. And its much more secure than other web servers.
So youve picked this book up and youre wondering what exactly makes it different from all those other Apache books? There are hundreds of books about Apache; books that promise to unleash its power, provide a complete reference for it, or delve into the most miniscule corners of its functionality.
The problem is that none of them talks to the average web designer or developer. Most books on Apache are written by propellerheads for propellerheads. None of them explain how to configure Apache using plain language, giving examples that matter to youbut Apache Essentials does!
In Apache Essentials, Ill show you how to install, configure, and maintain Apache. The key features that youll use on a daily basis will be emphasized. Youll learn how to host secure (SSL) sites, optimize key Apache modules, use Apache with Perl and PHP, work with Server Side Includes (SSI), and take advantage of the information contained in log files.
By the time youre done reading this book, youll be an Apache superstar!
Introduction: Revisiting Apache Essentials
Goals
• Learn about Apache and get very brief history of its origins and use.
• Discover what you will learn from Apache and what you will be able to accomplish with it.
• Question: where to use Apache or another web server, and what the benefits/drawbacks of each are.
Chapter 1: Installing Apache
Goals:
• Feel confident installing Apache on Windows, Linux, and MacOS for a development environment.
• Create a running installation of Apache serving its Hello World static HTML file.
Subtopics
• Instal Apache.
• Question: should to use something other than Apache?
• Manage dependencies (PHP, RewriteEngine, etc).
Chapter 2: Configuration Essentials
Goals
• Set up a basic Apache instance pointing to static HTML on http://localhost/.
• Develop an understanding of commonly used Apache directives.
• Learn .htaccess files and how/when to use them.
Subtopics
• Structure of Apache configuration files.
• Commonly used configuration directives.
• The .htaccess file. Benefits & drawbacks of putting configuration options in .htaccess.
• Put it all together.
Chapter 3: Scripting languages
Goals:
• Learn how the web server and programming languages work together to create websites.
• Configure your website securely for PHP or NodeJS.
• Configure your localhost to load an index.php instead of the default Apache HTML file.
Subtopics
• Overview.
• Commonly used scripting environments.
• PHP on Apache.
• NodeJS on Apache.
• Put it all together.
Chapter 4: setting up virtual hosts for development
Goals
• Learn about Apache virtual hosts and how to configure them.
• Set up a local dev domain — using local DNS settings or a tool such as ngrok.
• Create two development environments configured and accessible through the browser; one for PHP and another for NodeJS.
Subtopics
• Overview of virtual hosts.
• Set up a local dev domain.
• Configure Apache for multiple virtual hosts.
• Configure Apache for modern PHP and Node frameworks (example of setting up a NodeJS application).
Chapter 5: Securing your setup
Goals
• Understand the importance of using HTTPS by default.
• Recognize what SSL certificates are and how they work to secure communication between the browser and the server.
• Install an SSL certificate on their local Apache setup.
Subtopics
• How HTTPS works to secure data and why this is important.
• Get a certificate for your development environment.
• Put it all together.
Chapter 6: Using log files to troubleshoot your code
Goals
• Learn about Log files and what information they provide.
• Troubleshoot code problems via Apache’ s log files.
Subtopics
• About Apache’s log files.
• Configure Apache log files.
• Common troubleshooting patterns for PHP and NodeJS.
• A troubleshooting story (leads reader through analyzing and identifying an issue in a piece of faulty PHP code).
Chapter 7: Sample Apache Configurations
Goals
• Use one the 4-5 example Apache configurations in your own Apache configurations.
Subsections
• Basic configuration for PHP.
• Basic configuration for NodeJS.
• Protecting a directory / domain.
• Virtual Host configuration.
• Configuring for Rewritten URLs (URL redirecting).
Afterword
Goals
• Revisit main concepts from book. Looking forward to next steps.
Like most of the world, Darren James Harkness started his coding career with “Hello world!” on a computer he bought himself at the local office supply store. Originally registered as a computer science major, he quickly learned there might be a different way to participate in technology better suited to his skill set than hard coding. From that point on Darren turned to writing for the web, writing about the web, and managing smart people who do the same. He has never looked back.
Darren lives in the lower mainland of British Columbia where he still spends too much time online, much to the chagrin of his partner, son, cat, and scruffy dog.
Il sito utilizza cookie ed altri strumenti di tracciamento che raccolgono informazioni dal dispositivo dell’utente. Oltre ai cookie tecnici ed analitici aggregati, strettamente necessari per il funzionamento di questo sito web, previo consenso dell’utente possono essere installati cookie di profilazione e marketing e cookie dei social media. Cliccando su “Accetto tutti i cookie” saranno attivate tutte le categorie di cookie. Per accettare solo deterninate categorie di cookie, cliccare invece su “Impostazioni cookie”. Chiudendo il banner o continuando a navigare saranno installati solo cookie tecnici. Per maggiori dettagli, consultare la Cookie Policy.