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
18 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 ...
  • 101
1 vote
1 answer
35 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 ...
0 votes
0 answers
22 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 ...
-1 votes
1 answer
51 views

Cloudflare error 526: Invalid SSL Certificate with LetsEncrypt Cert [closed]

My website is winions.gg and I have just today run into a 526 error through cloudflare (it's been working the past 2 or 3 days and today only it stopped working). I have a letsencrypt SSL installed ...
0 votes
0 answers
20 views

I need to measure downloads size request per file in my site [closed]

Hi I have a website that it's main service is upload file system. users of my website upload their file and share it's download link to their friend, users and everyone that they want. So I need to ...
  • 1
0 votes
0 answers
16 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, ...
0 votes
0 answers
31 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 ...
0 votes
1 answer
22 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 ...
0 votes
0 answers
33 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, ...
  • 103
0 votes
0 answers
25 views

How can I make e2fsck non interactive? [migrated]

When I run "e2fsck" command through cli it asks for options like asking for abort, force rewrite etc, and the process get completed successfully. But I want to run "e2fsck" command ...
0 votes
0 answers
158 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: <...
1 vote
0 answers
395 views
+50

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 ...
0 votes
0 answers
55 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 ...
  • 45
1 vote
0 answers
29 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>...
  • 11
0 votes
0 answers
20 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 ...
0 votes
0 answers
19 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 ...
0 votes
1 answer
47 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 ...
  • 101
0 votes
0 answers
29 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&...
  • 1,078
0 votes
0 answers
26 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 ...
  • 1
0 votes
1 answer
80 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" ...
0 votes
0 answers
20 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 /...
0 votes
0 answers
46 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 ...
0 votes
0 answers
61 views

How can I proxy pass applications to locations different from "/" with Apache?

Let's say I have three applications on my server: node-red (1880), jupyter (8888) and pgadmin (5433)... I can successfully create a localhost proxy pass with them individually as the following: <...
  • 101
0 votes
1 answer
144 views

nginx proxy to apache in local enviroment avoid error 504

Hi guys I have a setup where I use Nginx as entry point for my HTTP request on port 80 and then I make a proxy to port 8080 where Apache is running a virtual host with PHP7.4 + MySQL running on ...
0 votes
0 answers
61 views

OHS ProxyPass returning a 403

I've setup an OHS server (managed by me) to be used to proxy requests to another server (not managed by me). As of right now, the relevant part of the OHS server's virtual_hosts.conf looks like this: &...
  • 45
1 vote
0 answers
57 views

debian apache server slow & not responding - cpu low

i have a debian server with apache and mysql installed there. i have more visitors from 8pm to 22 pm and apache server to slow and lot of times page cant open on this period. error: This site can’t ...
0 votes
0 answers
91 views

How to redirect subdomain in apache virtualhost (CentOS8)?

I have an apache virtual host for the main domain and subdomain as below. <VirtualHost *:80> ServerName example.com DocumentRoot /var/www/html/example/public <Directory /var/www/html/...
0 votes
0 answers
31 views

How to make redirect rewrite rule for https subdomain on apache (CentOS8)?

I have own domain for example. https://example.com Below is my apache virtual host with 301 redirect rewrite rule. <VirtualHost *:80> ServerName example.com DocumentRoot /var/www/html/...
0 votes
0 answers
21 views

How do you do the following ftp server permissions on AWS?

I looked trough the documentation found here. But found the explanation insufficient. I have gotten my head around creating an instance, choosing a Linux distro, installing Apache, getting ftp going ...
0 votes
2 answers
54 views

ProxyPass not working alongside ProxyPassMatch

So at the moment I have a virtual host configured on my Oracle HTTP Server instance with a ProxyPass as such: ProxyPass ^/test/home/ https://example.com/ ProxyPassMatch ^/test/home/(.*)$ https://...
  • 45
0 votes
3 answers
221 views

CGI scripts: when can you return a document, instead of an HTTP response?

Script 1 below is bash, and is at https://example.com/cgi-bin/test. It produces the output 'Under construction' when fetched. It echos Status and Content-type headers, and some HTML. If I instead try ...
  • 71
0 votes
1 answer
62 views

How do I add a second virtual host to an Apache server config?

I have an Apache server running on an AWS EC2 instance. Currently, one virtual host is running successfully on the server, and I want to add a second virtual host / domain, but I can't figure out how ...
0 votes
0 answers
449 views

Websocket with Apache 2.4.52 and Ubuntu

I am trying to follow tutorial located here for messaging system using RatChet PHP https://www.twilio.com/blog/create-php-websocket-server-build-real-time-even-driven-application I have my domain ...
0 votes
0 answers
16 views

Enable the App linking in all the subdomains

I'll explain what is my requirement in high level. I'm having a root domain as example.com, and I'm having several subdomains (ads.example.com, document.example.com) where I hosted an application. I'm ...
  • 1
0 votes
1 answer
47 views

How can I port an Apache RewriteCond and RewriteRule to ngnix?

I have to convert an Apache reverse-proxy configuration that uses RewriteCond and RewriteRule, to Nginx. How can I convert something like this to nginx configuration? (this is in the main/only <...
0 votes
0 answers
51 views

open-source ngnix reverse proxy for tomcat servers session persistence with JSESSIONID?

I am tasked with converting (or attempting to convert) some legacy Apache virtual host configuration to Nginx, in Google Cloud (GCP). It is thought that Nginx might solve some performance issues. The ...
1 vote
0 answers
224 views

index.php displays as listing on Apache2 server

My OS is Ubuntu 22.04 I started out by installing php 8.1 I then installed Apache/2.4.52 (Ubuntu) Server Then I added the following: sudo apt-get install -y php php-cli php-common php-mysql php-zip ...
0 votes
1 answer
135 views

Redirect Base URL to Application Directory

I have an AWS server. I set up a Laravel project, and it's working fine. The project is under /var/www/MyProject, and when I go to myproject.com/public, I see the application (after entering my apache ...
0 votes
0 answers
66 views

Server 500 error caused by mod_rewrite with Apache

So i've been trying to get this particular script installer to run, and I cannot seem to figure out why it won't process the rewrites properly. In my .htaccess file within the root directory, I have ...
  • 101
1 vote
1 answer
643 views

Why environment variable set by SetEnv in apache httpd.conf cannot be passed to php?

I set an environment variable in httpd.conf: SetEnv http_proxy "http://localhost:3128" But I cannot get this variable in php using getenv: <?php echo getenv("http_proxy"); ...
  • 73
0 votes
1 answer
674 views

How to pass through a Nginx reverse proxy to IIS and Apache

Ive been dealing with this scenario for a while and a can not find the error or the config that gets me to this: I have one domain example.com and several subdomains (app.example.com, test.example.com ...
4 votes
4 answers
1k views

How can I see the httpd log for outbound connections?

The access log specified in httpd.conf for a website only shows the information for incoming connections. For outbound connections such as those issued by php file_get_contents function, how can I get ...
  • 73
0 votes
0 answers
39 views

How to server index.php from different directory through .htaccess?

I am working on a project which is in Yii2. I have to integrate swagger UI for API documentation. My current directory structure: This is what the .htaccess looks like: RewriteEngine on RewriteCond %{...
0 votes
0 answers
50 views

Create ubuntu user with home folder located in www and restrict ssh access using ChrootDirectory to that folder

I posted this on stackoverflow and was told to post here: I am running a Ubuntu remote dev server, heavily restricted (due to compliance) environment which i previously had configured correctly for ...
0 votes
0 answers
22 views

apache ssl file locations in 1 location in configs

I have a handful of virtual hosts configured in apache. Everything is working as it should. I have an admin type question. Where can i put the path for SSL cert files so that I only have to put it in ...
  • 147
0 votes
0 answers
42 views

How to create identity in mail server

I am creating simple mail server with CentOS 7. 1 GB RAM, 1 CPU and 50 GB Storage. I installed : 1. Apache 2. MySQL 3. dovecot - IMAP/POP 4. postfix - SMTP 5. Roundcube - Email Client But now the ...
0 votes
0 answers
20 views

Apache mod_proxy redirect

I have 2 domains, both on the same server. One of them is running a website. I have a subpage of that website that I want to map the other domain to. The goal is to have the domain www.something.com &...
  • 101
0 votes
1 answer
310 views

How to wake my Ubuntu server on HTTP requests from LAN?

I have an Ubuntu 22.04.1 web server running Apache2 Server hosting 2 sites [Django website & other File hosting Site]. What I'm trying to achieve: Set the server to sleep all the time it is not in ...
0 votes
1 answer
27 views

nginx doesn't properly route to webapp and omitting path

I am currently configuring a nginx reverse proxy. The docker instance of nextcloud is available on Port 8891 server { listen 8888 ssl http2; ... location /nextcloud/ { proxy_pass http://0.0.0....
  • 101
0 votes
0 answers
22 views

Ubuntu Apache Redirect All Request to HTTPS except Jenkins

I am creating a configuring a Server using Ubuntu and Apache. Everything works fine except that when I use redirection of HTTP to HTTPS. How can I write an exception case where every http request is ...
  • 101

1
2 3 4 5
346