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
26 views

Apache proxypass 401 not working

I'm trying to serve custom html 401 on the Apache webserver, not through a proxy. The files are under /var/www/html/401 in the central webserver, but no matter what, apache wants to serve the proxied ...
0
votes
0answers
24 views

How to log upstream IP in Apache HTTP server?

I'm using Apache Http server as a reverse proxy. I am interested in logging the upstream server IP in access and error logs. I'm looking for something like upstream_addr of Nginx web server.
0
votes
0answers
23 views

Apache - (104)Connection reset by peer: [client x.x.x.x:4712] AH03308: ap_proxy_transfer_between_connections: error on sock - ap_get_brigade

I have a django app deployed to elastic beanstalk: http://django-env.eba-bcvm9cxz.us-west-2.elasticbeanstalk.com/chart/ I'm following this tutorial: https://medium.com/@elspanishgeek/how-to-deploy-...
1
vote
0answers
15 views

Is it possible to configure Apache to return a blank reason phrase instead of “OK” for an HTTP 200 response?

Instead of this: HTTP/1.1 200 OK I want the server to return this to the client: HTTP/1.1 200 Both responses are RFC-compliant. This is for doing regression testing on a broken HTTP client. Running ...
0
votes
1answer
29 views

Hostname won't resolve correctly if apache ServerName isn't localhost

We have a lamp centos 7 server in a datacenter, behind some sort of a Nginx proxy. We only have control over our centos server, we don't know anything about the proxy/firewall or anything. We have ...
0
votes
0answers
21 views

Dealing with IDM (internet download manager) connections to server and rate limiting

I run a file hosting platform, and am struggling to work out how to handle IDM (internet download manager) connections. When a file is requested, I create a download token, which expires after 10 ...
0
votes
1answer
87 views

Apache server is not starting after adding ssl [closed]

As soon as I added ssl and try to reload apache server. The server started asking me some key. Like: Enter passphrase for SSL/TLS keys for mydomain.internal.cloudapp.net:443 (RSA): * First of all, I ...
0
votes
0answers
11 views

Trigger email warning when apache can't write access log

Sometimes apache is not able to write the access log and we lose data of the visitors. We're not sure why this happens but it would be useful to get an email warning at the moment to debug or at least ...
0
votes
0answers
24 views

Setting Apache SSL path dynamically based on domain

Trying to replace SSL path with the current domain. <IfModule mod_ssl.c> <VirtualHost *:443> ServerAlias * UseCanonicalName ...
0
votes
0answers
41 views

Tomcat Trailing Slash With Proxy Forwarding

I am running Tomcat 9 behind an Apache 2 server on Ubuntu 18. I am using a reverse proxy to send traffic to Tomcat with the following in the apache conf file: ProxyPreserveHost On ProxyPass "/" "...
0
votes
0answers
21 views

Apache failed to start with PrivateTmp=true after I changed the /tmp folder

Apache service cannot start and I know the reason but not sure how to fix it: Apache error: apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; ...
0
votes
0answers
16 views

How to do port forwarding from EC2 public IP to another EC2 IP?

I'm running two apps on a single EC2 instance: Website on Apache running on Port 80 Java Application on port 8080 which is used by my android app. The way I access Java application by hitting the ...
0
votes
0answers
8 views

After installing SSL on server website is not working . Assessment failed: Unable to connect to the server

Hi I followed this document https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04 and after installing I unable to open my website and I checked ...
0
votes
0answers
14 views

Using Apache LocationMatch to set header not working for websockets

I'm trying to set a response header on apache using the below LocationMatch: <LocationMatch "^/websocket"> Header set Strict-Transport-Security "max-age=86400; includeSubDomains" </...
0
votes
0answers
23 views

Nginx - Serve proxy pass target as IP instead of internal DNS

I frequently use Nginx as reverse proxy for deserving all my internal hosted applications. Most of the time, these applications are called with a IP-based address & everything works well. This ...
0
votes
0answers
16 views

Get Request: cURL error 7: couldn't connect to host

