Questions tagged [apache-2.2]
Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)
17,135
questions
0
votes
0answers
15 views
Apache LB and huge amount of close_wait connections
I use apache as a loadbalancer for servers with some java apps. On the apache host I saw huge number of close_wait state which was around 2500. Is it a problem with apache itself or with app on the ...
1
vote
0answers
34 views
Redirect Permanent in Virtual Host apache configuration behaving not as expected
I have multiple domains pointing to the same IP.
RedirectPermanent works fine for all domains IF and only IF the pages are NOT existing, and I get the 404 default page of my website.
If I type in the ...
0
votes
0answers
22 views
Apache server for both static content and reverse proxy for forum server in subdirectory
I am trying to solve 2 problems at once with my website:
It is a subdomain of an academic website, and needs to be using apache to use supported institution SS0. For that step I will get help from the ...
1
vote
1answer
41 views
Apache2 : How to remove port from URL?
I have the following apache configuration file for a reverse proxy :
<VirtualHost *:80>
ServerName example.com
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) ...
0
votes
0answers
18 views
Apache SSL Re-Negotiation
The httpd.conf looks like below.
<Location /services>
SSLVerifyClient none
SSLRequire %{REMOTE_ADDR} in {"x.x.x.x","y.y.y.y","z.z.z.z"}
...
0
votes
1answer
24 views
How to avoid redirect if url match a string in Apache
I have a web server that redirects any HTML 404 error to another domain:
ErrorDocument 404 https://error domain
My goal if to avoid redirection when Let’s Encrypt tries to renew the certificates.
All ...
0
votes
0answers
13 views
Is it possible to use same domain for front and backend with Net core and Angular separate application
Hello there I have 2 application hosted on the server.
1 angular running with node.js on port 4000 and one net core running trough the kestrel on port 5000.
The angular application falls back to index....
0
votes
1answer
32 views
.htaccess old site redirect to new with each url separate redirect
I have a website that is migrated to another URL. So I wanted to migrate my all previous URL to a new URL with a different segment. For example
Main redirect
Old site is: https:// myoldsite.abc
New ...
0
votes
1answer
57 views
Django Channels + Apache + Docker performance stuck to 10rq/s
Setup
I have configured Django Channels inside a docker container on server Ubuntu 20.04 OVH VPS (8vCore, 16Go RAM). To run django-channels I used daphne.
Versions:
Django==3.1.4
channels==3.0.2
...
0
votes
1answer
26 views
Rewrite userdir for users that changed the username
This seems simple, but I wasn't able to do it.
I have a user that changed his username from givenname to name, and now I need to rewrite, changing the URL on the clients, to avoid 404 errors on ~...
2
votes
1answer
35 views
How to create redirection from two domains in one VirtualHost directive in Apache?
I want users visiting either of napiwki.kontestacja.com and napiwek.kontestacja.com to be redirected to the same address. I'm using the following fragment in httpd.conf:
<VirtualHost *>
...
0
votes
0answers
25 views
Subdomain suddenly stopped working on Apache
We have a server on CentOS 7.4 which runs multiple websites and subdomains.
A domain say xyz.example.com is pointing to xyz folder in html root which is working since last 4 years and suddenly stopped ...
0
votes
0answers
36 views
Apache config for conditional authorization
I want to do conditional authorization based on SERVER_URI (test-oidc.com, test-kerberos.com), authorize with openid-connect if test-oidc.com or authorize with kerberos if test-kerberos.com, how can I ...
0
votes
0answers
22 views
How to create custom access logs from Apache/httpd on server
I have a server that runs on apache. To track users' access to specific objects I'm trying to modify the server logs and keep them formatted so that I can have a brief analysis with them. But ...
1
vote
1answer
26 views
Apache - environment variable in workers.properties
I'm trying to run apache in a container and I need to set the tomcat server in a variable since tomcat container runs in a different namespace.
I've set the variable like this but it doesn't work. I'...