Questions tagged [apache-http-server]

Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation. If your question is about other Apache software such as Tomcat or log4j, http://stackoverflow.com/ is a better choice.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

How to make apache service run continuously from script file from docker?

I am trying to run apache2 service from .sh script from dockerfile. The 'sh' script contains 3 executable commands which is presented as below: #!/bin/bash export DISPLAY=:0.0 echo "pvw ...
0
votes
0answers
10 views

Easy way to manage a 301 Redirect that Changes Monthly [closed]

We made a simple web portal for our K12 students with commonly used links. One of the links is to order catered lunches each month. The order form is created in Jotform and the link changes each month....
0
votes
1answer
43 views

How can I trust to self-signed certificate?

Hy! I want to have a valid padlock when I am accessing to a website. This need to be working only for me. Can I add a cert.crt file somewhere to don't have something like on the image below? Is this ...
0
votes
1answer
20 views

What's the purpose of this block on apache virtualhost?

Often times, many people using this configuration on their Apache virtual host. <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/...
0
votes
0answers
26 views

Apache Graceful restart requested every 5 seconds

I have a Debian 9.13 server, updated. In the Apache error log I have this message every 5 seconds: [Tue Oct 19 23:15:07.000842 2021] [core:notice] [pid 7091] AH00094: Command line: '/usr/sbin/apache2' ...
0
votes
0answers
12 views

XAMPP VirtualHosts on Mac 403 with set permissions

I followed this post step by step. I found it through google and multiple answers here point to this article. I still can't access my page, because I get a 403. FYI: I'm currently not using the XAMPP ...
0
votes
1answer
22 views

ubuntu 100% CPU Load from apache

My Ubuntu server has a 100% CPU usage due to Apache. Actually there are only a few pages on the server that no one ever visits. What is the reason for this and how can I find out? Thanks in Advance ...
0
votes
0answers
10 views

Can't connect to Tomcat via Apache HTTP Server using mod_jk

Issue: I can't connect to my Apache Tomcat site through the Apache HTTP Server using the mod_jk. I can access the Tomcat website when I define the URL with the port number, example: http://localhost:...
0
votes
0answers
7 views

How do I remove docker-traefik dependency and map a dockerized application to localhost?

docker-compose.yml: version: "3.3" services: traefik: image: matt/traefik-dev:1.0.0.1 container_name: "traefik" command: - /bin/sh - -c - sh /...
1
vote
0answers
14 views

SyntaxHighlight - MediaWiki - Centos 8

So I am using Centos 8 Stream starting from minimal install and I have built a functioning MediaWiki v1.35.4 accessible within my local network with httpd(apache). I am trying to utilize ...
0
votes
0answers
42 views

Hide specific files in Apache 2 directory listing using .htaccess

Hello! TL;DR: I am trying to hide certain files using the Apache .htaccess file while browsing a directory listing. Link: https://repo.jovarkos.org/iso What I am not looking for: Disable Directory ...
0
votes
0answers
19 views

Apache Directives for Apache Reverse Proxy with SSL

I am running Gitea on a Debian 10 LAMP machince with an ISPConfig / Apache2 Reverse-Proxy. I managed to get Gitea working on my test server, that doesn't have SSL, using the apache directives below: ...
0
votes
1answer
10 views

Apache does not follow symlinks on Windows 403 forbidden

I found many similar questions but only for Linux and they did not solve my problem. What I do is: <VirtualHost *:80 *:443> ServerAdmin webmaster@localhost ServerName ...
1
vote
1answer
19 views

RewriteEngine gives error 500 internal server error for 404 pages - apache2

I wanted to replace the .html extensions with just nothing in apache. Eg. DNS/coffee.html to be DNS/coffee. I found myself this code. <IfModule mod_rewrite.c> RewriteEngine on ...
0
votes
0answers
22 views

Getting PR_CONNECT_RESET_ERROR with Apache Server

I have an Apache server hosting a site with a domain pointed to it. When I go to the site with my Firefox browser, I get PR_CONNECT_RESET_ERROR. I thought maybe with the update of Firefox 93 as of ...
0
votes
1answer
28 views

Apache2.4 Has Stopped Logging Entries

I have successfully restarted apache, I ran configtest, I've run apachectl -t and everything says apache is "OK" However, my error.log has simply stopped logging any new entries for almost 2 ...
0
votes
0answers
13 views

Apache2 says location directive index file does not exist

