Re: How to set umask for apache2

2025-05-28 Thread Chris Green
Greg Wooledge wrote: > On Wed, May 28, 2025 at 15:34:39 +0100, Chris Green wrote: > > ... and I have set UMask in the systemd apache2.service:- > > > > chris$ more /etc/systemd/system/apache2.service.d/override.conf > > [service] > > UMask=0002 &

Re: How to set umask for apache2

2025-05-28 Thread Greg Wooledge
On Wed, May 28, 2025 at 15:34:39 +0100, Chris Green wrote: > ... and I have set UMask in the systemd apache2.service:- > > chris$ more /etc/systemd/system/apache2.service.d/override.conf > [service] > UMask=0002 Shouldn't that square-bracket header be capitalized

Re: How to set umask for apache2

2025-05-28 Thread Max Nikulin
On 28/05/2025 21:34, Chris Green wrote: chris$ more /etc/systemd/system/apache2.service.d/override.conf [service] UMask=0002 [...] chris$ systemctl show apache2.service | grep -i umask UMask=0022 So why can't I set it!!?? I think, you can, but you need to fix a

Re: How to set umask for apache2

2025-05-28 Thread Šarūnas Burdulis
On 5/28/25 10:34 AM, Chris Green wrote: [...] ... and I have set UMask in the systemd apache2.service:- chris$ more /etc/systemd/system/apache2.service.d/override.conf [service] UMask=0002 It may necessary to reset UMask first, i.e.: [Service] UMask= UMask=0002 -- Šarūnas

How to set umask for apache2

2025-05-28 Thread Chris Green
I am running apache2 on my debian 12 system. I am trying to set the umask for apache2 to 0002 but I'm failing miserably. I have set umask in both /etc/apache2/envvars:- chris$ tail -10 /etc/apache2/envvars ## Enable the debug mode for maintainer scripts. ## This will prod

Re: Apache2 permissions?

2025-03-08 Thread Van Snyder
On Fri, 2025-03-07 at 21:44 -0500, Jeffrey Walton wrote: > It is not clear to me why you want vsnyder:adm, and why you want the > world to have access to anything. > > Here's how I set up permissions on Apache. It is part of my hardened > system. > >     # Root owns everything. Apache only gets r

Re: Apache2 permissions?

2025-03-08 Thread Greg Wooledge
On Sat, Mar 08, 2025 at 17:14:44 -0800, Van Snyder wrote: > I want to be able to change the web without logging in as root. I > occasionally need to send files to recipients that are big enough > suffocate their mail readers. Putting a soft link to it in /opt/www > without hooking it to my index is

Re: Apache2 permissions?

2025-03-07 Thread tomas
t: 2024-10- > > 04T15:21:08 > >  > > Both machines show one "/usr/sbin/apache2 -k start" process owned by > > root and three owned by www-data > >  > > Both are running Apache/2.4.62 (Debian), Server built: 2024-10- > > 04T15:21:08 > …. > > We

Re: Apache2 permissions?

2025-03-07 Thread Jeffrey Walton
On Fri, Mar 7, 2025 at 4:07 PM Van Snyder wrote: > > I have two computers, both running Debian 12.5 with kernel 6.1.0-31-amd64 > > Both are running Apache/2.4.62 (Debian), Server built: 2024-10-04T15:21:08 > > Both machines show one "/usr/sbin/apache2 -k start" proces

Re: Apache2 permissions? Solved?

2025-03-07 Thread Jeffrey Walton
> There is no DocumentRoot setting in the /etc/apache2/apache2.conf on either > machine. One works, the other doesn't. > > On both machines, ServerRoot is commented out. > > > The DocumentRoot setting is, "conveniently" not in /etc/apache2/apache2.conf. > I

Re: Apache2 permissions? Solved?

2025-03-07 Thread Van Snyder
On Fri, 2025-03-07 at 14:29 -0800, Van Snyder wrote: > On Fri, 2025-03-07 at 20:44 +0100, to...@tuxteam.de wrote: > > Somewhere there should be a DocumentRoot which you might want to > > adjust accordingly. > > There is no DocumentRoot setting in the /etc/apache2/apache2.con

Re: Apache2 permissions?

