Questions tagged [apache2]
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)
839
questions with no upvoted or accepted answers
5
votes
0
answers
194
views
Does the default Apache build not have PIE (position independent executable)?
I just built Apache from source, not something I usually do, and noticed that one of the build options was:
--enable-pie
This builds httpd as a Position Independent Executable which as I understand ...
4
votes
0
answers
817
views
Sudden and sporadic errors from mod_proxy
[Edit, addition]: Looks like this could be caused by an attack attempt. But not sure how it can be avoided?
https://www.mail-archive.com/[email protected]/msg57219.html
I have an Ubuntu server ...
4
votes
0
answers
3k
views
Adminer not working - Configuration file is missing
I have a VM running Debian 9.7.0 64-bit off a Windows 10 host machine. This VM has the packages openssh-server, ufw, mysql-server, mysql-client, adminer, and their dependencies installed via apt.
...
3
votes
0
answers
191
views
How to investigate 100% CPU load for 15 minutes on random days
"I have a server that runs a website on Apache2 and is behind Cloudflare. The server's normal load, according to 'htop', is 10%. However, at random days/times, the server load spikes up to 100%, ...
3
votes
1
answer
244
views
Why is apache -X stuck in a pselec6() NULL loop?
version 2.4
pselect6(0, NULL, NULL, NULL, {tv_sec=0, tv_nsec=100000000}, NULL) = 0 (Timeout)
Repeats forever using strace. Only one httpd process enabled.
3
votes
0
answers
4k
views
Nginx converts POST Request to GET request while proxy_pass
I am having 3 Server: A, B, C. Details are:
Server A: NGINX Server, URL: https://test1.example.com
Server B: NGINX Server hosting NodeJS Web Application, URL: http://test2.example.com
Server C: ...
3
votes
0
answers
669
views
How to give OpenVPN profile files to users via the HTTPS?
I'm using Mikrotik Router as an OpenVPN server and I want to give the profile file to the users with HTTPS URL so they can import the file using URL in OpenVPN application on Android or IOS phones.
...
3
votes
0
answers
2k
views
Apache2 Let's Encrypt 404 for .well-known/acme-challenge
I am trying to issue a Lts encrypt ssl on my Apache2 AWS ECS.
I confirmed the www and non www versions of the domain are all pointed correctly to the server however I receive an error that I am not ...
3
votes
0
answers
1k
views
Apache/PHP: Internal server error. Untraceable! How is that even possible?
I have a Nextcloud server running NextCloudPi (NCP) on a Raspberry Pi 3. NCP is Raspbian/Apache2/PHP/MariaDB stack so to speak. It's run reliably for years. But recently my Nextcloud died! All it does ...
3
votes
2
answers
5k
views
Apache ProxyPass to Tomcat - how to remove context path from URL?
I have Apache conf:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName project.example.com
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
...
3
votes
0
answers
228
views
Multiple ruby on rails web apps running on one directory in Apache without modifying/adding <Directory> all the time
What I am trying to do is to create multiple ruby apps in one Apache directory and when I go to http://localhost/appname the ruby app resolves without problems. However, I want to do this dynamically ...
3
votes
0
answers
684
views
How to make apache2 connect through SOCKS5 server that I am runnning?
I have a website ran on apache2 and a SOCKS proxy server that are both hosted on the same computer. The website can be accessed publicly and my SOCKS5 server is on localhost. How do I make the ...
3
votes
0
answers
284
views
Apache2 rewrite root to various subdirectories/subsites on test server
I'm in the process of migrating from an old Debian 6 server to a nice new shiny Ubuntu 16.04 server. On our Debian server, we have the main domain but also several subdomains (each of which has a ....
3
votes
1
answer
300
views
VirtualHost/.htaccess - redirect from .com to .se/en not working/ignored (Polylang?)
I'm trying to redirect domain.com to domain.se/en, but it just won't work. It's like another rewrite or redirect is happening to domain.se/sv before I get the chance. I've tried multiple VirtualHosts ...
3
votes
0
answers
4k
views
Is it possible to proxy\tunnle TCP through Apache HTTP web server?
A customer uses Apache HTTP Webserver (AW) to redirect HTTP requests to Apache Tomcat (AT).
I need to add a special servlet to a current application being served by AT. This servlet will just start a ...