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)

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

How to dynamically set SSLCertificateFile for user's custom domains

I have a site where users can point their own custom domain to their unique directory on my site through A Records. For example, example.com points to mysite.com/something and anothersite.org points ...
0
votes
0answers
38 views

Python CGI Script not executing, only displays as text

I have installed an Apache2 web server. It hosts a simple website with a form, which after clicking 'subbmit' is supposed to execute a python CGI script. It only appears as text so my question is how ...
1
vote
2answers
49 views

How does Nginx act as both reverse proxy and web server? [closed]

This might be a naive question. But I'm too new to client and server concept and wanted to know. I understood what a Reverse proxy is - a server that sits in between clients and origin servers and ...
0
votes
0answers
44 views

Close wait connections increased in my Web app

I have an web application which uses Apache and Tomcat. We have recently seen increase in many close wait connections which resulted in application responding very slow. In the application logs what i ...
0
votes
0answers
150 views

Misdirected Request (only on Apple devices) iOS mobile browsers and Safari on Mac

The whole error Misdirected Request The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection....
0
votes
1answer
30 views

Apache production and dev servers behaving differently when addressed using FQDN

Our production Apache server works perfectly as either "https://prod.domain.com" or "https://prod" (this is internal, so DNS search path applies). However, our Dev server works as "https://dev", but ...
0
votes
1answer
66 views

Connecting to a python socket behind a router

I have a Python script on my server which opens a socket that can be connected to from anywhere. It works on my digitalocean test server that has a public IP as shown by ifconfig. It does not work on ...
2
votes
1answer
129 views

$_GET variables empty .htaccess rewrite

Given the URL https://example.com/api/test/512/31 I want to rewrite to: https://example.com/api/test.php?param1=512&param2=31 I've tried: RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php ...
0
votes
1answer
63 views

Long TTFB / SSL negotiation in setup of HTTP/2, apache and Nginx as reverse proxy

As in title, i realize partly very long TTFB caused by SSL negotiation longer then one second in setup of HTTP/2, Apache and Nginx as reverse proxy. What could be the setting screws and mostly ...
0
votes
0answers
64 views

How to use apache proxy to forward this URLs (apache 2.2.4)

I see for specific context we use ProxyPass and ProxyPassReverse but to allow below URLs to allow Set your proxy to forward the following URL extensions /share /share/* /alfresco/api/*/public/cmis/...
0
votes
1answer
90 views

nginx mixing cached content between my different domains

I don't know if this is a bug or I am defining cache incorrectly, I have a nginx cache (reverse proxy) server that is used by 2 different domains (mydomain1.com and mydomain2.com), different content, ...
0
votes
0answers
19 views

How to host a php project on VPN server with apatche in windows OS

I made an application for a restaurant that has 3 branches. One main branch (i.e headquarter) and two other branches in different cities. I built a web application in PHP and MySQL is the database. It ...
0
votes
0answers
14 views

Having trouble with custom log output in Apache 2.2 httpd.conf

I am simply trying to output a variable that gets set in my httpd.conf to a log file. The variable that gets set is simple for the test: SetEnvIf Request_URI ^(.*)$ WRAPPER_DOMAIN=www.com And my ...
1
vote
1answer
62 views

Removing trailing slash from redirected URLs (.jpg/ .htm/ .gif/) with Apache

I have a website that is being redirected from an old host. I don't have the ability to change the redirect of the old host. The issue is that the redirect is appending a trailing slash when it's not ...
0
votes
1answer
30 views

Block Crawlers on Apache

I am trying to block crawlers on Apache <Directory /to/my/site/> Options Indexes FollowSymLinks AllowOverride All Order deny,allow deny from 18.*.*.* ...
0
votes
1answer
57 views

Apache Default Page Showing When HTTPS Using Django Project

I have been trying for the past 1 week to get this to work but it just does not seem to be working at all. Please help, here are the files for the default-ssl and the 001-default, the website is ...
1
vote
1answer
228 views

Wordpress Nginx + Apache reverse Proxy permalinks

Allow me to explain my problem. I have a Ubuntu VPS server running 18.04 I have installed Nginx and Apache with php-fpm I've configured Nginx to be a reverse proxy for my wordpress blog located at ...
0
votes
1answer
232 views

reverse proxy - understanding proxy pass - apache mod_proxy

