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
0 answers
21 views

How to specify the URL to proxy in Apache2 httpd.conf

I have a Spring application deployed in Tomcat that I want to proxy its URLs through an Apache2 web server, for now I do it like follows: <VirtualHost *:8080> ProxyPass /app/login http://...
SSSOF's user avatar
  • 1
0 votes
0 answers
13 views

Setting a HTTP Header in ProxyPass to have dynamic route

I am setting up a request header using : RequestHeader set X_FIELD "expr=%{tolower:%{req:SOME-VAL}}" and want to send the value of this HTTP Header in ProxyPass. now I want to send the same ...
abhishek bhardwaj's user avatar
0 votes
1 answer
34 views

Can't telnet Apache2 Web Server from WAN on port 80

Is there specific port configuration to httpd.conf that opens port 80 aside from using Listen 80 directive? netstat -aon gives LISTENING but I cannot telnet machineName 80 (says failed to connect) PS: ...
SSSOF's user avatar
  • 1
0 votes
1 answer
28 views

Redirect ip to domain on apachi (wordpress by bitnami)

I just created a wordpress site on aws using bitnami and pointed it to my domain. The problem is the site can be accessible via both the IP and domain. How do I redirect the IP to domain?
Varun Varath's user avatar
-1 votes
1 answer
46 views

SSL Certificate Renewal Broke Payment Gateway - Modulus Mismatch

I have encountered a problem with my website's SSL certificate renewal, and it seems to have affected my payment gateway. Here's a brief overview of the issue: Background: I have a payment gateway ...
Eann's user avatar
  • 3
0 votes
1 answer
37 views

Unable to Connect To Repo Server On Local Network

I currently have two VMs: node1 (192.168.55.201) repos (192.168.55.203) I'm trying to set up node1 so that it can retrieve packages from the repo server. I currently have the AppStream repo, and ...
hixavier's user avatar
0 votes
2 answers
33 views

wordpress directory file ownership changes everytime after uploading files/plugins

on centos 7, i have created wordpress website with root directory ownership websitename:websitegroup and directory permissions 755, file permissions 644 set by default when the developer, login to ...
Rajsekar Reddy's user avatar
0 votes
1 answer
44 views

Apache Cannot See PM2 Node Process