I have the following files in my /var/www/example1.com/public_html folder: index.html login.html It works fine to access index.html when typing www.example1.com in the browser. I also want to define ...
0
votes
1answer
23 views

Running PiHole with Apache2

I'm trying to install PiHole on my Raspberry Pi, but having some trouble configuring it. I currently use it as a reverse proxy to some webservers/applications running in my network. My main issue (I ...
0
votes
0answers
31 views

How to get ISGR_Root_X1 working on Ubuntu 14.04 LTS ESM?

After the recent Let's Encrypt change that switched over their root certificate to ISGR Root X1, I needed to make a change to an old Ubuntu 14.04 server running an old django application on an apache2 ...
0
votes
0answers
40 views

Strange Apache Error Log Entry

Quick noob question, I have been trouble shooting a modsec problem for the past 2 days and constantly reload the apache error log. I just suddenly found these entries in the error log and I have no ...
0
votes
0answers
27 views

Why are my ModSecurity rule exceptions being ignored?

This might be an obvious issue for some, but I can't figure why ModSec is ignoring my rule exception. I am using Debian 10 and an SSL secured URL for Monit monitoring software, that works on www....
0
votes
0answers
38 views

How to allow access to WAMP Virtual Host from over the internet?

I try to write everything with the settings with all. I have a localhost with wamp and windows 10, that I'm trying to access from other computers outside the network. Because i have some problems ...
1
vote
1answer
30 views

XAMPP Apache shows router page instead of Application

Pretty simple issue but cannot figure this out. I have a simple app in Windows 10 in the xampp folder. I have port forwarded using my router. However, when I put my public IP in the browser, I see the ...
1
vote
0answers
85 views

Apache is serving only one page - Ubuntu 20.04 - Apache 2.4.41

I have installed Apache2 on my Ubuntu 20.04 server and created virtual hosts for 2 of my different websites. The idea is to serve one content for dog.com and a different content for cat.co.uk I have ...
0
votes
0answers
13 views

Removing trailing slash breaks apache reverse proxy [duplicate]

My reverse proxy configuration looks like this ProxyPreserveHost On ProxyPassReverse / http://192.168.1.3:8080/ ProxyPass / http://192.168.1.3:8080/ The main server where port 80 is ...
0
votes
0answers
22 views

how to set index.php as default page in apache linux rhel

I tried to set index.php as a default page in my PHP project which is running on apache. I edited httpd.conf file in path etc/httpd/conf/httpd.conf <IfModule dir_module> DirectoryIndex ...
-3
votes
1answer
39 views

Apache virtual host doesn't load the index.html file

I wrote httpd.conf file, but it's not loading the index.html file. Whenever I type project URL in browser it says this site can't be reached. <VirtualHost *:80> ServerName www.linuxhelptesting....
0
votes
0answers
19 views

Virtual host is not working in apache on remote linux server

I wrote httpd.conf file this way but it's not working for me. <VirtualHost *:80> DocumentRoot "/var/www/html/" ServerName dev.srv.volvo.com ServerAlias www.dev.srv....
0
votes
0answers
18 views

Apache Rewrite broken with reverse proxy

I have a .htaccess file on Server 2, on it is contained: RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^...
0
votes
1answer
16 views

How to properly make default SSL VirtualHost with apache2?

I have an Ubuntu server with apache2 serving the 2 different domains example.com and test.net with valid SSL certificates. I set up VirtualHosts on port 443 to serve my SSL secured domains and on port ...
0
votes
0answers
8 views

Serve Server Root instead of Subfolder when accessing my webserver through it's domain

I have a apache 2.4.38 webserver, running on my Debian 10 Buster server. In my /var/www/html, I have a index.html file, and a folder "nextcloud", with a nextcloud instance installed. If I ...
0
votes
0answers
9 views

apache reverseproxy, ProxyPreserveHost displays port 80 on secure vhost (443)