2025-03-07 Thread Van Snyder
On Fri, 2025-03-07 at 20:44 +0100, to...@tuxteam.de wrote: > Both have web pages in /opt/www, not /var/www, so they don't > disappear > > when I re-install. > > They shouldn't, but I don't know how you "re-install", When I reinstall, I reformat / and /boot, and /var isn't in a separate partition,

Re: Apache2 permissions?

2025-03-07 Thread Van Snyder
On Fri, Mar 07, 2025 at 11:10:48AM -0800, Van Snyder wrote: > I have two computers, both running Debian 12.5 with kernel 6.1.0-31- > amd64 >  > Both are running Apache/2.4.62 (Debian), Server built: 2024-10- > 04T15:21:08 >  > Both machines show one "/usr/sbin/apache2

Re: Apache2 permissions?

2025-03-07 Thread Van Snyder
On Fri, 2025-03-07 at 20:44 +0100, to...@tuxteam.de wrote: > Somewhere there should be a DocumentRoot which you might want to > adjust accordingly. There is no DocumentRoot setting in the /etc/apache2/apache2.conf on either machine. One works, the other doesn't. On both machines, Se

Re: Apache2 permissions?

2025-03-07 Thread tomas
On Fri, Mar 07, 2025 at 11:10:48AM -0800, Van Snyder wrote: > I have two computers, both running Debian 12.5 with kernel 6.1.0-31- > amd64 > > Both are running Apache/2.4.62 (Debian), Server built: 2024-10- > 04T15:21:08 > > Both machines show one "/usr/sbin/apache2

Apache2 permissions?

2025-03-07 Thread Van Snyder
I have two computers, both running Debian 12.5 with kernel 6.1.0-31- amd64 Both are running Apache/2.4.62 (Debian), Server built: 2024-10- 04T15:21:08 Both machines show one "/usr/sbin/apache2 -k start" process owned by root and three owned by www-data. Both have web pages in /opt/www

Re: apache2 error after upgrade Buster->Bookworm

2024-10-25 Thread aces and eights
es and eights wrote: > > > ~$ systemctl status apache2.service > [...] > > Your config is ok. > > >> > $ apache2 -V > > I miss this point: you should use apachectl -V or apache2ctl -V if you > want to look at your running apache with all default values set > >

Re: apache2 error after upgrade Buster->Bookworm

2024-10-25 Thread Michel Verdier
On 2024-10-24, aces and eights wrote: > ~$ systemctl status apache2.service [...] Your config is ok. >> > $ apache2 -V I miss this point: you should use apachectl -V or apache2ctl -V if you want to look at your running apache with all default values set

Re: apache2 error after upgrade Buster->Bookworm

2024-10-24 Thread Michel Verdier
On 2024-10-23, aces and eights wrote: > $ apache2 -V > [Wed Oct 23 08:57:39.760030 2024] [core:warn] [pid 4112:tid 4112] AH00111: > Config variable ${APACHE_RUN_DIR} is not defined > apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: > DefaultRuntimeDir must be a

Re: roundcube (Was: apache2 error after upgrade Buster->Bookworm)

2024-10-24 Thread Karl Vogel
On Thu 24 Oct 2024 at 08:35:32 (-0400), aces and eights wrote: > I would like to get roundcube back working as Mutt although being ever so > quick seems to have quite a lot of daunting options and not brave enough > to try to send with. It's not that bad. For this message, I pressed 'r' for rep

Re: apache2 error after upgrade Buster->Bookworm

2024-10-24 Thread aces and eights
I would like to get roundcube back working as Mutt although being ever so quick seems to have quite a lot of daunting options and not brave enough to try to send with. ~$ systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2

apache2 error after upgrade Buster->Bookworm

2024-10-23 Thread aces and eights
this email may go anywhere. After putting it off for ages I upgraded the PC that does Dovecot, Roundcube and some other things from Buster to Bookworm. There seems to be an error with apache2. The apache2 index file I made as a page of links to things on the server. Likely you are not supposed to

Re: Error: Failed to start Apache2 service on boot

2024-03-01 Thread Dan Ritter
Stephen P. Molnar wrote: > > > On 03/01/2024 11:08 AM, Markus Schönhaber wrote: > > > > [1] Look at /etc/apache2/mods-enabled/userdir.conf line 11 > > there you should see something like > > [2] "ExecCG" which probably should read "ExecCGI&qu

