Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache-2.4]

Version 2.4 of the Apache HTTPd Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

0
votes
0answers
14 views

Unable to install LetsEncrypt SSL on CentOS 6.1 [on hold]

A client has a website hosted on a CentOS 6.1 server. When the hosting was first setup it was done using cpanel during the 30 day trial. The client didn't pay for cpanel after this initial trial ...
-1
votes
1answer
8 views

Apache virtual host use a webapp what public at port number

I am using Windows Server 2016 Data center, Apache 2.4, ASP.NET Core 2.2 I build ASP.NET Core project, then I run dotnet foodotcom.dll Stand at local Windows server, I can access web app at http://...
1
vote
0answers
15 views

Apache2 stopped but still showing 500 error on some browsers

So I'm having an issue where a domain renders properly in one browser, but not in another. In this example, Chrome 74 loads the site fine, but Chrome 76 ends up rendering a 500 error. Here is the ...
0
votes
0answers
9 views

passenger rails apps as subdirectory of non-rails main page

I have a non-rails main page running on Apache in CentOS that I want to deploy a couple rails apps from using the same domain with subdirectories. I've found all kinds of tutorials on how to deploy ...
0
votes
0answers
10 views

Kibana, smart card login with Apache 2.4 Reverse proxy

Elastic Stack 6.8 Apache 2.4.6 using mod_ssl Trying to take advantage with the features included in ES 6.8 and up. I set up Apache as a reverse proxy with a smart card authentication. It works good ...
0
votes
0answers
17 views

WAMP Server: Apache PHPMyAdmin login screen not showing

I have recently setup a WAMP server (Windows, Apache, MySQL, PHP) and i'm having trouble setting up PHPMyAdmin. I didnt use XAMPP for any of this, i installed the services directly onto the server. ...
0
votes
0answers
13 views

GSSAPI Apache set REMOTE_USER variable to sAMAccountName

I configure currently SSO authentication on apache server (CentOS 7.6 - httpd 2.4.6). I can get successfuly username and "[REMOTE_USER]" variable is set to @DOMAIN.TLD. But I want to set "[...
1
vote
1answer
221 views

Apache redirect to https:/www only partially working

I am aware of the many people with basically the same question as this one. However, I am apparently unable to understand the answers and thousands of blog entries on the web that try to explain the ...
0
votes
1answer
22 views

mod_security X-Forwarded-For not being blocked

I made some changes to my config as per this suggestion: SecAction \ "id:901321,\ phase:1,\ pass,\ t:none,\ nolog,\ initcol:global=global,\ initcol:ip=%{x-forwarded-for}_%{...
2
votes
1answer
14 views

Why can't I redirect index page with apache .htaccess?

I have a site with just a handful of pages, and I am trying to do a 301 redirect of everything. Everything works except the index file. It doesn't matter if I write it out as http://example.com/...
1
vote
0answers
24 views

Forcing/rewriting method from POST to GET in Apache internally