I have set up SSH reverse tunneling for my friend and a couple of virtual hosts listening on those reverseproxying them. I have a problem though, I have ProxyPreserveHost set to On in my apache2.conf (...
0
votes
0answers
12 views

Break MAMP Pro host/db association

I have started developing using Valet and must use port 80 for that. This collides with MAMP Pro's Apache on port 80, so when I need Valet running I change the port for MAMP's apache to port 81. I ...
0
votes
0answers
15 views

how to whitelists browsers with htaccess?

I found on this website great htaccess: https://htaccessbook.com/whitelist-good-bots/ # whitelist: good bots # allow major browsers RewriteCond %{HTTP_USER_AGENT} !^.*AOL.* [NC] RewriteCond %{...
0
votes
0answers
10 views

Pod in Kubernetes unstable - Sometimes available, sometimes not (switching worker nodes all the time)

I try to setup pods in kubernetes but the pods seem highly unstable. But the responses from the pod seem fully random. This is the output of an apache pod running in my k3s cluster (1 master, 3 ...
0
votes
0answers
21 views

Error 404 when logging into backend of CMS on virtual machine from host machine

I have set up a virtual server running in Oracle VirtualBox 6.1.26 with the following LAMP stack: Debian 11 Apache 2.4.48 MariaDB 10.5.11 PHP 7.4 In order to access the server from the host machine, ...
0
votes
1answer
31 views

Wampserver - accessing my website from an external device redirects to localhost

I am trying to put my Wampserver website "online". When I try to access my Wampserver website from a different device, the device will redirect to localhost. For example: My computer running ...
0
votes
1answer
22 views

Identify how server routs external connection into local 10.1.0.* address

I inherited a server (long story), let's call it Server A. The function I am trying to understand is as follows: Programmed external computer devices, wherever they may be in the world, as soon as ...
0
votes
0answers
6 views

Trouble with Radarr behind an Apache reverse proxy

So I'm trying to set up a reverse proxy to make radarr and other services available remotely. So when I go to mydomain.com I get my website and when I go to radarr.mydomain.com I should get the radarr ...
0
votes
0answers
19 views

How to make Apache serve files from a user's home directory?

The question's in the title. The vhosts config is fine, the server is looking for the index in /home/user/something/ but I keep getting "Access forbidden! Error 403". I'm running Apache (...
0
votes
1answer
15 views

How to understand the LogFormat directive in the apache2.conf configuration file?

In the comments before the LogFormat directive is used the following is written: # The following directives define some format nicknames for use with # a CustomLog directive. # # These deviate from ...
0
votes
0answers
26 views

How to get universal SSL Certificate and key when domain name isn't working?

I have a Raspberry Pi 4 running Apache2 on my home network. A few weeks ago, when I tried to access it through port forwarding, it said the connection was reset. All router settings are 100% ...
1
vote
1answer
22 views

Where should I place all the configurations for my web site on Apache?

I have a web site on the Apache HTTP Server that's installed on the Ubuntu Server. I create my own config file in the /etc/apache2/sites-enabled/mywiki.conf where I added the <VirtualHost>...<...
2
votes
1answer
108 views

Apache reverse proxy - URL without / is refused

I use reverse proxy to show backend server content for a subdomain. The subdomain.mydomain.com (server A) should display content of server with IP 123.123.123.123 port 1111 (server B). Virtual host of ...
0
votes
1answer
27 views

Why do we need the <Directory> section in the following virtual host's config file?

Here is the article explaining how to install MediaWiki on Ubuntu Server. And here's how they tell us to configure the virtual host: <VirtualHost *:80> ServerAdmin admin@your-domain.com ...
0
votes
0answers
23 views

(Apache2.4) Reverse proxying a Tor (.onion) website?

As the headline reads, how could I make my Apache2.4 virtual host reverse proxy a Tor hidden website? I already know and have set up reverse proxies, but I would like to reverse proxy a .onion website....
0
votes
1answer
18 views

Drupal pages are displayed in plain text mode

After reinstalling MacOS Big Sur I am having trouble viewing Drupal pages properly. All my Drupal pages are displayed in plain text mode. Here are my configuration files for my Apache web server. /usr/...
0
votes
1answer
27 views

Using a non-SSL subdomain alongside an SSL root domain?

I've been looking through other similar questions but so far none of the answers I've found have worked. I'm trying to use my root domain, for now let's say "domain.net" for my own content ...
1
vote
0answers
16 views

How to find out what is causing DokuWiki to be unable to save after edit?

This is happening only with one single page, even when only adding/removing a single character. All other pages can be edited & saved. localhost is Apache on Windows, if that matters. How can I ...
0
votes
0answers
8 views

Recovery of connection error for apache using at proxy

I am using Apache to proxy pass some connections e.g. via their subdomain or some subdirectory: <Virtual_host ...> ... ProxyPass /subdirectory http://hostname2:3000 retry=5 keepalive=on ...

1
2 3 4 5
63