im running tomcat on my linux server and i want use a reverse proxy for this. After reading the manual in apacha for mod_proxy , i didnt really understand the /path in the proxypass . i make a small ...
0
votes
1answer
35 views

is it stable to running tomcat, apache as reverse proxy, mysql on the same server?

im running dedicated ubuntu server from hoster, has enough cores (12) and good amount memmory 64 GB (ECC). Im actually running tomcat and mysql service in a prodcution environment , but i still want ...
0
votes
1answer
33 views

Home directory for Active Directory authenticated users based on parsed username

I have an NFS share with user home directories mounted on a web server. I want to enable UserDir in apache, but the home directories are not a straight-forward "/home/username" path. Instead, they're ...
0
votes
0answers
26 views

How to allow only single concurrent user in mod_wsgi and apache?

I'm running a Python Flask based server on Apache/2.4.29 (Ubuntu) using mod_wsgi on free tier Amazon EC2 Ubuntu t2.micro machine which has very limited CPU and memory. Using flask, I'm serving my API ...
0
votes
0answers
125 views

Python CGI script not displaying on the website at all. Apache 2 Debian 10

me and my friend have started up a server on Debian 10 and its running Apache2. I have written a very simple website and a python script just to test the cgi scripts. So basicly after a user completes ...
0
votes
0answers
12 views

Issue with Apache Workers and Cloudflare

I am running an Apache Server with this config: 64GB RAM, 4x480GB SSD, Dual 12 cores @ 2.1 GHz Apache settings keepalivetimeout: 5 loglevel: warn maxclients: 2000 serverlimit: 2000 ...
0
votes
0answers
24 views

Point URL to another folder

I have a sub domain: sub.example.com pointing to /var/www/wildcard and I want to serve an app in a different language from: sub.example.com/app So I've added: Alias "/app" "/var/www/app" Which ...
0
votes
2answers
275 views

How to redirect domain with expired SSL certificate to new domain using apache

So in the past I used https://example.com. Then decided that I wanted to use https://myotherexample.com instead of example.com. So I setup the server, pointed DNS at that server and everything was ...
0
votes
1answer
133 views

Apache2: ports.conf vs Vhost

The Ports on Apache can be changed on two positions: /sites-available/000-default.conf ports.conf Per Default, both .conf Files dictates Apache to listen on Port 80. I want to set Apache to listen ...
0
votes
0answers
55 views

Nextcloud Snap with Collabora cannot install certificate with Let's Encrypt

On an Ubuntu Server 16.04 I have an installation of Nextcloud (SNAP) and Collabora document management (Docker). It's internal IP address is 192.1368.1.30 NextCloud-Snap listen on 443 Collabora-...
0
votes
0answers
38 views

Running a Rails server with Apache on the same Linux machine for a subdomain

I wish to host a blog on my website, a3y3.dev. My idea is to host this on a subdomain (something like blog.a3y3.dev). Since I already wrote a blog application in Rails long back, I thought it'd be ...
0
votes
0answers
156 views

Apache HTTPD - ProxyPass and ProxyPassMatch inside same Virtual Host

I am using httpd server to redirect incoming requests and balance them onto 2 other nodes (10.0.70.1 and 10.0.70.2). Incoming requests at port 8585 , would be redirected . <Proxy balancer://my-...
4
votes
1answer
253 views

IPv6 validity test failed. What does this mean?

When I use https://ipv6-test.com/validate.php to test my website for IPv6 ready, (example on a domain www.[private].com), the test is failed and it returns error: IPv6 web server web server is ...
0
votes
0answers
91 views

X-Robots-Tag behavior in Apache+Nginx setup

Case: PDF files are in index, but shouldn't be. Setup: Apache as webserver, X-Robots-Tag for PDFs on Apache/htaccess level with noindex rule Nginx as reverse proxy What i see with curl: Do you ...
0
votes
1answer
51 views

Split requests to subdomain to 2 ports

I have a subdomain on an Apache web server that contains 2 folders: frontend and backend. My frontend is running a node application, whereas my backend has a headless CMS. I have both of these running ...
0
votes
0answers
103 views

Apache reverse proxy to kestrel server

The situation is that I'm using two servers, a kestrel server that is used for hosting a blazor server side application and apache 2.4 for forwarding requests to the kestrel server. The site that I'm ...
0
votes
1answer
32 views

Using a custom SSL certificate with apache2 backend server

