Re: [users@httpd] Configuration question
On Thu, Jan 30, 2020 at 09:31 o1bigtenor wrote: > On Wed, Jan 29, 2020 at 5:28 PM Tom Browder wrote: ... > > > > > But I'm in the process of putting most of the config online. I'll put > > > > my main macro first. > > > > And for the whole conf directory see this: > > > > https://github.com/tbrowder/apache-httpd-tidbits/tree/master/conf > > > Thank you very very much for sharing!!! > You're very welcome--I'm glad it's helpful. Be warned that the reverse proxy macro hasn't been tested yet. But I hope to be able to do so soon. -Tom
Re: [users@httpd] Configuration question
On Wed, Jan 29, 2020 at 5:28 PM Tom Browder wrote: > > On Wed, Jan 29, 2020 at 3:34 PM Tom Browder wrote: > > On Wed, Jan 29, 2020 at 11:47 AM Tom Browder wrote: > > > > >... > > > But I'm in the process of putting most of the config online. I'll put > > > my main macro first. > > And for the whole conf directory see this: > > https://github.com/tbrowder/apache-httpd-tidbits/tree/master/conf > Thank you very very much for sharing!!! I had the joy of finding that a log file .xsession-errors had blown up to where I had an unresponsive system. So that will put a crimp in things for a few days. Will be finishing my server setup some time over the next few days - - - thinking that these example files will help what I'm trying to do a LOT. Looking at a working example that has more than any one specific part I have found to be quite useful in setting up new or different things. Again thanks! - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Wed, Jan 29, 2020 at 3:34 PM Tom Browder wrote: > On Wed, Jan 29, 2020 at 11:47 AM Tom Browder wrote: > > > >... > > But I'm in the process of putting most of the config online. I'll put > > my main macro first. And for the whole conf directory see this: https://github.com/tbrowder/apache-httpd-tidbits/tree/master/conf -Tom - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Wed, Jan 29, 2020 at 11:47 AM Tom Browder wrote: > > >... > But I'm in the process of putting most of the config online. I'll put > my main macro first. See the following for my main vhost macro: https://github.com/tbrowder/apache-httpd-tidbits/blob/master/MACROS.md -Tom - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Wed, Jan 29, 2020 at 9:20 AM o1bigtenor wrote: > On Wed, Jan 29, 2020 at 7:14 AM Tom Browder wrote: > > https://www.ssllabs.com/ssltest/ > > > > Check one of my sites and see for yourself: > > > > https://freestatesofamerica.org > > > (Grin) Didn't find that there was anything I could 'do' there. Nope, it's a purely static site. The point was my setup provides A+ security using https, which you can confirm by putting its name into the testing window at SSL Labs.. But I'm in the process of putting most of the config online. I'll put my main macro first. -Tom - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Wed, Jan 29, 2020 at 7:14 AM Tom Browder wrote: > > On Tue, Jan 28, 2020 at 13:07 o1bigtenor wrote: > > On Tue, Jan 28, 2020 at 9:49 AM Eric Covener wrote: > > > > How can I have different document roots for various applications on the > > > > same server? > > > virtual hosts. > > > > Thanking you for your assistance. To those others that had also responded > > - - - thank you - - - - I hope that this set of exchanges might be useful to > > someone else - - - - at least someday. > ... > > I feel your pain. I have a working website with multiple virtual hosts > and will be happy to share my setup (sanitized a bit) in a public > place if you're interested. The examples in the Apache docs don't show > the full power of using macros for secure and working https-only > websites. > > My virtual websites all get A+ grades at the SSL Labs site here: > > https://www.ssllabs.com/ssltest/ > > Check one of my sites and see for yourself: > > https://freestatesofamerica.org > (Grin) Didn't find that there was anything I could 'do' there. I would be quite interested in seeing such 'config' files. Am finding that vi (or vim or however you call it) has this quite neat way of removing all x and replacing with y. Thanking you for your willingness to share! - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Tue, Jan 28, 2020 at 13:07 o1bigtenor wrote: > On Tue, Jan 28, 2020 at 9:49 AM Eric Covener wrote: > > > How can I have different document roots for various applications on the > > > same server? > > virtual hosts. > > Thanking you for your assistance. To those others that had also responded > - - - thank you - - - - I hope that this set of exchanges might be useful to > someone else - - - - at least someday. ... I feel your pain. I have a working website with multiple virtual hosts and will be happy to share my setup (sanitized a bit) in a public place if you're interested. The examples in the Apache docs don't show the full power of using macros for secure and working https-only websites. My virtual websites all get A+ grades at the SSL Labs site here: https://www.ssllabs.com/ssltest/ Check one of my sites and see for yourself: https://freestatesofamerica.org HTH -Tom - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Tue, Jan 28, 2020 at 9:49 AM Eric Covener wrote: > > > How can I have different document roots for various applications on the > > same server? > > virtual hosts. Thanking you for your assistance. To those others that had also responded - - - thank you - - - - I hope that this set of exchanges might be useful to someone else - - - - at least someday. Regards - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
> How can I have different document roots for various applications on the > same server? virtual hosts. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On Tue, Jan 28, 2020 at 9:23 AM Richard wrote: > > > > > Date: Monday, January 27, 2020 22:21:30 -0700 > > From: "@lbutlr" > > > >> On 27 Jan 2020, at 19:27, Richard wrote: > >> > >> If you're trying to serve your content via http, which appears to > >> be your goal, then to serve it out on different ports - without > >> using the apache virtual host configuration - you'd need to have > >> multiple instances of apache running. That's possible, but very > >> ugly. > > > > Is this a change in recent versions? I recall using apache in the > > past to server pages on port 80 and 8080 and 8081 all from the same > > conf file. > > > > I mean, I am reasonably sure it was apache, though it was quite a > > long time ago (1.3 days, probably) > > Yes, you can serve content on different ports, without benefit of > virtual hosts, but can you serve different content - i.e., have > different document roots? It's very possible that my memory is foggy > on this. [I do find things like :8080 to be very confusing to users > so avoid that approach.] > > Thank you - - - - - I seem to have come full circle. In trying to install the second application on my server I found that applicationb wanted exactly that - - - - a different document root. This, to me at least, confusing journey is a trying to solve exactly that. How can I have different document roots for various applications on the same server? (Hopefully this is a 'better' question!) TIA - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
> Date: Monday, January 27, 2020 22:21:30 -0700 > From: "@lbutlr" > >> On 27 Jan 2020, at 19:27, Richard wrote: >> >> If you're trying to serve your content via http, which appears to >> be your goal, then to serve it out on different ports - without >> using the apache virtual host configuration - you'd need to have >> multiple instances of apache running. That's possible, but very >> ugly. > > Is this a change in recent versions? I recall using apache in the > past to server pages on port 80 and 8080 and 8081 all from the same > conf file. > > I mean, I am reasonably sure it was apache, though it was quite a > long time ago (1.3 days, probably) Yes, you can serve content on different ports, without benefit of virtual hosts, but can you serve different content - i.e., have different document roots? It's very possible that my memory is foggy on this. [I do find things like :8080 to be very confusing to users so avoid that approach.] - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Configuration question
On 27 Jan 2020, at 19:27, Richard wrote: > If you're trying to serve your content via http, which appears to be > your goal, then to serve it out on different ports - without using > the apache virtual host configuration - you'd need to have multiple > instances of apache running. That's possible, but very ugly. Is this a change in recent versions? I recall using apache in the past to server pages on port 80 and 8080 and 8081 all from the same conf file. I mean, I am reasonably sure it was apache, though it was quite a long time ago (1.3 days, probably) -- When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is probably wrong. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org