Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Freek de Kruijf
Op woensdag 9 oktober 2024 16:31:16 CEST schreef Frank Gingras:
> On Wed, Oct 9, 2024 at 10:15 AM Freek de Kruijf 
> 
> wrote:
> > I made a web page years ago in which I present buttons to view a video or
> > to
> > download that video file. In some text explaining something about the size
> > of
> > the video, I gave text parts a color (white) and a background color using:
> > 
> > 800x450
> > 
> > When I now go to this web page using Firefox the background color is not
> > shown.
> > 
> > For the buttons I have:
> > 
> > 
> > @page { margin: 2cm }
> > p { margin-bottom: 0.25cm; line-height: 120% }
> > td p { margin-bottom: 0.25cm; line-height: 120% }
> > 
> > .button {
> > 
> >   border: none;
> >   color: white;
> >   padding: 1px 4px; 
> >   text-align: center;
> >   text-decoration: none;
> >   display: inline-block;
> >   font-size: 16px;
> >   margin: 4px 2px;
> >   cursor: pointer;
> > 
> > }
> > .tekst {
> > 
> >   border: none;
> >   color: white;
> >   padding: 1px 4px; 
> >   text-align: center;
> >   text-decoration: none;
> >   display: inline-block;
> >   font-size: 16px;
> >   margin: 4px 2px;
> >   background-color: #009900;
> >   line-height:1.4;
> > 
> > }
> > .button1 {background-color: #99;} /* Green */
> > .button2 {background-color: #006600;} /* Blue */
> > .button3 {background-color: #990099;} /* Purper */
> > 
> > 
> > 
> > In a table I use for a row :
> > 
> > 
> > 
> > Bijeenkomst29 sep. 2024
> > Kijkenmiddel929M
> > 
> > Kijkengroot1,5G
> > 
> > Kijkenklein278M
> > 
> >  > 
> > class="button button2">Downloadmiddel929M > 
> > >
> > >
> >  > 
> > download="Video"> > class="button button1">Downloadgroot1,5G > utton>
> > 
> >  > 
> > download="Video"> > class="button button3">Downloadklein278M > tton>
> > 
> > 
> > 
> > The text shown of this row on the page is black, should be white and the
> > background of the first element on the row is white and the background of
> > the
> > buttons is light gray.
> > 
> > When pressing the button for viewing the largest video it is shown, but I
> > used
> > to be able to select a position in the video to view from that position.
> > Now
> > the video skips to the end and selecting a position is impossible.
> > 
> > Choosing the other two buttons to view those videos gives an error,
> > something
> > like "No video with supported layout and MIME type found". The buttons for
> > downloading work as expected.
> > 
> > When I copy the index.html for this web page and the files mentioned in
> > that
> > file in a folder (everything is in one folder) and use file://
> > index.html in Firefox all colors look good. I can view all
> > videos and I can select positions in those videos.
> > 
> > The only difference in these two cases is that the files go through apache
> > to
> > Firefox or come directly from the disk.
> > 
> > In both cases I used Page Source in Firefox to download index.html. I
> > compared
> > these files and apart from obvious differences in locations of the
> > referenced
> > files, they are the same.
> > 
> > Any clues?
> > 
> > --
> > 
> > fr.gr.
> > 
> > Freek de Kruijf
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> 
> You're likely better off asking a web/css/design centric mailing list or
> forum for your question, as this list pertains to configuring and
> troubleshooting the apache HTTP server.

As I wrote there does not seem to be anything wrong with the content/css/html 
in the file index.html. I made another case. The folder with the files was 
entered in another apache server, so I could use http://localhost/test/
index.html to access that web page. Also in that case it works OK. The only 
difference with the case where it goes wrong is when I use https:// on another 
server to access that web page. So I believe it has something to do with how 
apache treats http different from https or it might be different treatment in 
Firefox.

-- 

fr.gr.

Freek de Kruijf




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Daniel Ferradal Márquez

On 9/10/24 17:59, Freek de Kruijf wrote:



httpd does not interfere with your content.  Perhaps the issue lies with
https://, and some resources not being loaded.

In any case, asking a web/css/design forum/mailing list would yield better
results.


I also tried to use Microsoft Edge and it also displays the page wrongly. As I
wrote the content I see in the page in the browser in both cases is the same.
So why does the browser display things differently when the only obvious
difference is http instead of https?

Could it be that a certain apache module needs to be loaded for this to work?
Some time ago, could be half a year, it did work properly. Any idea which
module?



html/css is interpreted client side, so whatever your html/css code is, 
it doesn´t matter which http server serves it.


--
-Daniel
Find help at #httpd in Libera.chat


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Paul

On 2024-10-09 10:15, Freek de Kruijf wrote:
I made a web page years ago 


[Top-posting - nasty - from the original post after reading many replies]

apache2 is server software -- it serves what you give it to serve. What 
errors, if any, are showing in your apache2 logs?


You appear, from tiddly little snippets below, to have fed html3 (or 4 
or 5), xml, erroneous style, outdated css, mostly each incompatible with 
each other, and expect your errors to be auto-magically corrected.


The following suggestions are "off-topic" for this list:

a) what is the public URL of the page in question?
b) what errors are shown in 
c) what errors are shown in 

