Questions tagged [apache-httpd]

Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Apache Reverse Proxy with SSL + Moodle 3.7 results Error 503

I would like to setup an Apache reverse proxy with SSL on both frontend & backend. Using wildcard SSL certificate. Front-end server versions: - Debian GNU/Linux 9.7 (stretch) - Apache v2.4.25 ...
3
votes
0answers
21 views

Is it possible to get the apache server-status page without sending a GET request to one of the workers?

I have the server-status page setup and can access it through http://localhost/server-status and commands like apache2ctl status. Is there a way to access the infromation in the server-status page ...
0
votes
0answers
22 views

Remote OS Command Injection via File URL for WordPress site

We ran a security test for our site, in the report we got below error. Error: Remote OS Command Injection URL: https://www.{domain}.com/wp-content/uploads/2019/11/Banner-GIF-1200-2x.mp4?_=1%...
-2
votes
0answers
28 views

The SSL works on www only but error on non-www [closed]

i use lets encrypt certbot on apache centos7 the ssl works on www only but non-www says site not secure what could be the problem? this is the config <VirtualHost *:80> ServerName txt-...
0
votes
1answer
18 views

Permissions Issue on Debian with Apache Server

I know there is a ton of questions like this on here. I have looked at, I feel like, all of them and tried the solutions. However I have been running into this issue for a while now. I have a user ...
0
votes
0answers
24 views

Http requests hanging on new CentOS 7 + apache install. TTFB of 30 secs

we've just migrated from CentOS 6.5 with PHP 5.3 to CentOS 7.7 with PHP 7.0 and are getting strange behaviors with some http requests Most of the time, pages & resources load super fast, and some ...
1
vote
1answer
28 views

Setting up Apache Mutual Authentication

I was asked to setup an Apache webserver to use Mutual Authentication in order to protect access to a specific folder/file. The access to this specific file/folder should be granted only if the ...
0
votes
0answers
29 views

Accidentally installed pi hole on my main web server, then uninstalled it and now apache will not start

I did something stupid today without thinking. I have a headless home server running Ubuntu Server LTS 18.04. I also have apache running, and several websites that I access only inside my home ...
1
vote
1answer
108 views

How to setup user access control for Apache, SSH, SFTP?

I would like to: give a SFTP access to a friend to his directory /home/friend on my server give him a web hosting with Apache in /home/friend/www/ not allow him to visit /etc/ and similar directories ...
0
votes
1answer
27 views

can't write file on php

I am trying to create a file in the /tmp directory and unable to. It won't even let me create a file in the same dir I am in (/var/www/html). I believe I dont have the correct setting on my php.ini, ...
0
votes
1answer
28 views

How to intercept HTTP request before passing to any web server like APACHE or NGINX?

I would like to send a custom response before any request hit to any web server like APACHE, NGINX or any other. I heard about Content-filtering and Packet-filtering. So I am not looking for the ...
0
votes
1answer
29 views

How to set selinux labels for a folder hierarchy accessed server side by NFS, Apache, and SaMBa daemons simultaneously?

The Mandatory Access Controls or MAC labels are different for NFS which are different for httpd, and different yet again for SaMBa. What is the proper way nowadays to label a SINGLE shared filesystem ...
0
votes
0answers
27 views

Apache timeout only on port 80

I have installed debian 10 on my pc, i installed apache2 and i'm trying to bind a domain to my pc I've added in my router's forwarding the port 80. When i enter to the domain from my browser i can ...
0
votes
1answer
20 views

Apache proxy reverse to webmin (CentOS 7)

I have a CentOS7 virtualized in my testing homelab. I installed webmin along with Apache webserver and I can reach the webmin login page through the CentOS machine IP address on port 10000 (https). ...
0
votes
0answers
17 views

How to install Apache on OmniOS

I am attempting to install Apache on OmniOS. I followed the instructions here: option 2 https://wiki.openindiana.org/oi/3.+Installing+software+and+package+management Ran the command: echo $PATH ...
0
votes
0answers
43 views

Apache fails to start, Address already in use (but not really)

My apache worked normally. Suddenly my sites stopped and I noticed that it was disabled. I'm using the Webmin control panel and I have two websites running on virtualmin. I got this error: Job for ...
0
votes
0answers
5 views

mod_fcgid performance configuration for QGIS service

