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
1
vote
1answer
40 views

IP address showing on my web server together with the domain [closed]

Recently I installed VESTACP and nginx, added domain name and everything is fine, I can access my website with domain but also when I type an IP address from server (http://11.11.11.11) I can access ...
0
votes
1answer
60 views

In which case Apache Httpd writes “X” when connection is closed? Is it client side or server side?

Standing to official Apache mod_log_config docs I see it writes "X" when "Connection aborted before the response completed". Connection status when response is completed: X = Connection ...
0
votes
1answer
50 views

How to fix ProxyPass in URL and subfolder?

I made a proxy pass adding to my localhost instance the path /vocab/arch. Here the configuration I used: <IfModule mod_proxy.c> ProxyPass /vocab/arch http://localhost:...
0
votes
1answer
59 views

How to unset a header when a certain query string is present in the url Apache 2.2

I'm trying to recreate the following if statement in my htaccess file to unset a header if a query string is present in the requested url. Is there a way to write a conditional statement matching ...
0
votes
1answer
31 views

CSS & images breaking after mapping application deployed on Tomcat to my domain

I've installed Tomcat 9.0.27 on my Digital Ocean droplet running Ubuntu 18.04.3. I deployed my Java WAR on Tomcat and am able to access it on the URL: http://example.com:8080/app_name I want to be ...
0
votes
2answers
53 views

Not able to start tomcat 7.0 on my server

I am not able to start my tomcat (7.0) on my server. While starting it is giving below error message. FAIL,Resource start failed [Context: Failure Reason=PID not found;Code=SCLD-LRM-4022; I don't ...
1
vote
0answers
67 views

Where can i find apache tomcat connector 1.2.46 for windows 32 bit httpd

I'm trying to fix an issue on one of my web server using Apache 2.2. Apache documentation informs me that in order to fix the issue I should change the ISAPI_redirect.dll from 1.2.37 to v1.2.46. The ...
0
votes
0answers
56 views

Apache misconfiguration - config works on apache 2.2 but not 2.4

I have a set of cgi scripts which run on a RHEL 6.x (with Apache 2.2) box fine. There is a cgi-bin directory containing the scripts, plus an index.html (pure html) which serves as a front end to the ...
0
votes
1answer
603 views

Apache: proxypass docker container to subdomain

The subdomain sub.example.com is hosted on AWS EC2, Amazon linux 2 OS based on centos. It runs php7 lampp stack. webroot is /var/www/html. We don't have access to the domain, example.com, it's with ...
0
votes
0answers
41 views

How can I allow my proxy server's destination to be itself? [duplicate]

I'm trying to setup ssh over https using apache and proxytunnel on Ubuntu 18.04, but I want the proxy server to be the same as the ssh server. I have apache going, and from netstat and the output of ...
0
votes
0answers
18 views

Apache redirect different sites to folders

I have this situation: I need to redirect different sites to different folders, for example: example.org/site1, example.org/site2. I have my main site on the following path: var/www/html/mainsite. ...
0
votes
2answers
195 views

Serve different servers based on CNAME for domain with apache?

I've looked a bit around here on serverfault, but can't seem to find anything related to my issue (maybe because i don't know what to search for). Anyways, my issue is that i have 2 servers. One main ...
5
votes
1answer
317 views

apache httpd process be killed by kernel oom

some apache httpd process's memory and cpu usage too high, be killed by kernel, but I don't know why httpd use such many memory. I need some method to analyse or some method to reproduct. some ...
0
votes
0answers
18 views

mysql active faild after update DirectAdmin

Yesterday I updated my DirectAdmin and today noticed all my website on the server has been down because mysql connection failed, for example: Warning: mysqli::__construct(): (HY000/2002): No such ...
0
votes
1answer
2k views

Nginx: Job for nginx.service failed

After installing Apache web server some days ago, I just installed Nginx web server on my Ubuntu local machine in order to setup a reverse proxy server. But when I try to start up Nginx server by ...
1
vote
1answer
371 views

Nginx + Reverse Proxy + PrestaShop

I am facing a problem with setting up Nginx as a reverse proxy for Apache2, which serves Prestashop content. Nginx /sites-available/*.conf: server { listen 80 default_server; ...
0
votes
1answer
56 views

NGINX: At which point should a webserver with multiple websites on one process be separated?

Currently looking at rebuilding a webserver from running 10-20 websites on a single Apache server to a NGINX proxy setup with separate docker stacks for each website. However I noticed the current ...
0
votes
0answers
42 views

Website works fine for me but others are getting ERR_TOO_MANY_REDIRECTS

I have the following Apache config file: <IfModule mod_ssl.c> <VirtualHost *:443> ServerName example.com ServerAlias www.example.com ServerAdmin webmaster@localhost ...
1
vote
1answer
160 views

Apache forces a trailing slash to 301

We use Apache (on Runcloud) behind Cloudflare to redirect links. It's done with .htaccess, as simple as possible. Redirect 301 /advertiser/google https://google.com For some reason Apache forces a ...
0
votes
0answers
26 views

Nginx multiple location based reverse proxy setup [duplicate]

I am trying to set up an Nginx frontend (example.com) proxying for two servers. https://example.com/server01 --> http://192.168.1.5:8080 https://example.com/server02 --> http://192.168.1.10:...
0
votes
1answer
40 views

Apache .conf file is not being used

I have the following laravel.conf file for my project: RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteRule ^ https://example.com%{REQUEST_URI} [L,NE,R=301] ...
1
vote
1answer
86 views

ServerAlias not working - ERR_NAME_NOT_RESOLVED

I got the following .conf file: <VirtualHost *:80> ServerName example.com ServerAlias www.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html/example/public ...
1
vote
2answers
300 views

Do servers do their own load balancing? (The cores. Single server system.)

When I look up load balancing, everything I see is talking about distributing traffic to multiple servers. I did a Google search for "single server" and "one server" in this context, and don't see ...
1
vote
0answers
69 views

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://<homeip>:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've ...
-1
votes
2answers
289 views

Domain showing not secure but it has https and certificate installed

I have an issue with my domain. I have installed an EV SSL Certificate successfuly, on ssl checker tools it shows me that the certificates is installed and everything is ok. The problem is that in ...
0
votes
1answer
84 views

limit Apache HTTPD to one client IP address

When an Apache HTTPD is used as a load balancer, is it possible to configure it on a way that all the requests are rejected except those coming from a specific host? What directive should be used?
0
votes
0answers
26 views

SSL Connection Closed on one load balancer node

We're running a group of websites behind a rackspace HTTPS load balancer. We have two servers, with the exact same apache2 (httpd 2.2 on RHEL6) configuration. SAN certificates were generated by ...
0
votes
1answer
51 views

I have an AWS Elastic Beanstalk - Node.js running on 64bit Amazon Linux/4.10.2. What server is it running?

When I ssh into the EC2 instance and look around the server configuration files, I see Apache config files, NGINX config files. Why are both servers there? Which one takes priority? Do both servers ...
0
votes
0answers
39 views

php-fpm and CPU Overutilization on ubuntu 16.04

I've got configured apache2 and php7.2-fpm. Machine has 32 vCPUs and 192G ram. FPM is set to static mode with 1200 pm.max_children. When 400 fpm process are started the platform is slow and load ...
0
votes
0answers
63 views

Unable to connect to local LDAP server in php script

I have setup an LDAP server using Apache Directory Studio on my Windows 10 machine. I used all of the default settings and haven't configured anything. The address is 0.0.0.0 and the port is 10389. I ...
1
vote
0answers
39 views

What is the time correspondence between PHP and Apache logs?

Say I have this PHP error log: $ cat php_logs [20-Sep-2019 03:05:03 Europe/Rome] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2621464 bytes) in /www/hello....
0
votes
0answers
154 views

Trying to setup vsftpd on SUSE Enterprise Linux 12 SP4

I've Setup VSFTPD on Suse Enterprise Linux 12 SP4. The idea is to have an FTP server that I can upload stuff to and then Apache should be able to access the same directory. When I try to login on the ...
0
votes
0answers
20 views

All files in /cgi-bin as PHP

I need to configure apache so that all files in the /cgi-bin folder will be treated like php (even if they have no file extension). Does anyone know how to accomplish this? It seems like cgi-bin has ...
0
votes
1answer
37 views

Run website on Apache and Python Rest Services on NGINX on HTTPS

I have a website (React) running on Apache on SSL. I have used LetsEncrypt to get a SSL certificate for my website. On the same box, I also have some REST services running on NGINX. How can I run both ...
-1
votes
2answers
54 views

got ERR_NAME_NOT_RESOLVED error for my website

well I didn't do anything I mean any changes to my website. yesterday when I try to open my website which is https://www.maket.ir I got This site can’t be reached maket.ir’s server IP address could ...
0
votes
0answers
97 views

Configure apache with React frontend and Laravel backend with deployer

I want to configure Apache in a dedicated production server so that my single page application in React can communicate with my Laravel backend. I have the React app in the root folder ("/") and the ...
1
vote
0answers
237 views

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel Xeon CPU E5-2673 v4 @2.30GHz (4 cores) ...
0
votes
0answers
29 views

magento 2 site loading speed very slow

as per our architecture, we have a web server(Apache) running on one machine and my database(MySQL) running on different machine. The communication between these two machines in over internal network (...
0
votes
1answer
47 views

Random HTTP 500 error for certain directories

I got a Debian 8.11 vServer with Apache2. With the server I received a gratis domain. I bought an extra domain and set it's A records to the vServer IPv4 address. For the extra domain I have a valid ...
2
votes
0answers
64 views

Stop a user from circumventing IP block?

A user is somehow avoiding an IP block in apache 2.2/2.4, and I can not figure out how. The company I work for hosts hundreds of sites in different datacenters; this user is attacking several of the ...
0
votes
0answers
28 views

Deny access for LDAP users on Apache 2.2 mixed access location tree

I am having the following Apache 2.2 HTTP Server configuration on a Virtual Host where I have mixed access requirements (both LDAP and IP based): <Location /> #LDAP Auth ...
0
votes
1answer
59 views

Can't set up Subdomain in Linode

I have bought a server from linode.com and set it up with my purchased domain from namecheap. Setting up the DNS worked as expected and I followed the official documentation from linode. But ...
-1
votes
1answer
1k views

sslv3 alert bad certificate when attempting to connect with Mail Client

I have a Debian vServer with a pre-installed Froxlor. Froxlor uses Dovecot and Postfix for mailservers. I set up 1 catchall email address which forwards all messages to my private mail. This is all ...
0
votes
0answers
251 views

AH02579: Init: Private key not found - Apache VirtualHost

I am trying to set up a virtual host in apache to reverse proxy in Node.js and is giving this error when I try to use SSL certificate, it says it can't find the key, even if I type cd "directory_here" ...
0
votes
2answers
2k views

SSLVerifyDepth explaination

Is there a comprehensive explanation how exactly does certificate chain verification work in apache httpd and how exactly does the SSLVerifyDepth parameter affect it? Possibly as pseudo-code. Most ...
1
vote
2answers
35 views

Syncing time between server and a device [closed]

I am doing an IoT project. My IoT device (hardware with Arduino) is measuring some temperature information every minutes. And sending these data to the server. Hardware has a display. That shows the ...
0
votes
1answer
53 views

Protecting access to CGI programs via reverse proxy

I am still a noob and autodidact in the network field, so please forgive me if what I am going to ask is just wrong. I have a web application based on JavaScript and PHP and served from my Apache web ...
1
vote
1answer
125 views

Apache how to have 2 virtual host https?

I'm trying to configure 2 domains (A and B) in the same server with different certificates. The domain A works fine, it has it's own certificates and rules to redirect to it. If I try to access to ...
0
votes
1answer
1k views

Preserve HTTP referer when using a 301 redirect

I have htaccess detecting absent folders with the action of then sending the user to another page with a 301 re-redirect. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...
0
votes
1answer
93 views

Apache can't save files to mounted directory

I have bought WD myCloud storage and I have mount it to centos 7 by adding this line to fstab \\wd_mycloud_ip_address\shared_folder /backup cifs rw,suid,username=shared_folder_username,password=...