I am trying to make a GET request to a url from my wordpress installation to get the access token but I receive this error: WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [...
1
vote
0answers
14 views

Apache / php7.4-fpm: “malformed URL”. Your Browser sent a request that this server could not understand

I'm configuring an apache vhost to use php7.4-fpm. Any requests to the host yield a '400 Bad Request' response. The vhost definition is as follows: DocumentRoot /var/www/test.localdev ...
2
votes
1answer
21 views

Weird characters in log file during outage (^@^@)

We have apache serving files and proxying requests through to our api and today there was a new thing in the logs that I can't explain. I'm investigating an issue that caused downtime and looking at ...
0
votes
1answer
25 views

Route traffic from certain site/url to a number of hand-picked nodes in a load balanced environment

I inherited a loadbalancer (mod_proxy) setup consisting of 5 nodes. The setup serves a number of 6 sites (site1, site2 etc, with shared disk space) and would like to know if there is a way to route ...
-2
votes
1answer
43 views

a site use Linux Server take long time to load

i get this problem first time since 5 years i use same site same script without any change . i have a site xxxxxxx.com (php script) use a ip http://1.1.1.1 (example) , i use centos as OS for the ...
0
votes
0answers
18 views

Mean stack running o apache running slow

I have a mean stack running in an apache server. I have to restart the server from time to time, I have no idea why, in order for it to load: it loads for a short amount of times, then starts to ...
0
votes
1answer
28 views

Apache reverse proxy 503 custom page not working

I am running a docker container with exposed port 8001 on my host. The host is reachable from the host with localhost:8001. I am also running an Apache server on port 8000. My Apache configuration ...
1
vote
1answer
81 views

linux getfacl shows the correct permissions but user cannot rm a file from command line. “Permission denied”

This scratch file was created by apache -rw-rw-r--+ 1 apache apache 1960 Nov 16 2019 zlz7v5y9.php When executing the following: -bash-4.2$ rm zlz7v5y9.php I get: rm: cannot remove ‘zlz7v5y9....
0
votes
1answer
57 views

Cpanel NodeJS app displaying source code

I have set up nodeJS app on cpanel using cpanel nodeJS selector. Apps root directory is /home/userName/public_html/server. The app is working fine. Problem is if I send get request to example.com/...
0
votes
0answers
16 views

Where do I include my ProxyPass in Bitnami's Node.js server (with Apache)?

I've set up a Bitnami Node.js server on AWS Lightsail (running Apache). I then ran the Bitnami HTTPS Configuration Tool: sudo /opt/bitnami/bncert-tool This edited and created several Apache config ...
2
votes
0answers
92 views

Process blocking or disk corruption? Very high load + wait times, but low CPU/memory use

I am using a vServer that is suddenly experiencing very high wait times (10/20/30 seconds) or even timeouts on basic requests since yesterday after being in use for over a year without any problems. ...
0
votes
0answers
25 views

Getting error trying to feed SSL passphrase to apache

I've got scripts which restart apache so I've been trying to find a way to restart apache without it asking for the ssl passphrase as this means it won't restart in the script. The two solutions I ...
0
votes
0answers
43 views

AMPPS cannot stop apache

I clicked the stop button in AMPPS, but it cannot stop Apache from running. Also tried run as admin, which did not work as well. What do I need to do to correct this error? I don't even know what ...
0
votes
0answers
13 views

Using an AD Domain for Authentication in PHP

I am running apache2 with PHP Version 5.6.20-0+deb8u1 on an amd64 Debian 3.16.7 that is not connected to the internet. What I want to do is to authenticate users on a PHP website using the available ...
2
votes
1answer
40 views

Apache incorrectly resolves requests with paths starting with /index.php/

In reviewing access logs I've noticed the below automated vulnerability scan for which Apache is returning a 200 status: POST /index.php/api/Uploadify/preview HTTP/1.1 There's isn't a rewrite rule ...
0
votes
0answers
15 views

Apache : Mod_Rewrite changing # to %23

I am looking to load Kubernetes dashboard. The dashboard, only for / requires additional text to be appended. The complete URL is : dashboard-url.com/api/v1/namespaces/kubernetes-dashboard/services/...
0
votes
1answer
29 views

Apache 2.2 IP address blacklist

I wanted to blacklist on the fly some IP address. I'm updating the main httpd.conf but i wanted to add some IPs on the fly, without using .htaccess (neither the heavy fail2ban). So, i creating a list ...
0
votes
0answers
33 views

Migrate PHP website from Apache to Nginx

What are the implications of moving a site build in PHP 7 on a server running Apache 2.2 to another running nginx 1.12 (CentOS)? Is there any standard practice for doing this? Are there any ...
0
votes
1answer
16 views

Apache seems to redirect to domain name ever when not running

I'll preface this by saying I don't have a lot of experience with Apache. But currently I am running a Node process that's listening on port 8080. However, when I access that port via 'ipaddress:8080'...
0
votes
0answers
22 views

Get error trying to feed SSL passphrase to apache

I've got scripts which restart apache so I've been trying to find a way to restart apache without it asking for the ssl passphrase as this means it won't restart in the script. The two solutions I ...
1
vote
0answers
27 views

Updated web-server and now website providing 503

To start with I'm not familiar with web-page hosting Apache/tomcat. I recently updated a private web-server in what may have been the first time in a long time using yum, and now the website is not ...
0
votes
0answers
38 views

My server is under attack and all my sites go offline randomly

I have a server with apache on debian 9, recently, all my websites go offline many times every day, when I check apache log: [ 2020-04-29 15:57:57.0921 30985/7fa03ffff700 age/Ust/UstRouterMain.cpp:...
0
votes
0answers
43 views

Apache File Server High Loading Time Processing

We have this server for our file store 8 core processor 16Gb Ram Opteron 3365 Centos 7 with apache 2.2 install I have a problem with it. Page loading or file loading time required 30 seconds to 2 ...
0
votes
1answer
43 views

Nginx Apache reverse proxy with php-fpm

trying to install nginx with apache revers proxy, apache itself does sent to php-fpm to port 9000 on localhost so apache http on port 8081, apache https 444 nginx 80 and nginx ssl 443 php-fpm port ...
0
votes
0answers
22 views

apache server in ubuntu 16.04 is not responding to port-forwarding in router

apache server in ubuntu 16.04 is not responding to port-forwarding in router i tried a lot to make apache server to make it repond to port-forwarding like changing the settings of ufw and apache sever ...
0
votes
1answer
29 views

how does the tomcat ajp redirectport work if no connector is setup for the redirect to port

I've a tomcat server that is fronted by an apache server, both running on the same machine. In the apache httpd.conf, I see this: ProxyRequests Off ProxyPass /MACS ajp://10.50.3.23:38009/MACS retry=...
1
vote
1answer
25 views

Is there a way to dynamically add multiple serveralias to point to the same directory without restarting apache each time?

I am using a Ruby on Rails application and currently have it configured to run using Apache and a VirtualHost. However, the virtualhost configuration at the moment is only configured to support my ...
1
vote
1answer
80 views

domain doesn't work without [.www]

So I set up an Apache Webserver. Apache is handling the requests and guides them to the web framework flask. And i bought a domain and configured it with an A Record to my Server Ip. And now whenever ...
0
votes
0answers
8 views

Why am I seeing the Apache2 default screen for CentOS even if I am running ubuntu

I have two apache virtual hosts (domain based) installed on a server running ubuntu (82.223.117.149). It's uname -a is Linux localhost 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 ...
0
votes
0answers
23 views

Add context path for apache website?

To setup context - Currently I'm using an application called serenityBDD which generates a bunch of html and csv files after an automated test run is done. The files are all dumped in directory: /...
0
votes
2answers
26 views

How to specify gitlab url after installing apache server

I installed first the gitlab-ce on my local desktop ubuntu (used as a server) and it was okay and able to connect to it through IP address http://192.168.1.6/ from other computers on the same network ...
0
votes
0answers
13 views

Set a redirect in Apache to render folder static files instead of html file

I have been following this tutorial here to install swagger on my project. I created a folder with the static js/css files along with the index.html file and added .dist folder to the folder. I got to ...
0
votes
0answers
29 views

Apache Reverse Proxying CGI scripts

I have a web application called routers2.cgi which I am trying to proxy via an Apache 2.4 proxy server which does not work at the moment. Direct URL to the web application server http://lab.server....
-1
votes
1answer
53 views

CNAME from 1 subdomain to another subdomain

I have added a CNAME from order.checkoutchiangmai.com to restaurant1.acemsweb.com. The result I have is "Apache is functioning normally" when I open order.checkoutchiangmai.com. I am unsure why the ...
0
votes
0answers
21 views

worker directives in apache 2.2

we are running apache 2.2.26 as a proxy server and following are its setting for worker module. ServerLimit 3000 <IfModule worker.c> StartServers 2 MaxClients 6000 ...

1
2 3 4 5
342