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
17 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
21 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
34 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
25 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
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
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
21 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
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
0answers
5 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
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 ...
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
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
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
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
16 views

Switching from MPM_Prefork to MPM_Event through.ebextensions [on hold]

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 ...
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-...
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://...
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 / ...
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 "...
-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
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 ...
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-...
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 ...
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
18 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
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
1answer
56 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
20 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
49 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
17 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 ...
0
votes
0answers
23 views

Apache is taking requests for all subdomains leading always to the same virtual host [duplicate]

I have got two 2 subdomains for the domain example.com. Which is remote.example.com and archive.example.com. Apache is taking requests for all subdomains leading always to the same virtual host. The ...
2
votes
1answer
19 views

Apache how make “localhost/<directory>” map to “ C:/Apache/htdocs/<directory>” multiple document root?

How can i make a directory inside htdocs act as the root directory? Example: Going to "localhost/<directory>" Serves "C:/Apache/htdocs/<directory>" as the "$_SERVER['DOCUMENT_ROOT']" I ...
0
votes
0answers
28 views

apache 2.4.37 does not link openssl directly using shared mod_ssl.so

I am using a centos7 build box that has openssl 1.0.1e-fips and I use configure command as follows: ./configure --prefix=$INSTALL_DIR \ --enable-ssl \ --enable-so \ ...
0
votes
1answer
36 views

Wordpress Hack on linux apache server - no detectable changes in files [duplicate]

I have a weird hacking case with one of my wordpress sites. It's a small site, basically shows 5 blog posts on whether or not the office will be open/closed. It's not too complicated or anything, but ...
0
votes
1answer
25 views

Apache Err 403 on static files from a docker volume

I am struggling with staticfiles and, since I'm new to docker and not quite fluent with Apache, I am not sure whether the problem comes from the former or the latter. [the set up] I have a ...
1
vote
1answer
18 views

Apache 2.4 - how to enter multiple files in files directive?

I can't find any info about it in the official documentation. I try to allow access to two php files, A.php and B.php. <Files "A.php"> Require all granted </Files> <Files "B.php"&...
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 ...
0
votes
1answer
22 views

How To Check HTTPD Directory Enforcement?

Fedora 29 with HTTPD Apache 2.4 By default access to the server's directory system is protected by this entry in httpd.conf: <Directory /> AllowOverride none Require all denied </...
0
votes
1answer
19 views

Why apache2 module can't be removed?

sudo apt purge apache2 sudo apt remove apache2 sudo apt autoremove To check if something related apache2 still remain in my os. sudo find / -name 'apache*' /usr/lib/apache2 ls /usr/lib/apache2/...
1
vote
1answer
28 views

How web-hosting providers manage to make uploading files secure?

I made a small website where people can upload their files into my server. Every member have their own folder and they can't open or show other people directories. Their links looks like this: ...
2
votes
1answer
24 views

How do you redirect Joomla URLs with a query string to another host?

I have a Joomla site and I was trying to make URL redirection with query so when someone types https://example.com/index.php/news/item/some-news they get redirected to http://new.example.com/index....
0
votes
0answers
22 views

Apache 2.4 - How to add directory protection? [duplicate]

I need to add directory protection to one of my folders. It should only be accessible after entering valid credentials. The folder ist at /srv/www/vhosts/myproject/errors/protected_folder/ the url is ...
0
votes
1answer
71 views

htaccess Redirect for a Single domain

I have an htaccess file that is shared by multiple sites. It is a multisite setup and the code before was redirecting www to non www RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ http%{...
2
votes
1answer
32 views

How to force Client to use specific/local IPv6 address to access webserver

I'm running an Apache 2.4.29 web server with virtual hosts, of which some are publicly available, other shall only be accessible via local network. I have IPv6 up and running. The corresponding ...