Let's say QGIS service will be receiving 250 requests/s. Requests will be only for vector data from database. What mod_fcgid configuration should look like in order to handle this king of load. ...
0
votes
0answers
18 views

Cannot assign requested address with every port (Apache)

I successfully installed and setup Apache server, and it works fine! I created a sysmlink for httpd service so it can startup on boot, and it works fine too! Now if I lock my PC or put it on sleep, ...
0
votes
0answers
19 views

Index.html file not displaying

I am a total noob trying to get my domain/index.html to display public. It displays the files, and then Apache2 Ubuntu Default Page @ http://domain/domain/public_html. Here is the apache2 log. Any ...
0
votes
1answer
51 views

404 error when downloading file from webserver from “itself”

I need to, somehow, allow my server to download files from itself. I have to use wget from example.com on file example.com/script.json, but when I try that, I am getting 404 error Resolving https://...
0
votes
0answers
34 views

Apache stopped working after reboot

My Apache server on CentOS7 suddenly stopped working after a reboot. I had SSL configuration with .crt and .key wildcard certificates obtained from a valid CA. When I restart the httpd service I ...
0
votes
0answers
18 views

Is there a way to artificially slow down Apache http server transactions to simulate load?

Is there a way to artificially slow down Apache http server transactions to simulate load? I'd need to force http transactions to take 100ms+ instead of the normal 3ms, without killing the CPU or ...
0
votes
1answer
21 views

Apache RewriteCond not matching on `REQUEST_FILENAME` even though file exists?