Re: Error: Failed to start Apache2 service on boot

2024-03-01 Thread Stephen P. Molnar
On 03/01/2024 11:08 AM, Markus Schönhaber wrote: 01.03.24, 16:36 +0100, Stephen P. Molnar: I am running up to date Bookworm and get the 'Failed to start Apache2 service on boot' error message. I searched Google and found https://forums.debian.net/voew.top9c,php?t=14419s which di

Re: Error: Failed to start Apache2 service on boot

2024-03-01 Thread Markus Schönhaber
01.03.24, 16:36 +0100, Stephen P. Molnar: > I am running up to date Bookworm and get the 'Failed to start Apache2 > service on boot' error message. > > I searched Google and found > https://forums.debian.net/voew.top9c,php?t=14419s which didn't solve the >

Error: Failed to start Apache2 service on boot

2024-03-01 Thread Stephen P. Molnar
I am running up to date Bookworm and get the 'Failed to start Apache2 service on boot' error message. I searched Google and found https://forums.debian.net/voew.top9c,php?t=14419s which didn't solve the problem. I then tried sudo systemctl status apache2.service resulting

Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Dan Ritter
default web page (from > /var/www/html). The only thing I can think of to explain this is that > /var/www/html must be hard-coded in the Apache2 source as the DocumentRoom. > > Can anyone confirm/deny this, and/or explain why my Apache2 server is not > broken if I don't have

Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
On Fri, May 26, 2023 at 11:35 AM Geert Stappers wrote: > On Fri, May 26, 2023 at 11:18:27AM -0500, Kent West wrote: > > I'm just tinkering, trying to wrap my brain around Apache2. I've done a > > clean-install, and when I look through /etc/apache2/apache2.conf, I

Re: Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Geert Stappers
On Fri, May 26, 2023 at 11:18:27AM -0500, Kent West wrote: > I'm just tinkering, trying to wrap my brain around Apache2. I've done a > clean-install, and when I look through /etc/apache2/apache2.conf, I see no > reference to "DocumentRoot". > > There is o

Is DocumentRoot in Apache2 Hard-coded?

2023-05-26 Thread Kent West
I'm just tinkering, trying to wrap my brain around Apache2. I've done a clean-install, and when I look through /etc/apache2/apache2.conf, I see no reference to "DocumentRoot". There is one in /etc/apache2/sites-[available|enabled]/000-default.conf, so of course, the web-

Re: apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Gareth Evans
On Mon 3 Apr 2023, at 16:28, Gareth Evans wrote: > On Mon 3 Apr 2023, at 13:27, Harald Dunkel wrote: >> Hi folks, >> >> AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate >> CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue >>

Re: apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Gareth Evans
On Mon 3 Apr 2023, at 13:27, Harald Dunkel wrote: > Hi folks, > > AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate > CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue > with high severity). Good thing. > > Unfortunately this introduced 2 regression

Re: apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Vincent Lefevre
On 2023-04-03 15:59:15 +0200, Harald Dunkel wrote: > On 2023-04-03 14:49:16, Vincent Lefevre wrote: > > > > What about apache2 2.4.56-2? > > This version is not in Bullseye. Only 2.4.56-1, introducing > the regressions. If you're talking about Bullseye, 2.4.56-1 is

Re: apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Harald Dunkel
On 2023-04-03 14:49:16, Vincent Lefevre wrote: What about apache2 2.4.56-2? This version is not in Bullseye. Only 2.4.56-1, introducing the regressions.

Re: apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Vincent Lefevre
Hi, On 2023-04-03 14:27:48 +0200, Harald Dunkel wrote: > AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate > CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue > with high severity). Good thing. > > Unfortunately this introduced 2 regressions for mod_rewr

apache2: fix the regressions introduced by security upgrade in Bullseye?

2023-04-03 Thread Harald Dunkel
Hi folks, AFAIU apache2 2.4.56-1 has been included in Bullseye to mitigate CVE-2023-27522 and CVE-2023-25690 (both some mod_proxy issue with high severity). Good thing. Unfortunately this introduced 2 regressions for mod_rewrite and http2, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug

apache2 exited when accessing to type-map wrapped CGI

