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

Nginx reverse proxy to apache server, redirection gives 404

I have this setup with angular and spring boot project having nginx reverse proxy to apache for serving angular application and embedded server for spring boot reverse proxied through nginx. Now I am ...
sarp's user avatar
  • 1
0 votes
0 answers
22 views

What is the correct URI for connecting to the Websocket server in my case?

I am using proxyPass to redirect my websocket inquiries as such : SSLProxyEngine on ProxyPass /rooms/325 wss://cdn.dummy.com:443/rooms/325 ProxyPassReverse /rooms/325 wss://cdn.dummy.com:443/rooms/325 ...
Hypothesis's user avatar
-1 votes
0 answers
24 views

Apache Error with authorisation?

Afternoon all I am using apache to host a node.js application. It suddenly stopped working. I am using a virtual host for the port. I have been debugging through errors but now I have this error ...
jitsujoseph's user avatar
0 votes
1 answer
20 views

Need equivalent .htaccess rule in apache just like nginx so I can get everything in URL

I have a VPS where I am using nginx and uses following to do URL rewriting. location / { try_files $uri $uri/ /index.php?$args; } Then I simply go to index.php and use the following code to get ...
Frank Martin's user avatar
-1 votes
1 answer
2k views

OpenSSL 1.0.2 SHA1 requirement causing HTTPS compatibility error with Microsoft Edge 119 ERR_SSL_PROTOCOL_ERROR [closed]

I encountered the problem described in this Thread but with the Microsoft Edge browser version 119, which has been published on November 2, 2023. The problem only seems to occur on webserver instances ...
Enrique SM's user avatar
0 votes
1 answer
34 views

Apache 2 ProxyPass Only The Homepage And Not Other URLS

I have Laravel and Nuxt hosted on example.com Nuxt running on port e.g example.com:3001 Laravel apis working on example.com/api/{dynamic} Now I'm want to render homepage only on Nuxt and I tried ...
Paul's user avatar
  • 1
0 votes
0 answers
86 views

why is docker not responding to apache2 port 443 proxpass but fine on port 80?

I have an Azure VM which has an apache2 running with the following configuration, <VirtualHost *:80> ServerName .com ProxyRequests On ProxyPass / http://127.0.0.1:...
Majid Khan Mohmand's user avatar
0 votes
0 answers
21 views

Apache - How to compress (gzip) only specific calls

I have PHP application served with Apache 2.4 I need the apache to compress (mod_deflate - gzip) calls for specific users. So the application should decides dynamically which calls gets gzipped. I was ...
Niro's user avatar
  • 1,441
0 votes
1 answer
47 views

Apache rewrite any uri to index.html but existing files

My front-end project is based on 1 file: frontend/index.html It means that every request like /contact, /about, etc should be responded by index.html file. I was thought I can use these lines in my ...
MHSarmadi's user avatar
1 vote
1 answer
133 views

How to enable executing php files in Fedora Apache?

I installed httpd and php v8.2.11 on my Linux Fedora. But Apache can't execute .php files. (Responses "Access denied.") I tried to use chmod shell command to enable executing and add AddType ...
MHSarmadi's user avatar
0 votes
0 answers
42 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
31 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
56 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
49 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
51 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
59 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
92 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
133 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
17 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
28 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
81 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
133 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
2 answers
1k 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
73 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
87 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
123 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
48 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
94 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
186 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
27 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
68 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
81 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
91 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
58 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
98 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
333 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
63 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
736 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
101 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
666 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
52 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
54 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
125 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
140 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
173 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
387 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
133 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
4k 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

1
2 3 4 5
346