Re: Uninterruptible sleep apache process while aceessing nfs on debian 12 bookworm

2024-10-07 Thread Mike Kupfer
Carlos Llamas wrote: > I made a PHP script which locks a specific file in a NFS directory, measuring > every step involved. Then exported the results to CSV and graphed it on ELK > because I am more familiar with it. Thanks for the additional details. It sounds like you have a reproducible test

Re: Uninterruptible sleep apache process while aceessing nfs on debian 12 bookworm

2024-10-07 Thread Mike Kupfer
Carlos Llamas wrote: > When this happens, apache2 processes on a backend VM (NFS client > machine) wait in state D for a long time (I was only able to trace a > file, and lasted 90s until file unlocked). It sounds like the process is trying to unlock a file, and the system call hangs for 90 secon

Re: Uninterruptible sleep apache process while aceessing nfs on debian 12 bookworm

2024-10-07 Thread Carlos Llamas
#x27;t work, as soon as the load balancer gives it traffic, apache gets stuck again. We got the machine out of the load balancer to try to isolate it and see logs, but again as soon as we added it to the load balancer it got stuck. Only rebooting all VMs and NFS server VM works. Because we only fa

Re: nginx or apache for php?

2024-08-18 Thread Jonathan Dowland
On Thu Aug 1, 2024 at 4:26 PM BST, Jeffrey Walton wrote: > Related, Nginx is generally considered more secure than Apache. Nginx > has approximately 220 CVEs, while Apache and friends has roughly 2700 > CVEs. Confer, <https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=apache&g

Re: nginx or apache for php?

2024-08-01 Thread Nicholas Geovanis
w much is it worth to you in terms of time, and in terms of > money? > All good points which reinforce the idea that the only benchmark that really matters is the benchmark of your specific application. I was only once in a situation where I had nginx and apache serving the same content from the

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 15:01, Andrew M.A. Cater wrote: On Thu, Aug 01, 2024 at 01:10:37PM -0400, gene heskett wrote: On 8/1/24 09:34, Andy Smith wrote: Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: Au contraire Andy. What a surprise. Here we go again. The best, most expandable 3

Re: nginx or apache for php?

2024-08-01 Thread Walt E
Hello I am currently running a simple Wordpress service with low traffic, so I have not encountered any performance issues. Apache performs well. But I will still try nginx+php fpm as a substitute when I have time. As for reverse proxy, because I used CloudFlare, I think CloudFlare'

Re: nginx or apache for php?

2024-08-01 Thread Andrew M.A. Cater
On Thu, Aug 01, 2024 at 01:10:37PM -0400, gene heskett wrote: > On 8/1/24 09:34, Andy Smith wrote: > > Hello, > > > > On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: > > > Au contraire Andy. > > > > What a surprise. Here we go again. > > > > > The best, most expandable 3d printer d

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 10:31, Sarunas Burdulis wrote: On 8/1/24 07:35, Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. That is not true: 1. https://people.apache.org/~jim/presos/ACNA11/Apache_httpd_cloud.pdf 2. https

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 09:34, Andy Smith wrote: Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: Au contraire Andy. What a surprise. Here we go again. The best, most expandable 3d printer driver, klipper, uses nginx to build its control interface It doesn't matter what niche activi

Re: nginx or apache for php?

2024-08-01 Thread Jeffrey Walton
secure than Apache. Nginx has approximately 220 CVEs, while Apache and friends has roughly 2700 CVEs. Confer, <https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=apache> and <https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=nginx>. I think it was Jon Bentley who said, if it does not have t

Re: nginx or apache for php?

2024-08-01 Thread Sarunas Burdulis
On 8/1/24 07:35, Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. That is not true: 1. https://people.apache.org/~jim/presos/ACNA11/Apache_httpd_cloud.pdf 2. https://www.slideshare.net/slideshow/choosing-a

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hello, On Thu, Aug 01, 2024 at 02:57:51PM +0100, Alain D D Williams wrote: > You need to profile & understand first. It really seems more like a case of Fear Of Missing Out - "some people said nginx is faster". šŸ˜€ I'm all for a fun learning experience, but I don't think OP is particularly missing

Re: nginx or apache for php?