2022-09-29 Thread Shintaro Sakahara
Hi, I recently upgraded my server from Debian 10 to 11 and encountered a problem where apache2 crashed when a URL to type-map without ".var" suffix was getting accessed. I created a small example using Docker and put on GitHub so that everyone could easily reproduce this probl

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server -- resolved

2022-09-07 Thread Gareth Evans
2022, at 17:55, Gary Dale wrote: >>>>>> I'm using a web hosting company that pretty much limits me to using >>>>>> PHPMailer on their servers for sending complex e-mails (e.g. with >>>>>> attachments). That is working. >>>>>> >>

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server -- resolved

2022-09-07 Thread Gary Dale
much limits me to using PHPMailer on their servers for sending complex e-mails (e.g. with attachments). That is working. [...] However when I try it with my local Apache2 server, it doesn't work. [...] However the test .php file that works on the hosting company's server doesn'

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server

2022-09-07 Thread Gareth Evans
t;>> >>>> On 7 Sep 2022, at 17:55, Gary Dale wrote: >>>> I'm using a web hosting company that pretty much limits me to using >>>> PHPMailer on their servers for sending complex e-mails (e.g. with >>>> attachments). That is working. >>

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server

2022-09-07 Thread Gareth Evans
pretty much limits me to using >>> PHPMailer on their servers for sending complex e-mails (e.g. with >>> attachments). That is working. >>> >>> [...] >> >>> However when I try it with my local Apache2 server, it doesn't work. >> [...]

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server

2022-09-07 Thread Gareth Evans
with >> attachments). That is working. >> >> [...] > >> However when I try it with my local Apache2 server, it doesn't work. > [...] >> However the test .php file that works on the hosting company's server >> doesn't do anything on my local server. I

Re: How do I install PHPMailer on a Debian/Bullseye Apache2 server

2022-09-07 Thread Gareth Evans
 > On 7 Sep 2022, at 17:55, Gary Dale wrote: > I'm using a web hosting company that pretty much limits me to using > PHPMailer on their servers for sending complex e-mails (e.g. with > attachments). That is working. > > [...] > However when I try it with m

How do I install PHPMailer on a Debian/Bullseye Apache2 server

2022-09-07 Thread Gary Dale
directory - so that there is PHPMailer folder in the same folder that has the index.html file. I uploaded a test .php file and it sends mail. However when I try it with my local Apache2 server, it doesn't work. I've got PHP working because I have another PHP script that executes pe

OT, Re: Answering to the question (was: Problem Running Python with Apache2 on Debian)

2022-07-22 Thread john doe
On 7/22/2022 6:50 PM, Nicolas George wrote: Edwin Zimmerman (12022-07-22): You are right.  I stopped reading when I saw the tkinter import. I was considering sending to this list a general advice about answering the question as it is asked, with three checks. You just made me insert a fourth o

Answering to the question (was: Problem Running Python with Apache2 on Debian)

2022-07-22 Thread Nicolas George
Edwin Zimmerman (12022-07-22): > You are right.  I stopped reading when I saw the tkinter import. I was considering sending to this list a general advice about answering the question as it is asked, with three checks. You just made me insert a fourth one at the beginning and convinced me to send i

Re: Problem Running Python with Apache2 on Debian

2022-07-22 Thread Edwin Zimmerman
> Look at the original mail: they want tu execute a CGI. You are right.  I stopped reading when I saw the tkinter import.

Re: Problem Running Python with Apache2 on Debian

2022-07-22 Thread Nicolas George
Edwin Zimmerman (12022-07-22): > Sorry, but this isn't possible to do.  Firefox is treating your .py as > a download.  If you want a browser-based application, you need to look > into using a web framework like django or flask instead of > desktop-based frameworks like tkinter. Please, the questio

Re: Problem Running Python with Apache2 on Debian

2022-07-22 Thread Edwin Zimmerman
On 7/22/22 12:10 PM, ldmko...@yahoo.com wrote: > > I cannot get a python file to execute from html in Apache2 running on Debian > 11.  I will attempt to provide enough information: Sorry, but this isn't possible to do.  Firefox is treating your .py as a download.  If you want a

Re: I *think* I found the apache2 docs, but it's in .html andIcannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-23 Thread rhkramer
The mad snipper strikes -- mwha ha haha On Thursday, June 23, 2022 04:05:40 PM Gareth Evans wrote: > > On 23 Jun 2022, at 01:46, gene heskett wrote: > > On 6/22/22 19:39, Gareth Evans wrote: > >> OK, but I mean do the non-robots.txt-compliant bots actually try to > >> submit passwords? > > > >

