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

Apache Caching disabled when client sends If-Modified-Since header

I'm trying to get Apache to cache the results from running an expensive PHP script (it accesses a third party server which has rate limiting) but it seems if the client sends an If-Modified-Since header the cache is bypassed. CacheEnable disk…
0
votes
0 answers

Can't download .bin file from server (Apache 2.4.48)

I have an Ubuntu server with Apache2.4. (Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)) I updated Apache from 2.4.46 to 2.4.48 and everything else I have tested is working properly except .bin file downloading over HTTPS. My device starts…
ziiroust
  • 1
  • 3
0
votes
2 answers

Wordpress Slowness Behind GCP HTTP Load Balancer

I am hosting a Wordpress instance on GCP Compute Engine (using the Marketplace image). It works great when I directly access the instance IP, and the latency is around 20 ms. However, in order to make the site secure, I am using a GCP HTTP load…
0
votes
2 answers

how to do 301 redirects from old site to new

I have a website which is on Wordpress www.old.example.com and on its own IP/Server 10.1.1.1 It has various pages which are ranked on google which I'd like to preserve. I have a new website www.new.example.com which is configured using APACHE2…
Z D
  • 11
  • 3
0
votes
1 answer

Apache2 - Only home url is found

I have created a laravel 8 application and installed apache2. My configuration files look like the following: 000-default.conf # The ServerName directive sets the request scheme, hostname and port that # the server uses to…
Carol.Kar
  • 117
  • 6
0
votes
1 answer

How to stop OS/daemon information leakage in dovecot (server_tokens)?

How do I stop dovecot from telling its clients what flavour of linux I'm running and that it's a dovecot imap server? If I connect to my smtp server, I see the following snippet user@host:~$ openssl s_client -crlf -connect…
Michael Altfield
  • 739
  • 2
  • 8
  • 23
0
votes
1 answer

apache how configure multi domain https redirection?

I've an apache running under AWS Elastic beanstalk. I've got several different domains and I want all of them to end in a specific domain name, in HTTPS. The redirection from other domains e.g. https://domain1.com to https://maindomain.com returns a…
0
votes
1 answer

How to redirect domain to path in apache server using debian 10 OS

I am currently using "xyzservice.abcindia.local" as a website using a reverse proxy, Now what I want to achieve is, when I hit the "xyzservice.abcindia.local" this should redirect to "xyzservice.abcindia.com/folder1/folder2/path" Please let me…
0
votes
1 answer

Unwanted site traffic to my WP site

I am getting lot of unwanted web site traffic to my WordPress web site. It is apache web server on Ubuntu 20.04. Is there any way to block them. Please refer the screen shot.log example
Support
  • 1
  • 1
0
votes
1 answer

Sites isolation and Apache

I have many VPS servers with 3 or 4 sites per server. Most sites are WordPress-based In the past 2 years I've received 3 attacks to compromised plugins, which not only affect the site with the plugin, but all the sites in the same server Since…
SirLouen
  • 1
  • 5
0
votes
1 answer

Apache + PHP not showing any formating

What I am going to ask is probably a simple problem but I can't figure out solution. I have installed apache2 on Debian server and updated php to version 7.3. I think that I have made a mistake when disabling/enabling some modules but I am not…
Maty
  • 11
  • 2
0
votes
1 answer

Erpnext server behind apache proxy keeps raising error 503 Service Unavailable

i have an erpnext server behind an apache proxy. It often happens that the service fails and a 503 Service Unavailable error is shown Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or…
0
votes
1 answer

How to redirect search.php?query=test&search=1&s=1 to /query/test

I have tried other things, but I cannnot get it to work, when I go to the main website, (index.php is just a include of search.php) it will send me to this…
0
votes
2 answers

Apache .htaccess set a header if Request URI does not exactly match a desired value

Goal: using a .htaccess file in /directory/, if request URI does NOT exactly match "/directory/" then set a header. For example, the header SHOULD be set if the request URI is "/directory/index.php", "/directory/?something", or…
Displayname71
  • 109
  • 1
  • 7
0
votes
1 answer

Cannot disable buffering during SSE connection

I am trying to migrate from Apache2 to NGINX and having issues with SSE connections. Everything else is working fine, the regular GET or POST requests are getting through successfully. Note that the same setup is working perfectly with Apache2 WEB…
1 2 3
99
100