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
1answer
29 views

How to plug Apache to several ldap servers with mod_authnz_ldap?

The apache mod_authnz_ldap AuthLDAPURL directive can have several ldap URIs as showed in the doc: AuthLDAPURL "ldap://ldap1.example.com ldap2.example.com/dc=..." However, if I need ...
1
vote
1answer
40 views

How to redirect all /client pages to a different url?

i want to modify my .htaccess file such that all sites with /client path redirect to another website without changing the URL. For example: www.example.com/client/james will show: www.site2.com/james
0
votes
1answer
95 views

Is there a method to check the given document root directory exists in Apache2 virtual host?

I want to check the root directory exists or not in Apache2 virtual host. If it doesn't exist I want to point the virtual host to a default directory. Is it possible?
1
vote
1answer
41 views

Legacy php app - what's the correct order to update things? [closed]

I have a legacy PHP application running on: HTTP 1.0 Apache 2.4.10 PHP 5.4.45 MySQL 5.5.42 I have an open source framework which the previous team have manually been writing changes into, so we ...
0
votes
1answer
233 views

How to renew Let's Encrypt certificate that fails with port error even though Apache is stopped?

I am trying to renew the Let's encrypt certificate for an AWS Ubuntu instance that is running Bitnami Parse-Server for the purpose of being the backend for an iOS app. When the iOS app crashed with ...
0
votes
2answers
2k views

SSLProtocol: Illegal protocol 'TLSv1.1' in linux

I know u think this a duplicate question but hear me out first. I am not able to find the answer with a system with same conf as min so here is my server conf: Red Hat 4.1.2-44 CentOS release 5 ...
0
votes
1answer
79 views

svn apache prevent anonymous read dav_svn.authz

So I have gone through about a dozen other threads as well as read the http://svnbook.red-bean.com/en/1.8/svn.serverconfig.pathbasedauthz.html I feel like I have tried everything, and either there is ...
0
votes
1answer
885 views

Docker apache and angular

I have an Apache server (in docker) that distributes to several applications. I have an application in Angular that I want to deploy on my server, but when accessing through the domain, it is giving a ...
0
votes
0answers
194 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
742 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
28 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
141 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
77 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 ...
1
vote
0answers
61 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
87 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
350 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 ...
2
votes
0answers
36 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
29 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
26 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
48 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
1answer
2k 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
184 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....
-1
votes
1answer
111 views

Cpanel NodeJS app displaying source code [closed]

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/...
2
votes
0answers
153 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. ...
2
votes
1answer
104 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
1answer
131 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
65 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
20 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'...
1
vote
0answers
48 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
186 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
1answer
331 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
98 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
277 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
30 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
82 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
2answers
133 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 ...
-1
votes
1answer
77 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
43 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 ...
0
votes
0answers
159 views

How to terminate SSL on load balancer (Apache)

I'd like to know how to terminate SSL on the load balancer using Apache. I would then like to know how to create a secondary SSL connection to the backend web cluster? Here's what I have, but I'm ...
0
votes
1answer
70 views

Control a systemd service through a web application built in python3

I have created a web app in python3 which is hosted on a apache2 web server using the wsgi module. Now one of the requirements of the web application is that it needs to restart a systemd service ...
0
votes
0answers
22 views

My server does not respond

I would like to have an address for my website like this : meteo.xyz.com I own the domain xyz.com I redirected the traffic from my domain to the digital ocean dns in my domain name provider : meteo ...
0
votes
0answers
25 views

Determine 503 errors, Proxy or Application server

Forgive my newness, I recently inherited a couple Linux proxy servers running Apache 2.2. We recently had increased traffic to our application servers and we are seeing a lot of 503 errors. I am ...
0
votes
2answers
62 views

How to use CNAME to load webapplication

I've built an application and planning to host it at example.com I have about 10 customers who want the application to be hosted on their brand name (White labeled). Instead of deploying the same ...
0
votes
0answers
33 views

Redirect request of subdomain to server/path

Currently, we are having two webservers, the first one is directly handling request from domain1.com. I'm trying to deploy another webserver in which it will handle request from sub.domain2.com. ...
0
votes
0answers
21 views

Apache - typing without www on my domain does not work

When i typed: example.com , my site works, but when i typed www.example.com or http://example.com it does not work, it give me This site can’t be reached. This is my Apache Configuration. <...
0
votes
2answers
287 views

Can we use the port number with (back slash)/8080 with the Apache url like http://127.0.0./5000/

Can we use the port number with (back slash)/8080 with the Apache url like http://127.0.0.0/8080/ ab http://127.0.0.0/8080/ will it take 8080 as application port number or it will take the 80 as ...
1
vote
1answer
99 views

Does Apache reverse-proxy pipeline requests to origin servers?

When configuring Apache as a reverse proxy (i.e. using ProxyPass or RewriteRule [P]), does it ever pipeline the requests to origin servers, or are they always sent non-pipelined? This is important to ...
0
votes
1answer
226 views

Issue with configuring php-fpm mod proxy on centos 6

I'm configuring PHP_FPM on a Centos 6 distribution. I'm using php 5.4.45 and apache 2.2.15 and the "mod_proxy.so" to call the socket. But with the following Vhost and php-fpm configuration I still get ...
0
votes
2answers
84 views

htaccess rewrite for generated links

Hi, In the picture shows my htaccess rules, it blocks all requests not coming from this referer. But the application installed sends a confirmation email after booking with a URL ending like this: ...