Re: I *think* I found the apache2 docs, but it's in .html andIcannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-23 Thread Gareth Evans
> On 23 Jun 2022, at 21:49, gene heskett wrote: > > On 6/23/22 16:08, Gareth Evans wrote: >> OK. That's not something I can help with from scratch, but I will watch >> with interest for further discussion. >> >> Best wishes, >> G > Well, it working in plain http, so until they get to be a

Re: I *think* I found the apache2 docs, but it's in .html andIcannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-23 Thread gene heskett
On 6/23/22 16:08, Gareth Evans wrote: OK. That's not something I can help with from scratch, but I will watch with interest for further discussion. Best wishes, G Well, it working in plain http, so until they get to be a nuisance, I have other irons smoking in the fire. Like some fine tuning

Re: I *think* I found the apache2 docs, but it's in .html andIcannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-23 Thread Gareth Evans
> On 23 Jun 2022, at 01:46, gene heskett wrote: > > On 6/22/22 19:39, Gareth Evans wrote: >>> On Wed 22 Jun 2022, at 22:42, gene heskett wrote: >>> On 6/22/22 16:51, Gareth Evans wrote: On Wed 22 Jun 2022, at 21:16, gene heskett wrote: > On 6/22/22 10:45, Gareth Evans wrote:

Re: I *think* I found the apache2 docs, but it's in .html andIcannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread gene heskett
On 6/22/22 19:39, Gareth Evans wrote: On Wed 22 Jun 2022, at 22:42, gene heskett wrote: On 6/22/22 16:51, Gareth Evans wrote: On Wed 22 Jun 2022, at 21:16, gene heskett wrote: On 6/22/22 10:45, Gareth Evans wrote: [and I sniped a few kilobytes of.] I think I've got it, but I did find what m

Re: I *think* I found the apache2 docs, but it's in .html and Icannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread Gareth Evans
On Wed 22 Jun 2022, at 22:42, gene heskett wrote: > On 6/22/22 16:51, Gareth Evans wrote: >> On Wed 22 Jun 2022, at 21:16, gene heskett wrote: >>> On 6/22/22 10:45, Gareth Evans wrote: >>> [and I sniped a few kilobytes of.] >>> >>> I think I've got it, but I did find what may be a bug in mod auth

Re: I *think* I found the apache2 docs, but it's in .html and Icannotgetfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread gene heskett
On 6/22/22 16:51, Gareth Evans wrote: On Wed 22 Jun 2022, at 21:16, gene heskett wrote: On 6/22/22 10:45, Gareth Evans wrote: [and I sniped a few kilobytes of.] I think I've got it, but I did find what may be a bug in mod auth_plain. Its asking for a username and pw, but nothing seems to sati

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread Gareth Evans
On Wed 22 Jun 2022, at 21:16, gene heskett wrote: > On 6/22/22 10:45, Gareth Evans wrote: > [and I sniped a few kilobytes of.] > > I think I've got it, but I did find what may be a bug in mod auth_plain. > > Its asking for a username and pw, but nothing seems to satisfy it I didn't see you had re

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread Gareth Evans
>>>>>>>>>> Thanks all. >>>>>>>>>> >>>>>>>>>> Cheers, Gene Heskett. >>>>>>>>>> -- >>>>>>>>>> "There are four boxes to be used in defense of libe

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread gene heskett
On 6/22/22 10:45, Gareth Evans wrote: [and I sniped a few kilobytes of.] I think I've got it, but I did find what may be a bug in mod auth_plain. Its asking for a username and pw, but nothing seems to satisfy it, so I disabled it, no man page hat I can find, and now its showing me the directory

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread gene heskett
e use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis From a web browser? file:///usr/share/doc/apache2-doc That's three slashes - file:// - two slashes - and then the filesystem path. Hope t

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-22 Thread Gareth Evans
re are four boxes to be used in defense of liberty: >>>>>>>> soap, ballot, jury, and ammo. Please use in that order." >>>>>>>> -Ed Howdershelt (Author, 1940) >>>>>>>> If we desire respect for the law, we must first make the law

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Gareth Evans
>> >>>>>> Cheers, Gene Heskett. >>>>>> -- >>>>>> "There are four boxes to be used in defense of liberty: >>>>>> soap, ballot, jury, and ammo. Please use in that order." >>>>>> -Ed Howder

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Gareth Evans
are four boxes to be used in defense of liberty: >>>>>soap, ballot, jury, and ammo. Please use in that order." >>>>> -Ed Howdershelt (Author, 1940) >>>>> If we desire respect for the law, we must first make the law respectable. >>>>>