I have a domain (let's say toing.com), which has an SSL certificate bound to it only if I use the hosting provided by the same company (let's say Xhost). HOwever, recently I have a backend server at ...
0
votes
1answer
49 views

Nginx rewrite to Apache rewriterule for path

I have a landing page and a text box. They enter some input into the text box and get taken to /search, which I want to load search_res.html. My file structure is: /var/www/html index.html ...
0
votes
2answers
377 views

How to restart apache2 server

I'm unable to run sudo service apache2 restart on my sever. Inorder to troubleshoot this when I execute sudo systemctl status apache2.service and I get the following log. Loaded: loaded (/lib/...
0
votes
0answers
134 views

php.ini not applying in phpinfo()

I have a website running on CentOS. I have a problem where changes in my php.ini file aren't reflected in phpinfo(). More concretely, I set allow_url_fopen = Off So I checked these lines: ...
0
votes
0answers
83 views

Install PHP 4 in Wamp, UwAmp or Apache

I'm .Net developer, and I found in company a physical RedHat server with a lot applications in PHP and I need to create a local server to start translate this PHP apps to .NET, but I need install PHP ...
0
votes
0answers
131 views

Unable to restart my apache2 server Error : order takes only one argument allow deny deny allow' or 'mutual-failure'

whenever I try to restart my server I get the following error. order takes only one argument allow deny deny allow' or 'mutual-failure' My 000-default.config looks like this <Directory /var/www/...
1
vote
0answers
66 views

AWS apache Forbidden error in apache : You don't have permission to access /icgd/ on this server

i am trying with aws free tier. i have installed apache using yum. Now i can access webserver from browser. webroot is /var/www/html i placed an index.html in /var/www/html and the same is working ...
0
votes
0answers
76 views

Let's Encrypt ERR_CERT_INVALID after moving domain to other server

I run my website on DigitalOcean and due to some problemas I installed a new Ubuntu droplet and moved my website there. After changing my DNS settings for the domain I installed a Let's Encrypt ...
0
votes
1answer
89 views

How to combine some file to create an ssl certificate for apache

I need help on a certificate. Usually I use certbot to install ssl certificates on nginx, but now I have to install ssl on apache and I have four files. One is a key file, one is a txt file, I think ...
0
votes
0answers
51 views

wildcard VirtualDocumentRoot and different ProxyPass url for each subdomain

I have one wildcard VirtualHost config: <VirtualHost *:80> ServerName sub.domain.com ServerAlias *.example.com VirtualDocumentRoot ${SRVROOT}/htdocs/%1 </VirtualHost> This ...
0
votes
0answers
33 views

AWS Cloud9 plugging docker nginx to enable preview

I'm trying to set up app preview using jusdo.com developer sdk which includes nginx docker image. It's trying to use servername to serve on local.justdo.com. I believe that the cloud9 ide preview only ...
0
votes
0answers
98 views

Self hosted FreePBX server, ZeroTier and Let's Encrypt?

I'm trying to follow this guide to setup a Let's Encrypt certificate for my FreePBX install. This is because to use Zulu, the mobile iOS client, you need a proper SSL cert. The thing is, my FreePBX ...
0
votes
1answer
52 views

Can undefined variables and notices cause a cpu spike?

We're running centos 6.7, PHP 5 and MySQL 5.5 and Apache 2.2.15. Sometimes we see high CPU usage, mainly caused by MySQL so we take all the logs we can get. We're addressing MySQL optimization ...
1
vote
1answer
3k views

“No space left on device: AH00023: Couldn't create the mpm-accept mutex” when restarting httpd

My server sometimes gets filled up with connections in apache stuck in a "Sending Reply" state, requiring me to restart apache. Most of the time this works, but sometimes I will get this error when ...
1
vote
1answer
105 views

htaccess to rewrite all files to index.php

I need to rewrite all urls, even .js, .css, images and etc to index.php I've tried this RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)...
0
votes
0answers
23 views

Enabling SSL on Tomcat breaks Apache Alias. Possible RewriteRule Proxy Issue?

I added an SSL connector to my Tomcat configuration, and now my website is secured and working, but the Aliases I set up in Apache no longer work. I suspect that this is due Apache's RewriteRule. The ...
0
votes
0answers
58 views

FIN_WAIT1 issue in apache

My hosting server is having apache issues due to wp-login attack in the server.. I have string blocked them in server firewall and killed the existing connections... however still getting too many ...