I get a POST request like /grabcontent?url=/foo/bar.html on my Apache server. (yes, I know a POST request with a URL parameter makes no sense, but this is what I am getting from a 3rd party, cannot ...
1
vote
1answer
41 views

SSL site is not loaded and no error

I'm trying to install the certificates are purchased from Thirdparty. Received the following error in the log and nothing else. I'm unable to find a similar solution and the ssl site is not accessible....
0
votes
2answers
21 views

Load specific php module for directory - Apache 2.4 CentOS 7

Inside /etc/httpd/conf.modules.d/ I have a conf file called 10-php54-php.conf which I use to specify what PHP version I want to use. I can freely switch between PHP 7.2 and PHP 5.4 by commenting line ...
1
vote
2answers
29 views

AWS EC2 instance crashes when scanned by bots

I've created a simple micro EC2 instance based on Amazon Linux AMI for testing an app while I develop it, but it happens that every day it stops answering giving me error 503. It have it's own domain ...
0
votes
0answers
14 views

Apache mod_rewrite order not working as expected

I want to respond with 404 for /autodiscover/ on https://mycompany.com as this is the URL Outlook (and other clients using Exchange autodiscover) checks at startup. What this vHost also does is ...
0
votes
0answers
17 views

Specify cache validator and Leverage Browser caching with Apache

I'm trying to improve my websites speed and using GTMetrix for some analysis. I'm getting 2 recommendations I cannot sort. Leverage browser caching for the following cacheable resources: https://...
0
votes
1answer
36 views

Domain keeps going to the default apache config

I have an apache2 setup (Ubuntu 16, Apache 2.4.18) with a number of virtual hosts defined. Each virtualhost has it's own .conf file in /etc/apache2/sites-available with a softlink to /etc/apache2/...
-2
votes
0answers
14 views

Apache2.4 on RPi forces wrong DocumentRoot [closed]

I want to set the Main DocumentRoot of my Apache2.4 webserver running on Raspbian to /var/www/apache. So I set it in /etc/apache2/sites-available/000-default.conf which is the only enabled site. I ...
1
vote
0answers
42 views

Reverse Proxy issue for .app domain

I have a java application with .com domain. I'm using reverse proxy(apache) for my customers domains to map to their application URL. For example, My customer domain is http://example.com which is ...
0
votes
0answers
22 views

Apache: Redirection with RewriteMap is not working

I recently migrated my personal blog to another publication system. So I want to redirect the URL with the old scheme to the new ones. I have a redirect map which looks like this (my domain is ...
0
votes
0answers
9 views

Apache httpd error [migrated]

On the control panel of the sharing hosting that I purchased, sometimes I go to see Last log lines containing errors. Today I read this: Sat, 18 May 2019 13:09:00 GMT [notice] - www.example.com - ...
0
votes
0answers
25 views

Application redirect sends request back to http

The requirement: We recently upgraded our site(internal to company) to https. However, many teams have asked for us to extend http support, for 30 more days. This is to enable non tech users to update ...
0
votes
1answer
59 views

Is it possible to “restrict” https configurations?

I have my application on an apache webserver with no HTTPS configuration. However you can reach it only by passing from another webserver with https configured, I have no control on this webserver. ...
-1
votes
0answers
65 views

wrong routing on Apache

I defined new config file in /etc/apache2/sites-available/xyz.conf and created symlink in /etc/apache2/sites-enabled and ran sudo a2ensite xyz all executed successfully. However, instead of Ruby app I ...
0
votes
0answers
13 views

Why is the website having 2 instances while deploying on apache2 and tomcat7?

I'm deploying my Java Web Application on VPS which has apache2. The application is being deployed in tomcat7. I've added entries to forward the request from apache to tomcat in httpd.conf. The war ...
0
votes
1answer
25 views

How to connect through SSL to server requiring certificate exchange via an apache proxy?

I need to connect to an external server via SSL which only accepts certificates exchange following this architecture : Client (my Nodejs server) -----http-----> (Reverse?) Proxy ----https-----> ...
0
votes
1answer
18 views

Apache2: error in SSLv2/v3 read server hello A

Without any reason my Apache2 Webserver on Ubuntu stopped working. Every HTTPS site i want to open I get "SSL_ERROR_RX_RECORD_TOO_LONG". When I call on my server 'openssl s_client -connect www.kosa-...
1
vote
1answer
26 views

Google is indexing urls from another site hosted on the same VPS

We have a VPS hosting 2 websites. WebsiteA.com has SSL. WebsiteB.com doesn't have SSL but google indexes WebsiteB.com with HTTPS URLS from WebsiteA.com Example: https://www.websiteB.com/url-from-...
0
votes
0answers
31 views

SAFARI error white page with symfony and htaccess with php-fpm all work on chrome,IE, firefox

I have a problem i just finish and upload my site but he not work with safari got white page i check log [Thu May 16 07:56:17.534196 2019] [authz_core:debug] [pid 5671] mod_authz_core.c(820): [client ...
1
vote
0answers
19 views

PHP7.3-FPM with Apache: Unknown script request execution timed out

I configured Apache 2.4 MPM Event with PHP7.3-FPM on a pretty busy web server as follows: Timeout 90 <Proxy "unix:/run/php/php7.3-fpm.sock|fcgi://php-fpm"> ProxySet disablereuse=on timeout=...
0
votes
1answer
17 views

Apache 2 posted xml file fails 404 506

WHile trying to replicate Apple Airscan protocol I am getting this error on the POSTed file upload. This is from Mopria Android client to the Apache server so I can not change anything on the client ...
0
votes
0answers
26 views

How can I repair damage after a Let's Encrypt update?

After some domains were not being installed from my Let's Encrypt cron job, I manually ran some domains. This has had the effect that the effective DocumentRoot for https://cjshayward.com has been ...
0
votes
0answers
11 views

How to prevent or reduce spikes in Apache load caused by bots

Today MySQL was killed off by the oom-killer on one of our shared web servers, which caused an outage for our customers. When I investigated what happened I found there were over 1,300 requests in the ...
0
votes
0answers
14 views

SaaS Using Apache, docker and flask

I'm working on an application using flask and mysql, the application works great and it's already in production, for this I have several customers that will use it, therefore I'm using docker to ...
1
vote
0answers
14 views

Apache2 executes PHP only implicitly, not when explicitely opened

I am facing a rather strange behavior. I have placed a simple phpinfo test script (see below) as index.php in the root directory of my domain. When I open it as www.example.com in the browser, it ...
0
votes
1answer
36 views

ServerName on VirtualHost not working in Apache 2.4.6

I have the following VirtualHosts inside /etc/httpd/sites-enabled/domain.com.conf: <VirtualHost *:80> DocumentRoot /var/www/html/ ServerName www.domain1.com </VirtualHost> ...
0
votes
1answer
27 views

Former Proxy Config for Apache 2.2 Webserver not working for Apache 2.4

On my previous server I had a perfectly functioning Apache 2.2 Configuration. On one hand this said perfectly functioning Apache 2.2 config has the purpose of acting as a Load-Balancer for a Web-...
2
votes
0answers
48 views

RewriteRules for .htaccess [duplicate]

This question has an accepted answer at Stackoverflow I have a PHP file named as otp.php. When URL in the URL bar is http://localhost/college/otp/MTA=/teacher It should be treated as http://...
2
votes
0answers
22 views

Is it possible to make IfFile work on Apache 2.4.29 for Ubuntu 18.04, and if so, how?

I am wanting to conditionally load VirtualHosts depending on the existance of the appropriate key files required for SSL for that virtualhost (or failing which, have a generic certificate I can fall ...
0
votes
0answers
14 views

Unable to configure server-status on Apache 2.4

I am trying to configure stats on Apache 2.4 and I'm unable to make it works. This is my current configuration: $ cat sites-enabled/000-default.conf <VirtualHost *:80> Redirect 404 / ...
0
votes
0answers
28 views

How to configure NGIX to do not overwrite SSL certificate of Apache

I need to proxy HTTP requests over NGnix. However I would like that SSL is managed only by Apache server. Is it possibile to configure NGINX to don't act asterminal endpoint of SSL and just being "...
0
votes
0answers
11 views

international characters for filenames to be used with Plone / Zope WebDAV access

I'm trying to use Plone v5.1 / Zope as limited WebDAV Server. Maybe, it was not built for this useage, but the server is running and could use another function. The problem is, that any non-ASCII ...
0
votes
0answers
31 views

centos apache not serving 2nd virtual host

I have setup centos with apache, enabled ssl and setup lets encrypt cert( followed this guide for ssl https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-...
2
votes
1answer
42 views

RewriteRule “P” flag results in server 500 error

I am using RewriteRule in my .htaccess file to modify an incoming URL. It works fine except I want the rule to act as a proxy, rather than a redirect. But if I append the [P] proxy flag to the rule ...
2
votes
0answers
23 views

Use S3FS Mount As HTTP Server Document Root

My proposed setup: An EC2 server running Apache or nginx. An S3 Bucket in the same region/availability zone mounted with S3FS. The Apache or nginx document root set to the S3FS mount. My question: ...
0
votes
1answer
23 views

Apache 2.4: mod_alias, mod_rewrite, mod_proxy execution order

I can't find any documentation on Apache vhosts instructions priority / execution order between mod_alias (Redirect instructions), mod_rewrite (RewriteRule instructions) mod_proxy (ProxyPass ...
0
votes
1answer
59 views

How to prevent other websites from loading resources from our webserver?

I have some icons and images on my server. How can I prevent that other websites can use them? Let's assume the website www.evil.com is loading our images on their site e.g. <img src="www.oursite....
0
votes
0answers
28 views

Apache AH01997: SSL handshake failed: sending 502

Trying to create a virtual host proxying to an application hosted on Openshift with a really nasty url. When trying to do this I find the following error in the log file AH01997: SSL handshake ...
0
votes
1answer
51 views

ProxyPass exception gives me “too many redirects” error

I have an application on my server that is for the most part overwriting Apache. Now I want to install PhpMyAdmin on my VPS, it doesn't work (displays directory listing instead of UI), but by asking ...
0
votes
0answers
24 views

Apache2 stops after system graceful-restart

System's effected: Ubuntu 16.04, Ubuntu 18.04, not 14.04. Frequency: Approx. around 24 - 36 hours. [Wed May 08 03:44:25.964597 2019] [mpm_prefork:notice] [pid 7670] AH00171: Graceful restart ...