Re: I *think* I found the apache2 docs, but it's in .html andIcannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread gene heskett
On 6/21/22 15:30, Greg Wooledge wrote: On Tue, Jun 21, 2022 at 03:16:11PM -0400, gene heskett wrote: /usr/sbin is not in su's $PATH https://wiki.debian.org/NewInBuster#Changes Thanks Greg just what Mr.Gene ordered. Take care & stay well. Cheers, Gene Heskett. -- "There are four boxes to be

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Greg Wooledge
On Tue, Jun 21, 2022 at 03:16:11PM -0400, gene heskett wrote: > /usr/sbin is not in su's $PATH https://wiki.debian.org/NewInBuster#Changes

Re: I *think* I found the apache2 docs, but it's in .html and Icannot getfirefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread gene heskett
usr/share/doc/apache2-doc That's three slashes - file:// - two slashes - and then the filesystem path. Hope this helps, with every good wish, as ever, Andy Cater And that works, the third slash is new to me. So now the only thing I've changed from the default install is in /etc/apache2/

Re: I *think* I found the apache2 docs, but it's in .html and Icannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Gareth Evans
e respect for the law, we must first make the law respectable. >>> - Louis D. Brandeis >>> >> >From a web browser? >> >> file:///usr/share/doc/apache2-doc >> >> That's three slashes - file:// - two slashes - and then the filesystem path. >