I have Apache running on Ubuntu 20 and I keep getting this error in /var/logs/apache2/error.log: [proxy:error] [pid 7064] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:4000 (...
Clifton Labrum's user avatar
1 vote
0 answers
16 views

permissions and rights on a shared drive

I don't understand exactly how things work and how to solve the following correctly. I have a mounted HD to my server, to this I upload and download photos from domain X. This works perfectly. Domain ...
Joost's user avatar
  • 111
0 votes
1 answer
21 views

best practice of disable cpanel from edit apache main conf file [closed]

i have a centos server controlled by cpanel, i have some proxy i want to set for my main domain, my configuration work clearly at /etc/apache2/conf/httpd.conf, but any edit in cpanel will remove my ...
Centos's user avatar
  • 11
0 votes
0 answers
43 views

How can I enable mod_wsgi in Apache2.4.57.0 on Windows?

Apache/2.4.57 (Win64) Django 2.4.2 I am new to Django and I tried to connect it with Apache through mod_wsgi but it seems new versions of Apache does not support such kind of module. I installed ...
Miroslav Ivanov's user avatar
0 votes
1 answer
60 views

How to alias a URL path to another URL path (apache2)?

I've tried everything. Alias, ProxyPass, different config files (sites-available/000-default.conf, mods-enabled/alias.conf). My issue is simple. I have an apache2 server hosted at xyz.com/name/. I'd ...
user129393192's user avatar
0 votes
1 answer
374 views

Certbot error - DNSSEC: DNSKEY Missing

I moved my domain to Route53 and am now getting problems with Certbot renewal. Certbot has been running great for 4 years, but is now failing to renew. When running sudo certbot renew --apache i get ...
Malako's user avatar
  • 101
1 vote
0 answers
49 views

htaccess: I can't redirect to nested subfolders correctly on the WordPress app

I have a multilingual WordPress site that has two languages: en and tr, It's site A. I wanna put my other WordPress site inside /tr/shop/ folder, It's site B. Just need only these rules: /en/anything/...
user avatar
0 votes
3 answers
70 views

File hosting on multiple servers? [closed]

I have a PHP website for file hosting (like Dropbox) on a Debian server with Apache, but I'm running out of disk space. Is there a way to add another server in the network and somehow make Apache use ...
user avatar
0 votes
1 answer
49 views

Apache VirtualHost Same domain for Front and API

I have a multi-tenant application that is resolved using subdomains with the pattern *.localhost. The front-end of the application is accessible at http://localhost:3000/. To achieve the desired ...
Gogo's user avatar
  • 101
0 votes
0 answers
45 views

Trouble loading wildcard SSL that uses the hostname

I have a wildcard SSL cert from Let's Encrypt, the installation has worked and when accessing a sub-domain the cert loads properly. However the virtual site (Apache) that has no subdomain produces an ...
Kline's user avatar
  • 247
0 votes
0 answers
68 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
0 votes
1 answer
129 views

Clear gettext cache of PHP-Apache Server to apply .mo updates

Although many questions on SO already relate to this, they're A) pretty old and B) I felt that it's better to ask about this here, as it seems to be related to some server-level, and not programming-...
DevelJoe's user avatar
  • 187
0 votes
0 answers
23 views

mod_jk - 2 JkMount Directives with the same URL but different workers

I have a question. How would the following mod_jk directives be interpreted? <VirtualHost *:443> ServerName backend.example.com ... JkMount /api/prod worker1 JkMount /api/prod/* ...
Jeevan Pillai's user avatar
0 votes
0 answers
41 views

Apache sometimes hangs while responding to requests

I have an Apache web server working in windows environment. It is working smoothly, but sometimes even when on low load, is fails to serve the said requests but quickly loads the page when user ...
12416_INDB's user avatar
0 votes
0 answers
54 views

Proxypass not functioning "500 internal server error"

I am annoyed at having to constantly type in mydomain.com:10000 to access an application I have. I read on here that you can set up proxypass so I can get app.mydomain.com to serve up mydomain.com:...
Ox3's user avatar
  • 1
0 votes
0 answers
74 views

Apache Server Config Set Headers Conditionally

I am trying to set cache age for 200 responses and no cache for rest of the calls. I tried below config, which works fine when 200 OK response comes up and I can see max-age=800 in headers But for ...
Vivek Dhiman's user avatar
0 votes
1 answer
42 views

How to add apache server config rewrite rule for encoding pipe symbol in url

I am getting a 404 error on URL that contains pipe symbol. If I encode manually with %7C for pipe it works properly. I want to add a rule in Apache conf file that automatically replaces pipe character ...
dl_coder8's user avatar
0 votes
0 answers
35 views

Server Performance experience share

I would like to know your expertise for high traffic site to choose a sever with backend. I am familiar with PHP, NodeJS and Go programming languages. Also these days more popular HTTP servers are ...
Ind's user avatar
  • 101
0 votes
0 answers
76 views

403 FORBIDDEN APACHE django

Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12 mod_wsgi/4.9.4 Python/3.11 Server at localhost Port 80 I am trying to run my django project on my windows machine.. in apache this the configuration i ...
Abhiram T N's user avatar
0 votes
0 answers
245 views

Apache server working, PHP isn't

I had a php tool working on my old macbook pro. I've recently install via homebrew the HTTPD server and install PHP per a few websites. The local page loads but it seems that PHP isn't working ...
eezetee's user avatar
  • 11
1 vote
0 answers
46 views

How to redirect using .htaccess in Apache

I am using the following .htaccess rules to redirect the url for following conditions: RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^$ https://example.com/page.php [L,R=...
Bvc...'s user avatar
  • 111
1 vote
2 answers
553 views

Fail2ban ban action error on debian

I'm not sure where to start looking for the issue here This is on debian 11 (using nftables) It seems like the nft add set ... command is failing nft add set inet f2b-table addr-set-wordpress \{ type ...
Michael T's user avatar
  • 121
1 vote
1 answer
89 views

rewrite based on script in URL

Using Apache 2.2.x -- my usual approach to blocking script kiddies from looking for various scripts on the server is to use dynamically created 'deny from' lists with the offending ip's. Works, but is ...
Johnny Canuck's user avatar
0 votes
0 answers
451 views

I get ERR_SSL_VERSION_OR_CIPHER_MISMATCH on apache server (installed with xampp on windows)

I have this version of Apache installed: ApacheFriends XAMPP (Basispaket) version 1.6.8 Apache 2.2.9 MySQL 5.0.67 (Community Server) PHP 5.2.6 + PHP 4.4.9 + PEAR PHP-Switch win32 1.0 (use "php-...
Andreea Onica's user avatar
0 votes
2 answers
51 views

how to keep website up when server resource is not available

First of all I should say I'm newbie in server configuration and managment. In my case mariadb has high cpu usage and oom killer close this service when resources are not available and website get ...
Pablo's user avatar
  • 101
1 vote
1 answer
49 views

ErrorDocs | VirtualHost | Apache 2.2.x

So, I'm having a challenge trying to get my virtual hosts (in the example, called bozo) to 'point' at the right error documents for 401, 403,... errors. I am trying the following construct, but it ...
Johnny Canuck's user avatar
0 votes
0 answers
89 views

Slow server performance due to Google Bot and Ahrefs Bot

I have a VPS server with 64 CPU cores and 128 GB RAM running on Debian. I have noticed that Google Bot from IP address 66.249.66.0/24 and Ahrefs Bot from IP addresses 54.36.148.0/24 and 54.36.149.0/24 ...
Jakub Čuřík's user avatar
1 vote
0 answers
108 views

SOAPUI What causes "error in msg parsing: xml was empty, didn't parse!"

Currently, I have a structure which takes a SOAP request, fires the request at a reverse proxy (a script written in Lua) which takes a copy of the SOAP request and then passes that to the webserver, ...
codinator's user avatar
0 votes
0 answers
130 views

Pass on SOAP request body through a reverse proxy

Im trying to implement a reverse proxy which takes in a SOAP request, saves the SOAP body message (Envelope, header, body etc.). I would then like to change some of the content of the SOAP request and ...
codinator's user avatar
0 votes
1 answer
252 views

Apache Authentication - Find out user password

My field of expertise is far away from server management but I am currently covering for a former collegue of mine, so I apologize in advance if my question doesn't make sense. I have to restart an ...
Mariya Mihaylova's user avatar
0 votes
0 answers
108 views

Apache htaccess denying requests for iOS connections when proper headers are passed

In my the directory for my api, my htaccess file has the following lines: Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "GET, POST, ...
rolinger's user avatar
  • 103
0 votes
0 answers
2k views

Nginx upstream wss proxy SSL_read() failed (SSL: error:0A000126:SSL routines::unexpected eof while reading)

What I need is Client <--wss---> nginx <--wss--> server I am doing a wss proxy, I have already got it working on Apache but I want to switch to nginx now here's the apache config: <...
Steve Moretz's user avatar
1 vote
1 answer
3k views

AH01114: HTTP: failed to make connection to backend: localhost

I know some of you might think that its a little bit off topic here, but am not sure whether its fault of server OR fault of my config file, so... I made React.js project , but it needs server side ...
Y U K I M U R A's user avatar
0 votes
0 answers
419 views

Apache ProxyPass only proxying URL, but not page assets

So I currently have a proxy configuration that looks like the following: ProxyPassMatch ^/foo/bar/(.+)$ https://xyz.domain.net/$1 ProxyPassReverse ^/foo/bar/(.+)$ https://xyz.domain.net/$1 ...
Ress's user avatar
  • 45
1 vote
0 answers
53 views

Apache2: mod_ratelimit only allowing half the speed

I'm trying to limit the file download speed in a directory I've got the following .htaccess <IfModule ratelimit_module> SetOutputFilter RATE_LIMIT SetEnv rate-limit 4096 </IfModule>...
DrDino's user avatar
  • 11
0 votes
0 answers
27 views

Redirection of only home page to 404 not working

What is needed is that https://cpc.dev.company.eu should redirected to 404 page, and all other like https://cpc.dev.company.eu/* and app1.dev.company.eu & app1.dev.company.eu/* should work as it ...
Rajsekar Reddy's user avatar
0 votes
0 answers
24 views

forwarding agent via Apache http

In my web application (Apache httpd) at Centos 7, I'm making an SSH connection with forward agent example: ssh -A $user@$proxyIP $user@DestinationIP ls -l if I want it to run in the terminal of ...
Wancerz's user avatar
0 votes
1 answer
85 views

Nginx static images are not caching

I have a Magento website that is running on apache2 and the frontend is in PWA and running on Nginx and I'm using Cloudflare. Now want to cache the images but it's always showing BYPASS. Apache ...
Arunendra's user avatar
  • 101
0 votes
0 answers
36 views

Which web server can return this page with empty html tags ? Cloudflare / Nginx / Apache

I am using a monitoring tool that constantly checks server status, and sometimes it gets this empty tags reply. The monitoring service doesn't give me more info, like status code. <html><head&...
adrianTNT's user avatar
  • 1,107
0 votes
0 answers
52 views

I need some help modifying a url going through an apache Reverse Proxy

I inherited this system from my retired coworker who inherited it from the person who set it up, so my knowledge of reverse proxies is pretty bad. Here is the situation... We are upgrading a system ...
Brian's user avatar
  • 1
0 votes
1 answer
361 views

apache reverse proxy not working

I am using my apache container as a reverse-proxy and trying to access one of my VM services. It is working when I configure like, ProxyPassMatch "^/(.*)$" "https://host1:443/$1" ...
user2664107's user avatar
0 votes
0 answers
27 views

Forward https request from url apache to intranet proxy

Request from appserver: https://webserver:443/web_1/ <VirtualHost *:443> SSLProxyEngine On ProxyRequests On ProxyVia On #ProxyPreserveHost On ProxyRemote * http://companyproxy:8080 ProxyPass /...
user1503741's user avatar
0 votes
0 answers
132 views

second laravel site using apache on server is not being served

I have a working laravel staging site on a DO server which uses ubuntu 22.04 and php 8.1. I am now moving it to production. I decided I'd serve this from the same server so i created a copy of the ...
ThurstonLevi's user avatar

1
2 3 4 5
346