Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #220958
| From | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | apache 2.4 configuration |
| Date | 2020-04-06 08:50 +0200 |
| Message-ID | <zStK1-7P4-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
I am searching for a guide for configuration of Apache 2.4 on Debian 10. Thus far, my web searches have found guides for Debian 9 and guides for Apache 2.2. I am aware of "https://httpd.apache.org/docs/2.4/" and am digesting it as rapidly as I can. I have been working my way through the Chapter 11 tutorial of the O'Reilly Perl Template Toolkit. I am about halfway through the chapter, starting to create a menu. I can see the topmost page, "index.html" and the menu, but when I click on any of the menu items, the browser complains that the page cannot be found. For example, "index.html" and "about.html" are in the same directory, but the browser cannot display "about.html". After carefully checking my code against the example code published by O'Reilly, I conclude that I must have an error in my Apache 2.4 configuration. The HTML generated by the toolkit is placed in the directory "/home/rlh/web/ttbook/html/", while images are placed in "/home/rlh/web/ttbook/images/". The tutorial, written for Apache 2.2, recommends: Alias /ttbook/images/ /home/rlh/web/ttbook/images/ Alias /ttbook/ /home/rlh/web/ttbook/html/ Directory /home/rlh/web/ttbook/ Supposedly, the result is: = The root document URL is "/ttbook/". = The root images URL is "/ttbook/images/". = The default host is "http://localhost/". With my current mis-configuration, the generated HTML is visible at "file:///home/rlh/web/ttbook/html/index.html" but not at "http://localhost/index.html". I think that, to begin with, I need to find a good explanation of the concept of "localhost". Hopefully that is somewhere in the Apache 2.4 official documentation. RLH
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
apache 2.4 configuration "Russell L. Harris" <russell@rlharris.org> - 2020-04-06 08:50 +0200
Re: apache 2.4 configuration john doe <johndoe65534@mail.com> - 2020-04-06 11:00 +0200
Re: apache 2.4 configuration Andrei POPESCU <andreimpopescu@gmail.com> - 2020-04-06 13:00 +0200
Re: apache 2.4 configuration Joe <joe@jretrading.com> - 2020-04-06 13:50 +0200
Re: apache 2.4 configuration "Russell L. Harris" <russell@rlharris.org> - 2020-04-11 10:00 +0200
Re: apache 2.4 configuration Joe <joe@jretrading.com> - 2020-04-11 10:50 +0200
csiph-web