Harkness | Apache Essentials | Buch | 978-1-4842-8323-3 | sack.de

Buch, Englisch, 187 Seiten, Paperback, Format (B × H): 178 mm x 254 mm, Gewicht: 402 g

Harkness

Apache Essentials

Install, Configure, Maintain

Buch, Englisch, 187 Seiten, Paperback, Format (B × H): 178 mm x 254 mm, Gewicht: 402 g

ISBN: 978-1-4842-8323-3
Verlag: Apress


* Covers the most up-to-date versions of the technology.

* Teaches subject using real world tutorials.

* Subject is taught in a very concise, no-nonsense fashion, wasting little time on history and other fluff. Book is therefore compact and portable. It gives you just what you need.

* Demystifies what is sometimes thought of as an intimidating subject.

* Covers Apache for Windows, Mac/Unix, and Linux.

* Full book support available online and via e-mail.
Harkness Apache Essentials jetzt bestellen!

Zielgruppe


Popular/general


Autoren/Hrsg.


Weitere Infos & Material


-
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.


Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.