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)

2
votes
1answer
147 views

SuppressDescription Removes All Columns but the Name

I'm using mod_autoindex for some time with success (fancy index). However since I see no use for my "Description" column, I thought I'd remove it. According to the documentation, ...
0
votes
2answers
928 views

Apache returns empty response and must restart

I have the classical LAMP configuration on several servers, on one server I can frequently see Apache returned an empty error. I have PHP-FPM running to serve .php file, static pages like .html is ...
1
vote
1answer
1k views

Remove index.php from URL Apache 2.4

I have been trying to remove index.php from my application since a day. I have tried everything but am not able to remove it. The problem is - I am not allowed to have .htaccess file in the project ...
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
19 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
1answer
2k views

force HTTP to HTTPS Centos 6.7 and Apache not working correctly

I tried adding to the .htaccess file RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://mywebsite.com/$1 [R=301,:] I also tried (in the httpd.conf file) <VirtualHost *:80&...
0
votes
1answer
36 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. ...
0
votes
0answers
22 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 ...
1
vote
2answers
938 views

SSL on apache2 - ubuntu, unknown issue [on hold]

I try to install SSL certificate on my own server. I have ubuntu 14 and apache2 webserver. My default-ssl.conf file is: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin ...
-1
votes
0answers
30 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 ...
5
votes
1answer
4k views

Debugging a timeout with ldap auth on apache

I'm trying to debug a timeout problem I have with Apache, for some months now. The pattern looks like this: On every first request of a new session (or after some time after the last request) the ...
2
votes
0answers
47 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://...
0
votes
1answer
15 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 ...
2
votes
2answers
2k views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
0
votes
1answer
24 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
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
0answers
29 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 ...
0
votes
1answer
17 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-...
0
votes
1answer
22 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-...
1
vote
0answers
6 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=...
5
votes
2answers
3k views

421 Misdirected Request

I occasionally get the following 421 error: Misdirected Request The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) ...
0
votes
2answers
1k views

can not upload files to wordpress on apache server

I have installed wordpress on localhost with apache server on fedora . when I want to upload files to it I get this error: Unable to create directory wp-content/uploads/2014/07. Is its parent ...
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
1answer
34 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
0answers
10 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
1answer
2k views

How to disable SSL on Apache 2.4.18 running on Windows Server 2008

I have Apache 2.4.18 running on Windows Server 2008 R2. I want to stop SSL on that environment altogether. How can I disable it? Here is what I done in attempt to disable it In the httpd.conf file ...
0
votes
1answer
24 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-...
0
votes
0answers
8 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
votes
0answers
18 views

My members can only access my app on my server throw mobile data? [on hold]

I have a web-host connected to my android app, my members can only access the website throw mobile data, not all of them! What can be the problem? I contact the web-host if there is any problem from ...
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
2k views

Resolving multiple apache name-based virtual host with ssl

I have the following configurations in my httpd-ssl.conf NameVirtualHost *:8443 <VirtualHost _default_:8443> ServerName sub.domain1.com ServerAlias sub2.domain1.com SSLEngine on ...
0
votes
0answers
16 views

Switching from MPM_Prefork to MPM_Event through.ebextensions [closed]

I have an elastic beanstalk environment running Apache with mpm_prefork. I want to switch to mpm_event; however, I want to do this through .ebextensions folder and creating my own additional ...
3
votes
2answers
2k views

How to enable OCSP Stapling via http proxy?

I'd like to utilize OCSP stapling for SSL certs on my Linux webservers running Apache httpd and Nginx. Both Nginx and Apache however per default do want to directly access the OCSP responder. However,...
2
votes
0answers
19 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
12 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 / ...
-1
votes
0answers
19 views

Can't access site using mobile phone over wifi in WAMP [closed]

I have a WAMP server on my local desktop on my office work computer, and I can access everything on it from itself with no problems. However, if I connect it to the office wifi and try to access it on ...
0
votes
0answers
24 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
30 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-...
0
votes
0answers
8 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 ...
2
votes
1answer
40 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 ...
0
votes
1answer
55 views

504 Timeout Using to Many cUrl From Website That is Down

I have a dedicated server with 32 gb ram / 8 processors. I use on all my sites cUrl php displaying some code. The website from where I make the cUrl is a VPS where I use another cUrl with multiple ...
1
vote
0answers
20 views

How to make aplication acessible using apache [closed]

I have an aplication in my server run in https://localhost:5010 and I want to make it acessible and certificated in https://tsf.amadeuantunes.com/ Here is my apache config: <VirtualHost 46.101....
2
votes
0answers
19 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: ...
1
vote
1answer
930 views

Wildcard subdomain redirect to folder without changing the url

So I got my htaccess file set up, it look like this: Options +FollowSymLinks RewriteEngine on RewriteBase / # MAGIC RewriteCond $1 !/$ RewriteCond $1 !\. RewriteRule ^(.+)$ /$1/ [R=301,L] # //...
0
votes
2answers
2k views

How do I configure Apache to proxy Tomcat using AJP?

I have a fresh install of Fedora 23 (Workstation) with fresh installs of Apache 2.4 and Tomcat 8. I'm attempting a very simple setup: A single instance of Apache will proxy all traffic for a single ...
0
votes
1answer
2k views

.htaccess file is not working on Apache 2.4.12 and Windows Server 2008 R2

I am trying to add Authentication window to a section of the site using .htaccess file. But It is not working "the site is acting that the ".htaccess" files does not exists. here is that content of ...
0
votes
1answer
50 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
1answer
20 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 ...
-2
votes
0answers
621 views

install mod_php71u for Apache 2.4 in Rhel7 Enterprisee [closed]

I am having a hard time to figure out how to install the PHP7 modules for Apache 2.4 (httpd) in RedHat7. I've been looking in google and different sites, however is kind of hard to find documentation ...
0
votes
2answers
946 views

Apache Proxy Reroute to Different Port

Trying to redirect my subdomain to a different port other than port 80. The request is received via port 80 and I'm trying to direct the requests to port 10001 as there's a mono server running ...