Good luck,
Paul
---
Tired old sys-admin

in which I present buttons to view a video or to

download that video file. In some text explaining something about the size of
the video, I gave text parts a color (white) and a background color using:

800x450

When I now go to this web page using Firefox the background color is not
shown.

For the buttons I have:

 
 @page { margin: 2cm }
 p { margin-bottom: 0.25cm; line-height: 120% }
 td p { margin-bottom: 0.25cm; line-height: 120% }
.button {
   border: none;
   color: white;
   padding: 1px 4px; 
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   cursor: pointer;
}
.tekst {
   border: none;
   color: white;
   padding: 1px 4px; 
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   background-color: #009900;
   line-height:1.4;
}
.button1 {background-color: #99;} /* Green */
.button2 {background-color: #006600;} /* Blue */
.button3 {background-color: #990099;} /* Purper */
 

In a table I use for a row :


 Bijeenkomst29 sep. 2024
 Kijkenmiddel929M
 Kijkengroot1,5G
 Kijkenklein278M
 Downloadmiddel929M


 Downloadgroot1,5G
 Downloadklein278M
 

The text shown of this row on the page is black, should be white and the
background of the first element on the row is white and the background of the
buttons is light gray.

When pressing the button for viewing the largest video it is shown, but I used
to be able to select a position in the video to view from that position. Now
the video skips to the end and selecting a position is impossible.

Choosing the other two buttons to view those videos gives an error, something
like "No video with supported layout and MIME type found". The buttons for
downloading work as expected.

When I copy the index.html for this web page and the files mentioned in that
file in a folder (everything is in one folder) and use file://
index.html in Firefox all colors look good. I can view all
videos and I can select positions in those videos.

The only difference in these two cases is that the files go through apache to
Firefox or come directly from the disk.

In both cases I used Page Source in Firefox to download index.html. I compared
these files and apart from obvious differences in locations of the referenced
files, they are the same.

Any clues?




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 12:00 PM Freek de Kruijf 
wrote:

> Op woensdag 9 oktober 2024 17:38:55 CEST schreef Frank Gingras:
> > On Wed, Oct 9, 2024 at 11:33 AM Freek de Kruijf 
> >
> > wrote:
> > > Op woensdag 9 oktober 2024 16:31:16 CEST schreef Frank Gingras:
> > > > On Wed, Oct 9, 2024 at 10:15 AM Freek de Kruijf <
> f.de.kru...@gmail.com>
> > > >
> > > > wrote:
> > > > > I made a web page years ago in which I present buttons to view a
> video
> > >
> > > or
> > >
> > > > > to
> > > > > download that video file. In some text explaining something about
> the
> > >
> > > size
> > >
> > > > > of
> > > > > the video, I gave text parts a color (white) and a background color
> > >
> > > using:
> > > > > 800x450
> > > > >
> > > > > When I now go to this web page using Firefox the background color
> is
> > >
> > > not
> > >
> > > > > shown.
> > > > >
> > > > > For the buttons I have:
> > > > > 
> > > > >
> > > > > @page { margin: 2cm }
> > > > > p { margin-bottom: 0.25cm; line-height: 120% }
> > > > > td p { margin-bottom: 0.25cm; line-height: 120% }
> > > > >
> > > > > .button {
> > > > >
> > > > >   border: none;
> > > > >   color: white;
> > > > >   padding: 1px 4px; 
> > > > >   text-align: center;
> > > > >   text-decoration: none;
> > > > >   display: inline-block;
> > > > >   font-size: 16px;
> > > > >   margin: 4px 2px;
> > > > >   cursor: pointer;
> > > > >
> > > > > }
> > > > > .tekst {
> > > > >
> > > > >   border: none;
> > > > >   color: white;
> > > > >   padding: 1px 4px; 
> > > > >   text-align: center;
> > > > >   text-decoration: none;
> > > > >   display: inline-block;
> > > > >   font-size: 16px;
> > > > >   margin: 4px 2px;
> > > > >   background-color: #009900;
> > > > >   line-height:1.4;
> > > > >
> > > > > }
> > > > > .button1 {background-color: #99;} /* Green */
> > > > > .button2 {background-color: #006600;} /* Blue */
> > > > > .button3 {background-color: #990099;} /* Purper */
> > > > >
> > > > > 
> > > > >
> > > > > In a table I use for a row :
> > > > >
> > > > > 
> > > > >
> > > > > Bijeenkomst29 sep. 2024
> > > > >  class="button
> > > > >
> > > > > button2">Kijkenmiddel929M
> > > > >
> > > > >  > >
> > > class="button
> > >
> > > > > button1">Kijkengroot1,5G
> > > > >
> > > > >  > >
> > > class="button
> > >
> > > > > button3">Kijkenklein278M
> > > > >
> > > > >  > > > > download="Video"> > > > >
> > > > > class="button button2">Downloadmiddel929M > > > >
> > > > > >
> > > > > >
> > > > >  > > > >
> > > > > download="Video"> > > > > class="button button1">Downloadgroot1,5G > > > > utton>
> > > > >
> > > > >  > > > >
> > > > > download="Video"> > > > > class="button button3">Downloadklein278M > > > > tton>
> > > > >
> > > > > 
> > > > >
> > > > > The text shown of this row on the page is black, should be white
> and
> > >
> > > the
> > >
> > > > > background of the first element on the row is white and the
> background
> > >
> > > of
> > >
> > > > > the
> > > > > buttons is light gray.
> > > > >
> > > > > When pressing the button for viewing the largest video it is shown,
> > >
> > > but I
> > >
> > > > > used
> > > > > to be able to select a position in the video to view from that
> > >
> > > position.
> > >
> > > > > Now
> > > > > the video skips to the end and selecting a position is impossible.
> > > > >
> > > > > Choosing the other two buttons to view those videos gives an error,
> > > > > something
> > > > > like "No video with supported layout and MIME type found". The
> buttons
> > >
> > > for
> > >
> > > > > downloading work as expected.
> > > > >
> > > > > When I copy the index.html for this web page and the files
> mentioned
> > > > > in
> > > > > that
> > > > > file in a folder (everything is in one folder) and use file://
> > > > > index.html in Firefox all colors look good. I can
> view
> > >
> > > all
> > >
> > > > > videos and I can select positions in those videos.
> > > > >
> > > > > The only difference in these two cases is that the files go through
> > >
> > > apache
> > >
> > > > > to
> > > > > Firefox or come directly from the disk.
> > > > >
> > > > > In both cases I used Page Source in Firefox to download
> index.html. I
> > > > > compared
> > > > > these files and apart from obvious differences in locations of the
> > > > > referenced
> > > > > files, they are the same.
> > > > >
> > > > > Any clues?
> > > > >
> > > > > --
> > > > >
> > > > > fr.gr.
> > > > >
> > > > > Freek de Kruijf
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > > > > For additional commands, e-mail: users-h...@httpd.apache.org
> > > >
> > > > You're likely better off asking a web/css/design centric mailing
> list or
> > > > forum for your question, as this list pertains to 

Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Simon Harrison
On Wed, 09 Oct 2024 17:59:49 +0200
Freek de Kruijf  wrote:
 
> I also tried to use Microsoft Edge and it also displays the page
> wrongly. As I wrote the content I see in the page in the browser in
> both cases is the same. So why does the browser display things
> differently when the only obvious difference is http instead of https?
> 
> Could it be that a certain apache module needs to be loaded for this
> to work? Some time ago, could be half a year, it did work properly.
> Any idea which module?

Perhaps you could try with thttpd (https://acme.com/software/thttpd/).
Not sure if it supports https but I use it for occasional development
of CGI scripts.

The following config may help:

# $ thttpd -D -C thttpd.conf 

Contents of thttpd.conf (in your working directory):

dir=/path/to/your/files
logfile=/path/to/your/files/thttpd.log
pidfile=/path/to/your/files/thttpd.pid
port=8080
host=127.0.0.1
charset=utf-8
cgipat=/cgi-bin/**




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 11:33 AM Freek de Kruijf 
wrote:

> Op woensdag 9 oktober 2024 16:31:16 CEST schreef Frank Gingras:
> > On Wed, Oct 9, 2024 at 10:15 AM Freek de Kruijf 
> >
> > wrote:
> > > I made a web page years ago in which I present buttons to view a video
> or
> > > to
> > > download that video file. In some text explaining something about the
> size
> > > of
> > > the video, I gave text parts a color (white) and a background color
> using:
> > >
> > > 800x450
> > >
> > > When I now go to this web page using Firefox the background color is
> not
> > > shown.
> > >
> > > For the buttons I have:
> > > 
> > >
> > > @page { margin: 2cm }
> > > p { margin-bottom: 0.25cm; line-height: 120% }
> > > td p { margin-bottom: 0.25cm; line-height: 120% }
> > >
> > > .button {
> > >
> > >   border: none;
> > >   color: white;
> > >   padding: 1px 4px; 
> > >   text-align: center;
> > >   text-decoration: none;
> > >   display: inline-block;
> > >   font-size: 16px;
> > >   margin: 4px 2px;
> > >   cursor: pointer;
> > >
> > > }
> > > .tekst {
> > >
> > >   border: none;
> > >   color: white;
> > >   padding: 1px 4px; 
> > >   text-align: center;
> > >   text-decoration: none;
> > >   display: inline-block;
> > >   font-size: 16px;
> > >   margin: 4px 2px;
> > >   background-color: #009900;
> > >   line-height:1.4;
> > >
> > > }
> > > .button1 {background-color: #99;} /* Green */
> > > .button2 {background-color: #006600;} /* Blue */
> > > .button3 {background-color: #990099;} /* Purper */
> > >
> > > 
> > >
> > > In a table I use for a row :
> > >
> > > 
> > >
> > > Bijeenkomst29 sep. 2024
> > > Kijkenmiddel929M
> > >
> > >  class="button
> > >
> > > button1">Kijkengroot1,5G
> > >
> > >  class="button
> > >
> > > button3">Kijkenklein278M
> > >
> > >  > >
> > > class="button button2">Downloadmiddel929M > >
> > > >
> > > >
> > >  > >
> > > download="Video"> > > class="button button1">Downloadgroot1,5G > > utton>
> > >
> > >  > >
> > > download="Video"> > > class="button button3">Downloadklein278M > > tton>
> > >
> > > 
> > >
> > > The text shown of this row on the page is black, should be white and
> the
> > > background of the first element on the row is white and the background
> of
> > > the
> > > buttons is light gray.
> > >
> > > When pressing the button for viewing the largest video it is shown,
> but I
> > > used
> > > to be able to select a position in the video to view from that
> position.
> > > Now
> > > the video skips to the end and selecting a position is impossible.
> > >
> > > Choosing the other two buttons to view those videos gives an error,
> > > something
> > > like "No video with supported layout and MIME type found". The buttons
> for
> > > downloading work as expected.
> > >
> > > When I copy the index.html for this web page and the files mentioned in
> > > that
> > > file in a folder (everything is in one folder) and use file://
> > > index.html in Firefox all colors look good. I can view
> all
> > > videos and I can select positions in those videos.
> > >
> > > The only difference in these two cases is that the files go through
> apache
> > > to
> > > Firefox or come directly from the disk.
> > >
> > > In both cases I used Page Source in Firefox to download index.html. I
> > > compared
> > > these files and apart from obvious differences in locations of the
> > > referenced
> > > files, they are the same.
> > >
> > > Any clues?
> > >
> > > --
> > >
> > > fr.gr.
> > >
> > > Freek de Kruijf
> > >
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > > For additional commands, e-mail: users-h...@httpd.apache.org
> >
> > You're likely better off asking a web/css/design centric mailing list or
> > forum for your question, as this list pertains to configuring and
> > troubleshooting the apache HTTP server.
>
> As I wrote there does not seem to be anything wrong with the
> content/css/html
> in the file index.html. I made another case. The folder with the files was
> entered in another apache server, so I could use http://localhost/test/
> index.html  to access that web page.
> Also in that case it works OK. The only
> difference with the case where it goes wrong is when I use https:// on
> another
> server to access that web page. So I believe it has something to do with
> how
> apache treats http different from https or it might be different treatment
> in
> Firefox.
>
> --
>
> fr.gr.
>
> Freek de Kruijf
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
httpd does not interfere with your content.  Perhaps the issue lies with
https://, an

Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Freek de Kruijf
Op woensdag 9 oktober 2024 17:38:55 CEST schreef Frank Gingras:
> On Wed, Oct 9, 2024 at 11:33 AM Freek de Kruijf 
> 
> wrote:
> > Op woensdag 9 oktober 2024 16:31:16 CEST schreef Frank Gingras:
> > > On Wed, Oct 9, 2024 at 10:15 AM Freek de Kruijf 
> > > 
> > > wrote:
> > > > I made a web page years ago in which I present buttons to view a video
> > 
> > or
> > 
> > > > to
> > > > download that video file. In some text explaining something about the
> > 
> > size
> > 
> > > > of
> > > > the video, I gave text parts a color (white) and a background color
> > 
> > using:
> > > > 800x450
> > > > 
> > > > When I now go to this web page using Firefox the background color is
> > 
> > not
> > 
> > > > shown.
> > > > 
> > > > For the buttons I have:
> > > > 
> > > > 
> > > > @page { margin: 2cm }
> > > > p { margin-bottom: 0.25cm; line-height: 120% }
> > > > td p { margin-bottom: 0.25cm; line-height: 120% }
> > > > 
> > > > .button {
> > > > 
> > > >   border: none;
> > > >   color: white;
> > > >   padding: 1px 4px; 
> > > >   text-align: center;
> > > >   text-decoration: none;
> > > >   display: inline-block;
> > > >   font-size: 16px;
> > > >   margin: 4px 2px;
> > > >   cursor: pointer;
> > > > 
> > > > }
> > > > .tekst {
> > > > 
> > > >   border: none;
> > > >   color: white;
> > > >   padding: 1px 4px; 
> > > >   text-align: center;
> > > >   text-decoration: none;
> > > >   display: inline-block;
> > > >   font-size: 16px;
> > > >   margin: 4px 2px;
> > > >   background-color: #009900;
> > > >   line-height:1.4;
> > > > 
> > > > }
> > > > .button1 {background-color: #99;} /* Green */
> > > > .button2 {background-color: #006600;} /* Blue */
> > > > .button3 {background-color: #990099;} /* Purper */
> > > > 
> > > > 
> > > > 
> > > > In a table I use for a row :
> > > > 
> > > > 
> > > > 
> > > > Bijeenkomst29 sep. 2024
> > > > Kijkenmiddel929M
> > > > 
> > > >  > 
> > class="button
> > 
> > > > button1">Kijkengroot1,5G
> > > > 
> > > >  > 
> > class="button
> > 
> > > > button3">Kijkenklein278M
> > > > 
> > > >  > > > download="Video"> > > > 
> > > > class="button button2">Downloadmiddel929M > > > 
> > > > >
> > > > >
> > > >  > > > 
> > > > download="Video"> > > > class="button button1">Downloadgroot1,5G > > > utton>
> > > > 
> > > >  > > > 
> > > > download="Video"> > > > class="button button3">Downloadklein278M > > > tton>
> > > > 
> > > > 
> > > > 
> > > > The text shown of this row on the page is black, should be white and
> > 
> > the
> > 
> > > > background of the first element on the row is white and the background
> > 
> > of
> > 
> > > > the
> > > > buttons is light gray.
> > > > 
> > > > When pressing the button for viewing the largest video it is shown,
> > 
> > but I
> > 
> > > > used
> > > > to be able to select a position in the video to view from that
> > 
> > position.
> > 
> > > > Now
> > > > the video skips to the end and selecting a position is impossible.
> > > > 
> > > > Choosing the other two buttons to view those videos gives an error,
> > > > something
> > > > like "No video with supported layout and MIME type found". The buttons
> > 
> > for
> > 
> > > > downloading work as expected.
> > > > 
> > > > When I copy the index.html for this web page and the files mentioned
> > > > in
> > > > that
> > > > file in a folder (everything is in one folder) and use file://
> > > > index.html in Firefox all colors look good. I can view
> > 
> > all
> > 
> > > > videos and I can select positions in those videos.
> > > > 
> > > > The only difference in these two cases is that the files go through
> > 
> > apache
> > 
> > > > to
> > > > Firefox or come directly from the disk.
> > > > 
> > > > In both cases I used Page Source in Firefox to download index.html. I
> > > > compared
> > > > these files and apart from obvious differences in locations of the
> > > > referenced
> > > > files, they are the same.
> > > > 
> > > > Any clues?
> > > > 
> > > > --
> > > > 
> > > > fr.gr.
> > > > 
> > > > Freek de Kruijf
> > > > 
> > > > 
> > > > 
> > > > 
> > > > -
> > > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > > > For additional commands, e-mail: users-h...@httpd.apache.org
> > > 
> > > You're likely better off asking a web/css/design centric mailing list or
> > > forum for your question, as this list pertains to configuring and
> > > troubleshooting the apache HTTP server.
> > 
> > As I wrote there does not seem to be anything wrong with the
> > content/css/html
> > in the file index.html. I made another case. The folder with the files was
> > entered in another apache server, so I could use http://localhost/test/
> > index.html  to access that web page.
> > Also in that case it works OK. The only
> > differe

[users@httpd] Strange change in behavior of web page

2024-10-09 Thread Freek de Kruijf
I made a web page years ago in which I present buttons to view a video or to 
download that video file. In some text explaining something about the size of 
the video, I gave text parts a color (white) and a background color using:

800x450

When I now go to this web page using Firefox the background color is not 
shown.

For the buttons I have:


@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
td p { margin-bottom: 0.25cm; line-height: 120% }
.button {
  border: none;
  color: white;
  padding: 1px 4px; 
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
.tekst {
  border: none;
  color: white;
  padding: 1px 4px; 
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  background-color: #009900;
  line-height:1.4;
}
.button1 {background-color: #99;} /* Green */
.button2 {background-color: #006600;} /* Blue */
.button3 {background-color: #990099;} /* Purper */


In a table I use for a row :


Bijeenkomst29 sep. 2024
Kijkenmiddel929M
Kijkengroot1,5G
Kijkenklein278M
Downloadmiddel929M
Downloadgroot1,5G
Downloadklein278M


The text shown of this row on the page is black, should be white and the 
background of the first element on the row is white and the background of the 
buttons is light gray.

When pressing the button for viewing the largest video it is shown, but I used 
to be able to select a position in the video to view from that position. Now 
the video skips to the end and selecting a position is impossible.

Choosing the other two buttons to view those videos gives an error, something 
like "No video with supported layout and MIME type found". The buttons for 
downloading work as expected.

When I copy the index.html for this web page and the files mentioned in that 
file in a folder (everything is in one folder) and use file://
index.html in Firefox all colors look good. I can view all 
videos and I can select positions in those videos.

The only difference in these two cases is that the files go through apache to 
Firefox or come directly from the disk.

In both cases I used Page Source in Firefox to download index.html. I compared 
these files and apart from obvious differences in locations of the referenced 
files, they are the same.

Any clues?

-- 

fr.gr.

Freek de Kruijf




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Apache 2.4.62 - ongoing proxy issue/regression with AddHandler and uwsgi

2024-10-09 Thread Jan Ingvoldstad
Hi,

I see that there is a regression with uwsgi when using Apache 2.4 fixes
introduced in July with Apache 2.4.60/2.4.61, this also goes for the recent
regression fixes for Apache 2.4.62 released by Debian yesterday (DSA
5729-2).

The uwsgi regression is described here, but apparently has not reached this
list:

https://github.com/unbit/uwsgi/issues/2666

For 2.4.62, there were fixes to ensure that FCGI would work again, and some
fixes for unix: style sockets, but apparently, this is not a generalized
fix.

Does anyone understand the problem area of proxying in Apache 2.4 well
enough to see why the problem described in the uwsgi issue tracker still
exists?

Or see if there is a reasonable work-around?
-- 
Jan


Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 5:31 AM Abhijith  wrote:

> Thanks I understand. But can you suggest any debugging method to find out
> which file is requesting the file
>
> On Wed, 9 Oct 2024, 10:37 Frank Gingras,  wrote:
>
>>
>>
>> On Tue, Oct 8, 2024 at 11:25 PM Abhijith  wrote:
>>
>>> Yes,  I understand that now. That I shouldn't allow clients to access my
>>> .httaccess file. I don't know why the error occuring
>>>
>>> On Tue, 8 Oct 2024, 17:47 Frank Gingras,  wrote:
>>>


 On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, 
 wrote:

> Hi,
> Yes, In the the root directory there is .htaccess file, the content of
> the file is
> ```
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
> RewriteRule ^(.*)$ /index.php/$1 [L]
> ```
>
> Since by @Eric's suggestion I changed the configuration of httpd.con,
> like
> ```
> 
> Require all granted
> 
> ```
>
> Now the error is gone, but there is a new error but it is related with
> the docker configuration.
> Thanks for the helpful insights.
>
> On Mon, 7 Oct 2024 at 19:22, Frank Gingras  wrote:
>
>>
>>
>> On Mon, Oct 7, 2024 at 7:51 AM Eric Covener 
>> wrote:
>>
>>> On Mon, Oct 7, 2024 at 7:12 AM Eric Covener 
>>> wrote:
>>> >
>>> > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid
>>> 10:tid 131326541519672] [client 192.168.16.1:49194] AH01630: client
>>> denied by server configuration:
>>> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess
>>> >
>>> > This error means it's not filesystem permissions.  Are there other
>>> > vhosts/*.conf you didn't show?  apachectl -S from within the
>>> container
>>> > would summarize it.
>>>
>>> Based on the error, It seems like you may be unexpectedly accessing
>>> the .htaccess file directly via a HTTP client, which is rejected by
>>> design with this snippet:
>>>
>>> 
>>> Require all denied
>>> 
>>>
>>>
>>>
>>> --
>>> Eric Covener
>>> cove...@gmail.com
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>> I am concerned about anything trying to request the .htaccess file
>> directly as well; it sounds like a broken application/script.
>>
>
 That would be a mistake, since those files are not meant to be accessed
 directly.

 They are blocked by default for security reasons.

>>>
>> You will need to find out what is requesting those files directly; as I
>> stated before, it sounds like a broken script or application.
>>
>
If you log the user agent, that might give you a clue.  Otherwise, the time
of the request(s), if it's a cron job.  Lastly, if the request is
incessant, perhaps ss/netstat or even packet inspection.


Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-09 Thread Abhijith
Thanks I understand. But can you suggest any debugging method to find out
which file is requesting the file

On Wed, 9 Oct 2024, 10:37 Frank Gingras,  wrote:

>
>
> On Tue, Oct 8, 2024 at 11:25 PM Abhijith  wrote:
>
>> Yes,  I understand that now. That I shouldn't allow clients to access my
>> .httaccess file. I don't know why the error occuring
>>
>> On Tue, 8 Oct 2024, 17:47 Frank Gingras,  wrote:
>>
>>>
>>>
>>> On Tue., Oct. 8, 2024, 1:13 a.m. Abhijith, 
>>> wrote:
>>>
 Hi,
 Yes, In the the root directory there is .htaccess file, the content of
 the file is
 ```
 RewriteEngine on
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
 RewriteRule ^(.*)$ /index.php/$1 [L]
 ```

 Since by @Eric's suggestion I changed the configuration of httpd.con,
 like
 ```
 
 Require all granted
 
 ```

 Now the error is gone, but there is a new error but it is related with
 the docker configuration.
 Thanks for the helpful insights.

 On Mon, 7 Oct 2024 at 19:22, Frank Gingras  wrote:

>
>
> On Mon, Oct 7, 2024 at 7:51 AM Eric Covener  wrote:
>
>> On Mon, Oct 7, 2024 at 7:12 AM Eric Covener 
>> wrote:
>> >
>> > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid
>> 131326541519672] [client 192.168.16.1:49194] AH01630: client denied
>> by server configuration:
>> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess
>> >
>> > This error means it's not filesystem permissions.  Are there other
>> > vhosts/*.conf you didn't show?  apachectl -S from within the
>> container
>> > would summarize it.
>>
>> Based on the error, It seems like you may be unexpectedly accessing
>> the .htaccess file directly via a HTTP client, which is rejected by
>> design with this snippet:
>>
>> 
>> Require all denied
>> 
>>
>>
>>
>> --
>> Eric Covener
>> cove...@gmail.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
> I am concerned about anything trying to request the .htaccess file
> directly as well; it sounds like a broken application/script.
>

>>> That would be a mistake, since those files are not meant to be accessed
>>> directly.
>>>
>>> They are blocked by default for security reasons.
>>>
>>
> You will need to find out what is requesting those files directly; as I
> stated before, it sounds like a broken script or application.
>


Re: [users@httpd] Strange change in behavior of web page

2024-10-09 Thread Frank Gingras
On Wed, Oct 9, 2024 at 10:15 AM Freek de Kruijf 
wrote:

> I made a web page years ago in which I present buttons to view a video or
> to
> download that video file. In some text explaining something about the size
> of
> the video, I gave text parts a color (white) and a background color using:
>
> 800x450
>
> When I now go to this web page using Firefox the background color is not
> shown.
>
> For the buttons I have:
>
> 
> @page { margin: 2cm }
> p { margin-bottom: 0.25cm; line-height: 120% }
> td p { margin-bottom: 0.25cm; line-height: 120% }
> .button {
>   border: none;
>   color: white;
>   padding: 1px 4px; 
>   text-align: center;
>   text-decoration: none;
>   display: inline-block;
>   font-size: 16px;
>   margin: 4px 2px;
>   cursor: pointer;
> }
> .tekst {
>   border: none;
>   color: white;
>   padding: 1px 4px; 
>   text-align: center;
>   text-decoration: none;
>   display: inline-block;
>   font-size: 16px;
>   margin: 4px 2px;
>   background-color: #009900;
>   line-height:1.4;
> }
> .button1 {background-color: #99;} /* Green */
> .button2 {background-color: #006600;} /* Blue */
> .button3 {background-color: #990099;} /* Purper */
> 
>
> In a table I use for a row :
>
> 
> Bijeenkomst29 sep. 2024
> Kijkenmiddel929M
> Kijkengroot1,5G
> Kijkenklein278M
>  class="button button2">Downloadmiddel929M >
>  download="Video"> class="button button1">Downloadgroot1,5G utton>
>  download="Video"> class="button button3">Downloadklein278M tton>
> 
>
> The text shown of this row on the page is black, should be white and the
> background of the first element on the row is white and the background of
> the
> buttons is light gray.
>
> When pressing the button for viewing the largest video it is shown, but I
> used
> to be able to select a position in the video to view from that position.
> Now
> the video skips to the end and selecting a position is impossible.
>
> Choosing the other two buttons to view those videos gives an error,
> something
> like "No video with supported layout and MIME type found". The buttons for
> downloading work as expected.
>
> When I copy the index.html for this web page and the files mentioned in
> that
> file in a folder (everything is in one folder) and use file://
> index.html in Firefox all colors look good. I can view all
> videos and I can select positions in those videos.
>
> The only difference in these two cases is that the files go through apache
> to
> Firefox or come directly from the disk.
>
> In both cases I used Page Source in Firefox to download index.html. I
> compared
> these files and apart from obvious differences in locations of the
> referenced
> files, they are the same.
>
> Any clues?
>
> --
>
> fr.gr.
>
> Freek de Kruijf
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
You're likely better off asking a web/css/design centric mailing list or
forum for your question, as this list pertains to configuring and
troubleshooting the apache HTTP server.