Trace log: apache_1 | [Wed Nov 20 17:14:43.950796 2019] [rewrite:trace2] [pid 9:tid 140252198749952] mod_rewrite.c(483): [client 172.18.0.1:54078] 172.18.0.1 - - [localhost/sid#7f8f031725e8][rid#...
0
votes
1answer
30 views

Is TLS-level compression with Apache possible?

Apache2 can transfer compressed data by using the deflate filter. However, it does a HTTP-level compression: it sends back a compressed response, and it shows in the response headers to the clients to ...
0
votes
0answers
35 views

Azure + Apache = Symbolic link not allowed or link target not accessible

I have got a CentOS 7+ and a storage account in Azure - File Share: //<shared_name_Azure>/repositorio /mnt/repositorio cifs nofail,vers=3.0,credentials=/etc/smbcredentials/rgtest001diag.cred,...
0
votes
1answer
21 views

Application systemctl not executing entire row of ExecStart from file httpd.service

The exact file location is: /etc/systemd/system/multi-user.target.wants/httpd.service I modified the ExecStart line to reflect the following: ExecStart=echo START && echo test > /root/out....
0
votes
0answers
31 views

Apache server at new AWS EC2 instance is not reachable even with “All source” and 0.0.0.0/0

I have installed Apache2 server and I am able to access my EC2 public DNS address from EC2 instance terminal with: curl http://ec2-xx-xxx-xx-xxx.us-east-2.compute.amazonaws.com/ which returns a ...
0
votes
0answers
52 views

Debian Stretch + Apache 2.4 + PHP 5.6 + PHP 7.0 and virtual hosts

I have a little Debian 9 server with Apache 2.4 installed. I need it to serve my home with a Nextcloud service, which requires PHP7.0. Then I also need to get it to serve a rather old service (http://...
0
votes
0answers
22 views

OCSP stapling + CRL on Apache

Please imagine an architecture with a root certificate authority (CA) and a subordinate CA. Is it possible for a client: to connect to an https server verify the validity of the server's ...
0
votes
0answers
15 views

OCSP: multi stapling on Apache

I am very interested in setting up multi stapling and I can not find a lot of documentation on it, or in any case, recent information. I have a certificate authority (CA) and a root CA above. They ...
0
votes
0answers
4 views

How to setup custom Error file for mod_security (401 Error)

I tried multiple method for setting up custom error file for mod_security. Panel: Cpanel Linux Os: Centos 7 In Cpanel server, I tried to show a customized error page whenever mod security blocks a ...
0
votes
1answer
36 views

Git repository server GIT_PROJECT_ROOT

I'm trying to configure my own git repository server with Git SmartHTTP and Apache2. So followed these instuctions from the official git manual. But during the configuration it becomes not clear to me,...
1
vote
1answer
81 views

How to avoid systemd PID conflict after crash?

I'm running httpd24-httpd-2.4.34-7 configured to start on boot (via systemd) on RHEL 7.7. Recently I had this problem: System crashed, leaving the httpd.pid file intact System started back up httpd ...
0
votes
0answers
21 views

http server proxypass and reverse proxypass

I am running a java service on port 18631 on centos 7. I have redirected it on HTTP server as below ProxyPass / http://localhost:18631/ ProxyPassReverse / http://localhost:18631/ the service is ...
1
vote
1answer
47 views

apache2 limits prefork

mb someone could give me some recommendation what limits should i use? I have problem with webservice in centos7-cloudlinux Cpanel server, Apache2.4. When server have high traffic in apache2 error ...
0
votes
0answers
80 views

Docker IP forwarding for bridged container with Apache

I am using LAMP image for my DOCKER container and in my apache access.log all of the requests are from same ip address: 172.17.0.1. This is bridge ip. My question is: is there a possibility to forward ...
0
votes
0answers
15 views

Hosts file - accessing Apache server running on remote VM

Newbie question. Attempting to configure my client machine (Mac OS X 10.14) so that I can access resources on an Apache Server running on a Remote VM (RedHat 7.5) via the client web browser. Have ...
0
votes
0answers
11 views

Two Virtaulhost with one IP in Apache2 is not working with Haproxy

For my case, haproxy is at front-end where ssl terminates ( in actual system) and requests are served via back end. In backend, there are two virtual hosts. My requirement is that if client type IP in ...
1
vote
2answers
43 views

Avoid Public IP based browsing of website in Apache 2.4

We are hosting a website locally. For this purpose, we have a public IP and corresponding DNS entry. We are using Apache 2.4 web-server. The website is publicly accessible without any problem. But ...
0
votes
0answers
10 views

Docker - Index page not showing

I recently started learning docker. i downloaded the httpd image from docker hub and mounted external source on containers "/var/www/html" and ran the container on host docker run -dit --name ...
1
vote
1answer
78 views

httpd failed to start [closed]

I got this problem when I renewed my SSL certificate. Output is below: httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: ...
1
vote
6answers
512 views

Unable to access Apache webserver from local home network

I am running an Apache web server on a desktop machine running Trisquel 8 (based on Ubuntu). I would like to make the server accessible to other machines/devices on my local network, but I can't ...
0
votes
0answers
12 views

Run httpd as domain account for NFS-mounted storage

I have this VM running CentOS 8 that hosts a web app. I want the files for the web app to be hosted over NFS on a dedicated file server so I don't have to deal with virtual disk sizing (because they ...
0
votes
1answer
31 views

Apache uses 9GB of RAM but htop only shows 2.7GB of used RAM. Why?

My website is very slow at some times of the day, and I'm on the quest of finding out why. I'm currently looking into Apache memory usage and I have 2 tools that are supposed to tell me how much RAM ...
0
votes
1answer
233 views

How to change Host header in apache

i have two vhosts (www.test1.com and www.test2.com). I want for www.test2.com vhost change Host header to www.test1.com. I have create config file but it doesn't work. w1.conf <VirtualHost *:80&...
0
votes
1answer
125 views

How enable content-length header using .htaccess?

I have a seriously big problem, when i download any file for example: myfile.zip, or when i load a page for example: myserver.com/welcome.html, the response headers not include content-length and the ...
0
votes
0answers
31 views

PHP-FPM unable to load yanmic library

I noticed that I get the following error in my apache error.log: PHP Fatal error: Call to undefined function curl_init() so I removed the semicolon for the curl extension in my php.ini. I ...
0
votes
0answers
16 views

redirects error with ssl certificate

I am using drupal 8 , in a Google cloud engine (http and https traffic allowed) running apache on an Ubuntu 19.04. All worked, site (refered to here as sub.my-domain.com, it is indeed a subdomain with ...
0
votes
0answers
52 views

GPG error: NODATA, How to correctly setup my server for a apt repository and my apt repository?

i have a repository made by me, im using apache, but i have a critical problem, when i run the command "apt-get update", i got this error in apt: E: GPG error: http://localhost ./ InRelease: ...
0
votes
1answer
32 views

Apache 2 Virtual Host allow serving all files from a directory

I have an Apache 2 server installed on my Debian system. The Apache listens on port 80. Then I have a simple nodeJS server listening on port 8080. I want to use the Apache as proxy for the nodeJS ...