Re: I *think* I found the apache2 docs, but it's in .html and Icannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread gene heskett
On 6/21/22 12:26, Will Mengarini wrote: * gene heskett [22-06/21=Tu 11:55 -0400]: [Apache2 docs are in .html & Firefox won't access it using "file:"+ /path/to/filedir, so] how am I supposed to read these installed docs? Firefox disables file: URLs by default now, but you

Re: I *think* I found the apache2 docs, but it's in .html and Icannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread gene heskett
, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis >From a web browser? file:///usr/share/doc/apache2-doc That's three slashes - file:// - two slashes - and then the file

Re: I *think* I found the apache2 docs, but it's in .html and I cannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Will Mengarini
* gene heskett [22-06/21=Tu 11:55 -0400]: > [Apache2 docs are in .html & Firefox won't access it using "file:"+ > /path/to/filedir, so] how am I supposed to read these installed docs? Firefox disables file: URLs by default now, but you can enable them. I found instruct

Re: I *think* I found the apache2 docs, but it's in .html and I cannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread Andrew M.A. Cater
jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > >From a web browser? file:///usr/share/doc/apache2-doc That's three slashes - file:// - two sl

I *think* I found the apache2 docs, but it's in .html and I cannot get firefox to access it using "file:"+ /path/to/filedir

2022-06-21 Thread gene heskett
Greetings all; So how am I supposed to read these installed docs? Thanks all. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first

Re: Apache2 Configuration Problem

2022-06-04 Thread Charles Curley
On Sat, 4 Jun 2022 16:31:15 + (UTC) "ldmko...@yahoo.com" wrote: > My overall goal is to create an internal web site to display my many > thousands of pictures..  To do this I need to be able to read > directories and display their contents. May I suggest one of several programs designed to d

Re: Apache2 Configuration Problem

2022-06-04 Thread IL Ka
connect them using FastCGI or HTTP. On Fri, Jun 3, 2022 at 7:56 PM ldmko...@yahoo.com wrote: > I wanted to try and use Python in my HTML pages. And apparently I have > screwed up my Apache2 configuration in the process. > > I now get : > > [Fri Jun 03 12:42:41.002183 2022

Re: Apache2 Configuration Problem

2022-06-03 Thread john doe
On 6/3/2022 6:56 PM, ldmko...@yahoo.com wrote: I wanted to try and use Python in my HTML pages.  And apparently I have screwed up my Apache2 configuration in the process. I now get : [Fri Jun 03 12:42:41.002183 2022] [wsgi:crit] [pid 31238] mod_wsgi (pid=31238): The mod_python module can not

Apache2 Configuration Problem

2022-06-03 Thread ldmko...@yahoo.com
I wanted to try and use Python in my HTML pages.  And apparently I have screwed up my Apache2 configuration in the process. I now get : [Fri Jun 03 12:42:41.002183 2022] [wsgi:crit] [pid 31238] mod_wsgi (pid=31238): The mod_python module can not be used in conjunction with mod_wsgi 4.0+. Remove

Re: Apache2 404

2022-05-26 Thread tomas
On Thu, May 26, 2022 at 02:45:12PM +, ldmko...@yahoo.com wrote: > I appreciate all of the help.  The problem was that I was using > /var/www/ldmdomain.info/html/Picture1.htmlin my href.  I changed this to > Picture1.htmland it works. Great. So now you know that you Apache is looking at thi

Re: Apache2 404

2022-05-25 Thread Greg Wooledge
ou're using, and indicate its exact filename. One of the ways to do this is to open a terminal, and type "cat /etc/apache2/whatever" at the shell prompt. Then copy that entire terminal session, including the shell prompt, and the command you typed, and the output of that

Re: Apache2 404

2022-05-25 Thread tomas
On Wed, May 25, 2022 at 06:28:19PM +, ldmko...@yahoo.com wrote: > Thanks for the verification.  However, I still have the 404 problem and I > have no clue where to look next. The firewall is a red herring anyway. It doesn't make 404s (it may make connection timeouts, or something similar).

Re: Apache2 404

2022-05-25 Thread Dan Ritter
ldmko...@yahoo.com wrote: > > The command >     sudo nft list tablesreturned a null response > The command   sudo iptables -L -nreturned reponse was exactly as predicted. Then there is no firewall operating on your server, and you can forget about it as a class of problems inside your network.

Re: Apache2 404

2022-05-25 Thread tomas
On Wed, May 25, 2022 at 03:39:18PM +, ldmko...@yahoo.com wrote: > > The command >     sudo nft list tablesreturned a null response > The command   sudo iptables -L -nreturned reponse was exactly as predicted. > On Tuesday, May 24, 2022, 04:02:12 PM EDT, IL Ka > wrote: If you are see

Re: Apache2 404

2022-05-25 Thread IL Ka
gt; 1. Which URL do you see in your browser bar exactly? > 2. What messages do you see in access.log and error.log in > /var/log/apache2/ ? > > >

Re: Apache2 404

2022-05-24 Thread IL Ka
bar exactly? 2. What messages do you see in access.log and error.log in /var/log/apache2/ ? The instructions I had said allow web ports through the firewall. It > specifically said ufw which my system does not have. Is there another > firewall that might be running on my Debian 1

Re: Apache2 404

2022-05-24 Thread Dan Ritter
. > The instructions I had said allow web ports through the firewall.  It > specifically said ufw which my system does not have.  Is there another > firewall that might be running on my Debian 11 / Apache2 system? You only need to allow web ports through your firewall if you have a firewall betwe

Re: Apache2 404

2022-05-21 Thread Dan Ritter
ldmko...@yahoo.com wrote: > My link to the second page is via a url  > "var/www/ldmdomain.info/html/Picture1.html". > Also, this is intended only for my home network. > And I have no idea what this means:Inside your local network, you will > need an A or and/or > CNAME record pointing

Re: Apache2 404

2022-05-21 Thread mick crane
On 2022-05-21 16:16, IL Ka wrote: My link to the second page is via a url "var/www/ ldmdomain.info/html/Picture1.html". should be http://ldmdomain.info/Picture1.html probably this likely depends on what apache thinks the DocumentRoot is ? mick -- Key ID4BFEBB31

Re: Apache2 404

2022-05-21 Thread IL Ka
> My link to the second page is via a url "var/www/ > ldmdomain.info/html/Picture1.html". > should be http://ldmdomain.info/Picture1.html probably

Re: Apache2 404

2022-05-21 Thread ldmko...@yahoo.com
@yahoo.com wrote: I am having a problem with Apache2.  I have set a new configuration and have three html pages defined.  The inital html (index.html) displays fine on my laptop on my home network; however, when I attemp to go to the second page I get 404 not found on this server.  If I use local

Re: Apache2 404

2022-05-20 Thread IL Ka
How exactly do you go to the second page? Is it a hyperlink in HTML or what? If so, what is url? file:// protocol will not bring you to the server. On Fri, May 20, 2022 at 7:44 PM ldmko...@yahoo.com wrote: > I am having a problem with Apache2. I have set a new configuration and > have

Re: Apache2 404

2022-05-20 Thread Dan Ritter
ldmko...@yahoo.com wrote: > I am having a problem with Apache2.  I have set a new configuration and have > three html pages defined.  The inital html (index.html) displays fine on my > laptop on my home network; however, when I attemp to go to the second page I > get 404 not f

Apache2 404

2022-05-20 Thread ldmko...@yahoo.com
I am having a problem with Apache2.  I have set a new configuration and have three html pages defined.  The inital html (index.html) displays fine on my laptop on my home network; however, when I attemp to go to the second page I get 404 not found on this server.  If I use localhost on my linux

Re: Job for apache2.service failed because the control process exited with error code.

2021-09-30 Thread William Torrez Corea
I trying install moodle in my laptop. I need a Web Server but i think that two Service running is not necessary. On Wed, Sep 29, 2021 at 8:31 PM Greg Wooledge wrote: > Well, the only issue here is that they both want to bind to the same > port. If you change one of them to bind to a different p

Re: Job for apache2.service failed because the control process exited with error code.

2021-09-29 Thread Greg Wooledge
On Wed, Sep 29, 2021 at 08:27:31PM -0600, William Torrez Corea wrote: > Ready, i stopped lighttpd > Actually APACHE is active (running) > I don't knew that one can't have two services running. Well, the only issue here is that they both want to bind to the same port. If you change one of them t

Re: Job for apache2.service failed because the control process exited with error code.

2021-09-29 Thread William Torrez Corea
Ready, i stopped lighttpd sudo /etc/init.d/lighttpd stop [ ok ] Stopping lighttpd (via systemctl): lighttpd.service. Actually APACHE is active (running) sudo service apache2 status ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor

Re: Job for apache2.service failed because the control process exited with error code.

2021-09-29 Thread tuxifan-dml
Hey, Have you stopped and disabled other webservers like nginx or lighttpd first? Tuxifan Am 29. September 2021 05:33:25 MESZ schrieb William Torrez Corea : >*How to fix this error?* > >*systemctl status apache2.service* >apache2.service - The Apache HTTP Server > Loade

Re: Job for apache2.service failed because the control process exited with error code.

2021-09-28 Thread Sven Hartge
address 0.0.0.0: Something else is already listening on the IP (here the wildcard IP) and the port apache2 wants to bind to. Find out what this is (using ss or netstat) and switch it to a different port or get rid if it. Grüße, Sven. -- Sigmentation fault. Core dumped.

Job for apache2.service failed because the control process exited with error code.

2021-09-28 Thread William Torrez Corea
*How to fix this error?* *systemctl status apache2.service* apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: Active: failed (Result: exit-code) since Tue 2021-09-28 21:26:24 CST; 20s ago Docs: https://httpd.apache.org

Re: apache2-doc update enables disabled conf

2021-07-11 Thread David Wright
On Sat 10 Jul 2021 at 23:46:32 (+0200), Michael wrote: > On Saturday, July 10, 2021 10:26:03 PM CEST, David Wright wrote: > > I can't yet understand what you have done here. > > all i did was an apt-get -V dist-upgrade > > > > AIUI a2disconf > > removes

Re: apache2-doc update enables disabled conf

2021-07-10 Thread Michael
On Saturday, July 10, 2021 10:26:03 PM CEST, David Wright wrote: I can't yet understand what you have done here. all i did was an apt-get -V dist-upgrade AIUI a2disconf removes symlinks in /etc/apache2/conf-enabled/ that were previously created there by a2enconf. that's corre

Re: apache2-doc update enables disabled conf

2021-07-10 Thread David Wright
On Sat 10 Jul 2021 at 11:17:00 (+0200), Michael wrote: > > i disabled apache2-doc.conf in apache2 via a2disconf, but after the > latest update it was enabled again w/o my consent. at least i got a > message in the apt-get output. I can't yet understand what you have done her

  1   2   3   4   5   6   7   8   9   10   >