2024-08-01 Thread Alain D D Williams
On Thu, Aug 01, 2024 at 08:39:11AM -0400, Dan Ritter wrote: > Do you have a performance problem? If not, don't change. More to the point - what does the application do, where does its time go ? Eg if you have complex database selects then the web server overhead prolly only takes a small part of

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hello, On Thu, Aug 01, 2024 at 08:54:22AM -0400, gene heskett wrote: > Au contraire Andy. What a surprise. Here we go again. > The best, most expandable 3d printer driver, klipper, > uses nginx to build its control interface It doesn't matter what niche activities you (or I) engage in on niche

Re: nginx or apache for php?

2024-08-01 Thread JosƩ Ɓngel Pastrana
**, Apache uses mod_php versus Nginx uses php-fpm. A lot of people credit to nginx a better performance, but it should be credited to php-fpm really! Apache has three types of multi-processing modules (MPM) to handle incoming requests: prefork (legacy, <2.4), worker (newer, >=2.4) and event (

Re: nginx or apache for php?

2024-08-01 Thread JosƩ Ɓngel Pastrana
On Thu 2024/08/01 13:40:01+0200 (CEST), Walt E wrote: Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? Thank you. Walt Evans Hello, by default, Apache

Re: nginx or apache for php?

2024-08-01 Thread Dan Ritter
Walt E wrote: > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? I have experience on both. Do you have a performance problem? If not, don't change. If you do

Re: nginx or apache for php?

2024-08-01 Thread gene heskett
On 8/1/24 07:50, Andy Smith wrote: Hi, On Thu, Aug 01, 2024 at 07:35:38PM +0800, Walt E wrote: I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? I do and I don't

Re: nginx or apache for php?

2024-08-01 Thread Stanislav Vlasov
ds config exercises for .htaccess replacements and this is sometimes too complicated for beginners. For performance on multiple slow clients add nginx as reverse proxy (as most other hosting setups), or use apache proxy module (never seen last ~15 years). Nginx is faster than apache2 because it get

Re: nginx or apache for php?

2024-08-01 Thread Andy Smith
Hi, On Thu, Aug 01, 2024 at 07:35:38PM +0800, Walt E wrote: > I have been using apache2 + php for years under debian. > But I heard people says nginx + php has better performance. > Do you have experience on both of setup and share a bit with me? I do and I don't think it will make any noticeable

nginx or apache for php?

2024-08-01 Thread Walt E
Hello I have been using apache2 + php for years under debian. But I heard people says nginx + php has better performance. Do you have experience on both of setup and share a bit with me? Thank you. Walt Evans

Uninterruptible sleep apache process while aceessing nfs on debian 12 bookworm

2024-04-29 Thread El Mahdi Mouslih
Hi We recently migrated to new nfs server running on debian 12 bookworm On the client Apache processes started randomly switching to D state, In apache fluststatus Process 93661 a mis 10786 sec = 4-1 93661 1598/ W 15.92 10786 0 2367404 0.0 71.45 142.44 172.20.1.47 http/1.1

Re: Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Charles Curley
On Sat, 30 Dec 2023 17:50:03 + Andrew Wood wrote: > Found the following issue when running an upgrade. > > Apache refuses to restart with error: > > apache2_reload: Your configuration is broken. Not restarting Apache 2 > apache2_reload: apache2: Syntax error on line 146

Re: Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Dan Ritter
Andrew Wood wrote: > This is because the php7.4 files have now been replaced with php8.2 > > Specifically sym linsk inĀ  /etc/apache2/mods-enabled/ which link toĀ  > /etc/apache2/mods-available/ > php7.4.conf -> ../mods-available/php7.4.conf > php7.4.load -> ../mods-available/php7.4.load > > Shoul

Bug on upgrade to bookworm with Apache/PHP?

2023-12-30 Thread Andrew Wood
Found the following issue when running an upgrade. Apache refuses to restart with error: apache2_reload: Your configuration is broken. Not restarting Apache 2 apache2_reload: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled

Re: Apache logs and systemd

2023-06-16 Thread Andy Smith
Hello, On Fri, Jun 16, 2023 at 12:38:40PM -0500, Tom Browder wrote: > I should have mentioned in OP the logs are in a dir under my own apache > installation dir, and they are text files. Iā€™ll try to get ā€œlogrotateā€ to > take them over. It should happen by default. Normally logrotate

Re: Apache logs and systemd

2023-06-16 Thread Tom Browder
On Thu, Jun 15, 2023 at 16:57 Andy Smith wrote: > Hi Tom, > > On Thu, Jun 15, 2023 at 01:52:10PM -0500, Tom Browder wrote: > > Maybe it's related to the rsyslog changes ? > > apache by default does not use a syslog for logging though, it ā€¦ Thanks, Andy. I should hav

Re: Apache logs and systemd

2023-06-15 Thread Andy Smith
Hi Tom, On Thu, Jun 15, 2023 at 01:52:10PM -0500, Tom Browder wrote: > Maybe it's related to the rsyslog changes ? apache by default does not use a syslog for logging though, it writes logfiles itself directly. On a normal Debian distribution these are rotated by the logrotate package.

Re: Apache logs and systemd

2023-06-15 Thread Tom Browder
On Wed, Jun 14, 2023 at 13:18 zithro wrote: > On 14 Jun 2023 19:30, Tom Browder wrote: ... > Iā€™ve been running httpd for many years, long before systemd came along. > > Somewhere in the various upgrades over the years I lost the old rotating > > logs. > > Now I would like to initiate the rotati

Re: Apache logs and systemd

2023-06-15 Thread Tom Browder
On Wed, Jun 14, 2023 at 13:15 Greg Wooledge wrote: > On Wed, Jun 14, 2023 at 12:30:37PM -0500, Tom Browder wrote: .., > If you want text log FILES (e.g. /var/log/whatever), install the rsyslog > package. For rotation, install logrotate. Thank you. ... > Systemd by itself only creates binar

Re: Apache logs and systemd

2023-06-14 Thread zithro
On 14 Jun 2023 19:30, Tom Browder wrote: Iā€™ve been running httpd for many years, long before systemd came along. Somewhere in the various upgrades over the years I lost the old rotating logs. Now I would like to initiate the rotating logs again. Can I do that with systemd somehow? Isn't that t

Re: Apache logs and systemd

2023-06-14 Thread Greg Wooledge
On Wed, Jun 14, 2023 at 12:30:37PM -0500, Tom Browder wrote: > Iā€™ve been running httpd for many years, long before systemd came along. > Somewhere in the various upgrades over the years I lost the old rotating > logs. > > Now I would like to initiate the rotating logs again. Can I do that with > s

Apache logs and systemd

2023-06-14 Thread Tom Browder
Iā€™ve been running httpd for many years, long before systemd came along. Somewhere in the various upgrades over the years I lost the old rotating logs. Now I would like to initiate the rotating logs again. Can I do that with systemd somehow? Thanks, -Tom

Re: Bullseye to Bookworm upgrade [apache 503 issue solved]

2023-06-02 Thread Gareth Evans
On Fri 2 Jun 2023, at 03:58, Gareth Evans wrote: > Firefox at http(s)://localhost/sitename gives a 503 > Neither /var/log/apache2/error.log nor /var/log/syslog seem to provide > any clues to the problem. I take that back, and apache 503 issue solved - /etc/apcache2/conf-availab

Re: Apache or Nginx on debian

2023-05-29 Thread Dan Ritter
Tom Reed wrote: > Though the question is not directly related to debian. > But since most of you are sysadmin expects, may I ask that for running a > simple web service, should I choose nginx or apache, and why? The service > is combined by some php and python scripts, with redis a

Re: Apache or Nginx on debian

2023-05-29 Thread Stanislav Vlasov
ŠæŠ½, 29 Š¼Š°Ń 2023ā€ÆŠ³. Š² 12:14, Tom Reed : > Though the question is not directly related to debian. > But since most of you are sysadmin expects, may I ask that for running a > simple web service, should I choose nginx or apache, and why? The service > is combined by some php and python s

Apache or Nginx on debian

2023-05-29 Thread Tom Reed
Hello list, Though the question is not directly related to debian. But since most of you are sysadmin expects, may I ask that for running a simple web service, should I choose nginx or apache, and why? The service is combined by some php and python scripts, with redis as backend DB. Thanks. Tom

Re: OT: apache in shared environment

2022-09-29 Thread hede
Am 29. September 2022 07:31:56 MESZ schrieb Sven Hartge : >basti wrote: > >> Is there a way to get http2 work with mod_itk? > >If mod_itk *needs* preforking, then nothing can be done. > At least not with a single instance of Apache. But why not run multiple Apaches? The on

Re: OT: apache in shared environment

2022-09-28 Thread Sven Hartge
basti wrote: > my question is a bit OT but perhaps someone can help. > We use apache mpm_prefork and mod_itk in shared environment for > privilege separation. > Now we want to use http2. > As I understod: > - mod_itk need mpm_prefork > - mpm_prefork is not compatibe

OT: apache in shared environment

2022-09-28 Thread basti
Hello, my question is a bit OT but perhaps someone can help. We use apache mpm_prefork and mod_itk in shared environment for privilege separation. Now we want to use http2. As I understod: - mod_itk need mpm_prefork - mpm_prefork is not compatibe with mod_http2 We have try to use

Re: Getting PHP to work with Apache on other directories

2022-09-14 Thread paulf
On Wed, 14 Sep 2022 08:51:56 -0700 Paul Scott wrote: > On 9/14/22 06:49, pa...@quillandmouse.com wrote: > > Folks: > > > > I just installed Debian testing. I do PHP development. I host live > > websites at /var/www/html and development sites at > > /home

Re: Getting PHP to work with Apache on other directories

2022-09-14 Thread Paul Scott
On 9/14/22 06:49, pa...@quillandmouse.com wrote: Folks: I just installed Debian testing. I do PHP development. I host live websites at /var/www/html and development sites at /home/paulf/public_html. I have Apache configured so that localhost/~paulf/ gets me to the sites at /home/paulf

Getting PHP to work with Apache on other directories

2022-09-14 Thread paulf
Folks: I just installed Debian testing. I do PHP development. I host live websites at /var/www/html and development sites at /home/paulf/public_html. I have Apache configured so that localhost/~paulf/ gets me to the sites at /home/paulf/public_html. I have an index.html and a script to test PHP

Re: Buster Apache php website in other lang than os

2021-04-20 Thread john doe
On 4/20/2021 1:15 PM, IL Ka wrote: What do I need to do in Apache and in PHP for it to properly render the language the website is written in? Do I need to generate the locales for the desired languages? Do I need to also do something in Apache? Just write your document and save it in utf

Re: php -f index.php works but not when access from apache Debian Bullseye

2021-04-20 Thread john doe
On 4/20/2021 8:10 PM, john doe wrote: Debians, I'm working on a website mixing PHP and HTML, if I do the command 'php -f index.php' it works, but in Apache it is not working. I don't understand what Im doing rong, Aache'slog is not giving any clue. I'm not sure

php -f index.php works but not when access from apache Debian Bullseye

2021-04-20 Thread john doe
Debians, I'm working on a website mixing PHP and HTML, if I do the command 'php -f index.php' it works, but in Apache it is not working. I don't understand what Im doing rong, Aache'slog is not giving any clue. I'm not sure what to do to understand where thi

Re: Buster Apache php website in other lang than os

2021-04-20 Thread IL Ka
> > > What do I need to do in Apache and in PHP for it to properly render the > language the website is written in? > > Do I need to generate the locales for the desired languages? > Do I need to also do something in Apache? > Just write your document and save it in u

Buster Apache php website in other lang than os

2021-04-20 Thread john doe
Hello all, I'm playing with Apache2 and php. I'm making a website in an other language than the one Debian Buster is using. That is, Buster is in English but the website is written in Duch or any other language then English. What do I need to do in Apache and in PHP for it to prope

Status of Apache Solr

2020-10-05 Thread AndrƩ Rodier
Hello, The version of Solr on Debian seems to be outdated a lot. The Debian version is 3.6, but IIRC, the official version is 8.x. I checked testing and Sid, but it seems to be the same version. What is the status, of this, please? Thanks, AndrƩ

Re: folders (was Re: Why can't I move the document root for a site in Apache 2? [SOLVED])

2020-09-02 Thread tomas
On Wed, Sep 02, 2020 at 12:40:21PM +0300, Andrei POPESCU wrote: [...] > > I think it's an antipattern, but of course anyone's mileage may vary. > > Having had to explain "computer stuff" to various people over the time > (often older than me) I found the folder analogy to be easier to > unders

Re: folders (was Re: Why can't I move the document root for a site in Apache 2? [SOLVED])

2020-09-02 Thread Andrei POPESCU
On Ma, 01 sep 20, 15:53:17, to...@tuxteam.de wrote: > On Tue, Sep 01, 2020 at 06:48:22AM -0400, The Wanderer wrote: > > On 2020-09-01 at 04:29, to...@tuxteam.de wrote: > > > > > [1] Why people keep insisting in calling those things "folders" is > > >beyond me. They don't "fold" anything, do th

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread John Crawley
On 2020-09-01 23:11, to...@tuxteam.de wrote: On Tue, Sep 01, 2020 at 10:03:27AM -0400, rhkra...@gmail.com wrote: On Tuesday, September 01, 2020 04:29:55 AM to...@tuxteam.de wrote: [1] Why people keep insisting in calling those things "folders" is beyond me. They don't "fold" anything, do th

Re: folders (was Re: Why can't I move the document root for a site in Apache 2? [SOLVED])

2020-09-01 Thread Marek Mosiewicz
In fact it used to be called directory, before GUI shells emerged. So MS DOS to dispaly content of "folder" used command named dir. Cheers, Marek Mosiewicz W dniu wto, 01.09.2020 o godzinie 06āˆ¶48ā€‰-0400, użytkownik The Wanderer napisał: > On 2020-09-01 at 04:29, to...@tuxteam.de wrote: > > >

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread tomas
On Tue, Sep 01, 2020 at 10:34:59AM -0400, Greg Wooledge wrote: > On Tue, Sep 01, 2020 at 04:08:45PM +0200, to...@tuxteam.de wrote: > > That depends on context, program, etc. But if you give the program > > an absolute path, every directory from the root down to the file > > has to be readable for y

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Greg Wooledge
On Tue, Sep 01, 2020 at 04:08:45PM +0200, to...@tuxteam.de wrote: > That depends on context, program, etc. But if you give the program > an absolute path, every directory from the root down to the file > has to be readable for your program. Every directory in the path must have the +x bit for you.

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread tomas
On Tue, Sep 01, 2020 at 10:03:27AM -0400, rhkra...@gmail.com wrote: > On Tuesday, September 01, 2020 04:29:55 AM to...@tuxteam.de wrote: > > [1] Why people keep insisting in calling those things "folders" is > >beyond me. They don't "fold" anything, do they? > > (My day to make extraneous resp

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread tomas
On Tue, Sep 01, 2020 at 11:02:18PM +1000, elvis wrote: > > On 1/9/20 6:29 pm, to...@tuxteam.de wrote: > >On Mon, Aug 31, 2020 at 04:57:28PM -0400, Gary Dale wrote: > > > >[...] > > > >>Just to be clear, the folder I had to change permissions on is the > >> >>document root, > >To be able to access

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread rhkramer
On Tuesday, September 01, 2020 04:29:55 AM to...@tuxteam.de wrote: > [1] Why people keep insisting in calling those things "folders" is >beyond me. They don't "fold" anything, do they? (My day to make extraneous responses? ;-) Historical: file folders hold documents in file cabinets...

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Kenneth Parker
On Tue, Sep 1, 2020, 9:34 AM Greg Wooledge wrote: > On Tue, Sep 01, 2020 at 09:30:15AM -0400, Kenneth Parker wrote: > > Directories go back, even before Windows: The MSDOS Equivalent to ls is > > dir, which I "guess" means "List Directory". > > > > Ah yes, the "Good old days". > > Yup, but very

Folders [was: Why can't I move the document root for a site in Apache 2? [SOLVED]]

2020-09-01 Thread tomas
On Tue, Sep 01, 2020 at 08:05:32AM -0400, Greg Wooledge wrote: > On Tue, Sep 01, 2020 at 10:29:55AM +0200, to...@tuxteam.de wrote: > > [1] Why people keep insisting in calling those things "folders" is > >beyond me. They don't "fold" anything, do they? > > It's a Microsoft Windows thing. Wind

Re: folders (was Re: Why can't I move the document root for a site in Apache 2? [SOLVED])

2020-09-01 Thread tomas
On Tue, Sep 01, 2020 at 06:48:22AM -0400, The Wanderer wrote: > On 2020-09-01 at 04:29, to...@tuxteam.de wrote: > > > [1] Why people keep insisting in calling those things "folders" is > >beyond me. They don't "fold" anything, do they? > > As I understand matters, it's an extension of the "de

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Greg Wooledge
On Tue, Sep 01, 2020 at 09:30:15AM -0400, Kenneth Parker wrote: > Directories go back, even before Windows: The MSDOS Equivalent to ls is > dir, which I "guess" means "List Directory". > > Ah yes, the "Good old days". Yup, but very few of the Microsoft Windows users today have a background in MS

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Dan Ritter
elvis wrote: > > On 1/9/20 6:29 pm, to...@tuxteam.de wrote: > > On Mon, Aug 31, 2020 at 04:57:28PM -0400, Gary Dale wrote: > > > > [...] > > > > > Just to be clear, the folder I had to change permissions on is the > > > > > document root, > > To be able to access a file given its path, you nee

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Kenneth Parker
On Tue, Sep 1, 2020, 8:05 AM Greg Wooledge wrote: > On Tue, Sep 01, 2020 at 10:29:55AM +0200, to...@tuxteam.de wrote: > > [1] Why people keep insisting in calling those things "folders" is > >beyond me. They don't "fold" anything, do they? > > It's a Microsoft Windows thing. Windows presents

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread elvis
On 1/9/20 6:29 pm, to...@tuxteam.de wrote: On Mon, Aug 31, 2020 at 04:57:28PM -0400, Gary Dale wrote: [...] Just to be clear, the folder I had to change permissions on is the To be able to access a file given its path, you need to have read access to each directory [1] along that path. Ther

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread Greg Wooledge
On Tue, Sep 01, 2020 at 10:29:55AM +0200, to...@tuxteam.de wrote: > [1] Why people keep insisting in calling those things "folders" is >beyond me. They don't "fold" anything, do they? It's a Microsoft Windows thing. Windows presents directories and files graphically, and the icon for a direct

folders (was Re: Why can't I move the document root for a site in Apache 2? [SOLVED])

2020-09-01 Thread The Wanderer
On 2020-09-01 at 04:29, to...@tuxteam.de wrote: > [1] Why people keep insisting in calling those things "folders" is >beyond me. They don't "fold" anything, do they? As I understand matters, it's an extension of the "desktop" metaphor. Back before computers (and to some extent afterward), pe

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-09-01 Thread tomas
On Mon, Aug 31, 2020 at 04:57:28PM -0400, Gary Dale wrote: [...] > Just to be clear, the folder I had to change permissions on is the > document root, To be able to access a file given its path, you need to have read access to each directory [1] along that path. There isn't another way, and thi

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-08-31 Thread mick crane
On 2020-08-31 21:57, Gary Dale wrote: Just to be clear, the folder I had to change permissions on is the I think the document root is just where apache2 looks first. *Don't know if you are supposed to do it like that* but think the actual html files can be anywhere so long as they have the ri

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-08-31 Thread Gary Dale
On 2020-08-31 15:59, Gary Dale wrote: On 2020-08-31 15:14, Gary Dale wrote: On 2020-08-30 13:24, john doe wrote: On 8/30/2020 7:08 PM, john doe wrote: On 8/30/2020 6:27 PM, Gary Dale wrote: I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I cre

Re: Why can't I move the document root for a site in Apache 2? [SOLVED]

2020-08-31 Thread Gary Dale
On 2020-08-31 15:14, Gary Dale wrote: On 2020-08-30 13:24, john doe wrote: On 8/30/2020 7:08 PM, john doe wrote: On 8/30/2020 6:27 PM, Gary Dale wrote: I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I create a virtual host under /var/www, every

Re: Why can't I move the document root for a site in Apache 2?

2020-08-31 Thread Gary Dale
On 2020-08-30 13:24, john doe wrote: On 8/30/2020 7:08 PM, john doe wrote: On 8/30/2020 6:27 PM, Gary Dale wrote: I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I create a virtual host under /var/www, everything works as expected. However, if I c

Re: Why can't I move the document root for a site in Apache 2?

2020-08-30 Thread john doe
On 8/30/2020 7:08 PM, john doe wrote: On 8/30/2020 6:27 PM, Gary Dale wrote: I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I create a virtual host under /var/www, everything works as expected. However, if I change the virtual host's docume

Re: Why can't I move the document root for a site in Apache 2?

2020-08-30 Thread john doe
On 8/30/2020 6:27 PM, Gary Dale wrote: I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I create a virtual host under /var/www, everything works as expected. However, if I change the virtual host's document root to another folder on the same mach

Why can't I move the document root for a site in Apache 2?

2020-08-30 Thread Gary Dale
I'm running Apache 2.4.38-3+deb10u3 on a Debian/Stable server on an AMD64 machine. When I create a virtual host under /var/www, everything works as expected. However, if I change the virtual host's document root to another folder on the same machine, I get |Forbidden You

Re: apache 2.4 configuration

2020-04-11 Thread Joe
On Sat, 11 Apr 2020 07:34:20 + "Russell L. Harris" wrote: > On Mon, Apr 06, 2020 at 12:43:58PM +0100, Joe wrote: > >Localhost is the machine running Apache. The normal IP address for it > >is 127.0.0.1, though there are others. It isn't an Apache thing, &g

Re: apache 2.4 configuration

2020-04-11 Thread Russell L. Harris
On Mon, Apr 06, 2020 at 12:43:58PM +0100, Joe wrote: Localhost is the machine running Apache. The normal IP address for it is 127.0.0.1, though there are others. It isn't an Apache thing, it's a networking thing. It's referred to in network configuration as 'lo'. If

Re: apache 2.4 configuration

2020-04-06 Thread Joe
On Mon, 6 Apr 2020 06:26:21 + "Russell L. Harris" wrote: > 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

Re: apache 2.4 configuration

2020-04-06 Thread Andrei POPESCU
On Lu, 06 apr 20, 10:51:06, john doe wrote: > On 4/6/2020 8:26 AM, Russell L. Harris wrote: > > > 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 > > localhost is

Re: apache 2.4 configuration

2020-04-06 Thread john doe
On 4/6/2020 8:26 AM, Russell L. Harris wrote: > 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

apache 2.4 configuration

2020-04-05 Thread Russell L. Harris
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 t

Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
versions of PHP. And yes, I have the PHP mod active in Apache. Re: getting a core dumpā€¦ thatā€™s the part I need help with. I did get the debugger installed but I am not experienced with how to use it in a way thatā€™d let me actually get useful data. The big blocking problem would seem to be

Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread tomas
ok first into that PHP part (I'm assuming you're running mod_php, so it's in the Apache binary, and a crash in PHP would crash the server, too). Which kind of problems did you have with PHP? Any possibility of getting a core dump you can look into with the debugger? (Sorry fo

Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
ities > that we had to address to bring our sites back up. > > Iā€™m _pretty_ sure we donā€™t have any config incompatibilities in Apacheā€¦ > because yeah, Apache does in fact run. But Iā€™ll doublecheck if the reload > command youā€™re asking about throws any actual errors. > > And

Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
Yes we did, we did the upgrade in two distinct stages. We did run into roadblocks as we went, but those were mostly around PHP incompatibilities that we had to address to bring our sites back up. Iā€™m _pretty_ sure we donā€™t have any config incompatibilities in Apacheā€¦ because yeah, Apache does

Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Dan Ritter
Angela Korra???ti wrote: > However, as of when we updated to Debian 10.2, we started having recurring > issues with Apache throwing segmentation faults that resulted in all > PHP-based sites (notably, the Wordpress ones) throwing 503 errors from > varnish. > > https://angela

Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korraā€™ti
Hi Debian users list, My name is Angela and I run Debian 10.2 on my home web server. On that server, my wife and I are hosting several Wordpress sites as well as a small number of non-Wordpress ones. However, as of when we updated to Debian 10.2, we started having recurring issues with Apache

Re: apache only servers text page

2019-09-30 Thread Dave
Sorry about that. by remarking out the ForceType we are now able to view html file. Apache is serving perl executables as actual code. ( .pl .cgi ) or files that have the first line as #!/usr/bin/perl perl has been installed in correct location. /etc/mime.types file has text/x-perl .pl

Re: apache only servers text page

2019-09-30 Thread Carl
On 9/29/19 11:28 PM, Dave wrote: Our apache2 is only severing text or code pages instead of html pages. apache did have a "ForceType of text/plain remarking out did not solve the problem. .pl files on the server are also served are code. text/html - is used in all scripts, and it is lo

apache only servers text page

2019-09-29 Thread Dave
Our apache2 is only severing text or code pages instead of html pages. apache did have a "ForceType of text/plain remarking out did not solve the problem. .pl files on the server are also served are code. text/html - is used in all scripts, and it is located in the mime.types we use su

ModSecurity-apache for Debian

2019-02-05 Thread Dale Harris
Hi, Just wondering if anyone knew if there was a plan to package ModSecurity-apache for v3 for modsecurity? This would be presumably be a replacement for libapache2-mod-security2, which is based on modsecurity v2. https://github.com/SpiderLabs/ModSecurity-apache There is libmodsecurity3 and

Apache Segmentation Fault

2018-11-23 Thread H.
Hi, I have a web server running Testing with apache 2.4.37 and php 7.3. The purpose of the server is to run owncloud. However, after the nightly restart the server stops working. The logs show the following: /var/log/apache2/error.log.1 [Fri Nov 23 00:00:01.526101 2018] [mpm_prefork:notice] [pid

Apache Dependancy hell with mpm_prefork and mpm_itk

2018-10-16 Thread Eggert Ehmke
Seems I am in dependancy hell. Any way out? My system: Debian 9.5, Apache 2.4.25, PHP 7.2 php7.2-fpm enabled. I have several virtual hosts, that run as different users. So I need mpm_itk in my vhost config: ERROR: The following modules depend on mpm_prefork and need to be disabled

Re: Apache and PHP-FPM

2018-09-24 Thread Nazar Zhuk
Hi, On Mon, Sep 24, 2018 at 05:52:28PM +0200, Martin LEUSCH wrote: > Hi, > > I have a web server with Apache 2.4 running in worker mode and multiple php > version with FPM service running in dynamic mode. > > Sometimes php-fpm stop responding and I got a 503 error on php re

Apache and PHP-FPM

2018-09-24 Thread Martin LEUSCH
Hi, I have a web server with Apache 2.4 running in worker mode and multiple php version with FPM service running in dynamic mode. Sometimes php-fpm stop responding and I got a 503 error on php request but apache still respond to http request to other files (css, js, jpeg, ...) then after a

Bingo! Apache HTP-Server won't fork more than 3000 processes.

2018-09-18 Thread Martin
Am 18.09.2018 um 13:57 schrieb Martin: > Am 18.09.2018 um 13:40 schrieb Mirko Parthey: >> On Tue, Sep 18, 2018 at 12:37:48PM +0200, Martin wrote: # cd /sys/fs/cgroup/pids/... # cat pids.max >>> >>> There is no pids.max >>> But I have a /proc/sys/kernel/pid_max = 32768 >>> I guess like sys

Re: Apache HTP-Server won't fork more than 3000 processes.

2018-09-18 Thread Martin
Am 18.09.2018 um 13:40 schrieb Mirko Parthey: > On Tue, Sep 18, 2018 at 12:37:48PM +0200, Martin wrote: >>> # cd /sys/fs/cgroup/pids/... >>> # cat pids.max >> >> There is no pids.max >> But I have a /proc/sys/kernel/pid_max = 32768 >> I guess like systemd is limiting here? >> >>> How many tasks are

Re: Apache HTP-Server won't fork more than 3000 processes.

2018-09-18 Thread Mirko Parthey
On Tue, Sep 18, 2018 at 12:37:48PM +0200, Martin wrote: > > # cd /sys/fs/cgroup/pids/... > > # cat pids.max > > There is no pids.max > But I have a /proc/sys/kernel/pid_max = 32768 > I guess like systemd is limiting here? > > > How many tasks are assigned to the cgroup? > > # wc -l tasks > > 103

Re: Apache HTP-Server won't fork more than 3000 processes.

2018-09-18 Thread Martin
>> one) Red Hat 6 in parallel, that one does. > > There may be two issues here, my answer refers to > 'cgroup: fork rejected by pids controller'. > > Is there any limit set in pids.max for the apache cgroup under the pids > controller? > # cd /sys/fs/cgroup/pids

  1   2   3   4   5   6   7   8   9   10   >