Questions tagged [apache2]

The Apache HTTPd Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

The Apache HTTP Server is a popular Open Source Web server. This tag should be used for general questions about Apache HTTPd.

Although there is large degree of commonality between the different versions in the 2.x branches, please consider using the Apache-2.2 or Apache-2.4 tags instead for more specific Apache HTTP Server related questions.

Documentation for all major versions is both comprehensive and has a high degree of accuracy.


1741 questions
0
votes
1 answer

Apache2 Virtual Host Proxy Forward

Hi all I am trying to use a virtual host to forward streaming.fusion.tk to my internal emby server form my webserver. I have setup a config file called streaming.conf in /etc/apache2/sites-available/ ServerName…
Fusion
  • 11
  • 1
0
votes
1 answer

Why Apache2 total threadcount is more than MaxRequestWorkers

I recently moved my mpm from perfork to event (& also mod_php (php7.0) to php-fpm (proxy_fgi)) I estimated my max concurrent connection load to be around 300. So i set the following configuration in mpm_event.conf StartServers …
dgarg
  • 101
  • 2
0
votes
1 answer

Apache httpd: Alias is inherited by virtual host?

When the default server contains Alias /bla /srv/www/blub then all VirtualHosts can also acecss /bla. I must say I didn't anticipate that. IMO a virtual server should have its own separate config. Is that a bug or a feature? Can I switch this…
Marki
  • 2,854
  • 3
  • 28
  • 45
0
votes
0 answers

Handling simultaneous requests in Apache 2 and php-fpm

We have a Debian 10 server with Apache2 and PHP-FPM installed. The problem is that when I try to process multiple requests simultaneously from one client, server doesn't handle it correctly. For example, I send a request from clientA that may take…
0
votes
0 answers

How to understand and optimize memory used by each Apache process

I am aware of the method to get the average memory used by each apache2 process using ps. I have observed it and it is coming out to be around 18MB (Although it seemed to have spiked from last 2 days from 18MB avg to 25MB). Our server is serving an…
dgarg
  • 101
  • 2
0
votes
0 answers

How can I let apache server work always on my ec2 instance?

I am learning aws's EC2 server. I configured apache and php. I started the apache server with the command Sudo service httpd start But every time I stop my pc, or the next day, when I want to continue the course. I have to start again the apache…
0
votes
1 answer

Guacamole ssh into localhost Config

So I installed the apache guacamole and got the tightvnc service, which is also on the same machine as guac to connect and work perfectly. Problem is when I try to set up a connection for a ssh into the local machine, 127.0.0.1 didn't work. Nor if I…
user760466
0
votes
1 answer

apache2 redirect from subleveldomain to URL

I need to redirect myservice.example.com to www.example.com/myservice My try so far: adding a new config to apache2, doing a2ensite and restarting apache2: DocumentRoot /var/www/html ServerAdmin administrator@example.com …
Najtim
  • 1
  • 2
0
votes
0 answers

How do i know if my server is refusing/timing out API calls?

I have a relatively busy server (apache2) which serves api calls. The call volume varies greatly between day and night. Plus I believe there are some bursts of volume in between. Recently I noticed the error for maxrequestworkers in my apache error…
dgarg
  • 101
  • 2
0
votes
0 answers

apache2: /etc/hosts won't redirect to apache2

I have newly installed apache2 and by visiting localhost apache2 is shown to be up and running. I want the same to happen when I put app in the browser. When I do try to go visit app the browser gives a Unable to connect message. What I have done so…
Mr Krisey
  • 3
  • 4
0
votes
0 answers

Apache2 timeout

For several weeks now, I've been experiencing timeout problems with Apache2 making my application inacessible. It's an e-commerce website developed in PHP (stack : PHP7.2-FPM, PostgreSQL, Apache2.4.25, Debian 9). When the site does not respond, it…
Supras
  • 1
0
votes
2 answers

Cannot enable php7.4 on Ubuntu 20.04

I'm trying to set up nextcloud on a home ubuntu box. I've got php 7.4 installed, apache, etc. However apache2ctl -M does not show php as shared. This causes (I guess) the http://localhost/nextcloud setup GUI to render as raw php code in the…
auslander
  • 101
  • 1
  • 2
0
votes
1 answer

Why can't re-install apache2?

Remove and purge the apache2 in my debian. sudo apt-get remove --purge apache2 And re-install it. sudo apt update sudo apt install apache2 Reading package lists... Done Building dependency tree Reading state information... Done The following…
showkey
  • 115
  • 1
  • 4
  • 19
0
votes
0 answers

Virtual Host With Proxypass

When I try to open URL tissue.example.com, it will show tissue.example.com/tissue/index.php (the requested URL was not found) When I type tissue.example.com/index.php it will show the page but almost CSS file and image not showing. The image load…
0
votes
0 answers

Can't get Imagick PHP Extension to load when building PHP from source

I've built PHP 7.4 from source, and installed ImageMagick via yum. When I run convert --version i got Version: ImageMagick 6.9.10-68 Q16 x86_64 2021-02-24 Then I ran pecl install imagick and it says Build process completed successfully. Installing…
Barry Ralphs
  • 191
  • 1
  • 1
  • 11