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)
1,804
questions
0
votes
0
answers
24
views
Temporarily redirecting my https website to another host [closed]
Okay so my server is down on the colo. A few days before the hardware fix happens. You get what you pay for, so whatever.
I want to temporarily redirect my website to another locale. Fine changed the ...
0
votes
0
answers
43
views
Apache with Perl FastCGI - Internal Server Error
I can't get Apache and FastCGI for Perl running properly on Debian 12.
What I have done so far:
apt-get install libapache2-mod-fcgid
a2enmod fcgid
My Vhost file looks like this:
<VirtualHost *:443&...
0
votes
0
answers
19
views
One project (Django 3 with mod_wsgi installed within py 3.8 venv) works but another (Django 5 with mod_wsgi installed within py 3.12) fails
Issue: Internal Server Error with Django and mod_wsgi on Ubuntu Server
Setup:
Ubuntu 20.04
Python 3.8 for existing project
Python 3.12.4 for new project
Apache
mod_wsgi installed in respective ...
0
votes
0
answers
29
views
Blocking bots with apache htaccess
I am trying to block bots (mostly "AI" bots).
I have this in my .htaccess file.
<IfModule mod_rewrite.c>
...
0
votes
1
answer
38
views
DNS configuration for Apache multisite
I have a friend for whom I set up a website on my publicly-accessible server; however, I'm having a lot of trouble getting DNS to work properly.
I added a file/entry for the new site in /etc/apache2/...
0
votes
0
answers
38
views
Apache2 default won't load on other device
Issue: Accessing Apache2 on VMware Workstation from a Different System
Steps I've Taken:
Started Apache2 on the VM:
sudo su
service apache2 start
Verified Apache2 is Running:
When I open the page ...
0
votes
0
answers
26
views
Invalid Command 'PerlOptions', perhaps misspelled or defined by a module not included in the server configuration
I have very low experience with Linux, and I'm trying to install OCS Inventory Server on an Devian server.
But when I created a symlink of a file that requires ModPerl to run properly, and restart the ...
0
votes
1
answer
75
views
How to fix Apache PHP rejecting post requests which are over 40MBs
My php Laravel API when put behind apache2 (with ssl) when making a post request which is roughly 40Mbs in size, it gives a 500 internal error with following log
[Wed Jul 10 21:08:51.397912 2024] [...
0
votes
1
answer
74
views
Understanding mod_fastcgi apache2 module
I'm working in a Ubuntu 22.04.3 LTS
I'm creating my own apache "arquitecture". I called it "myApache". The idea is that every user can run its own apache listening in its UID as ...
0
votes
0
answers
27
views
Reverse proxy to container is looking for static files outside of the container
I have a website running through a docker container, and I've created a VirtualHost in the host's that is doing a reverse proxy to it, it looks something like this:
<VirtualHost *:80>
...
0
votes
1
answer
102
views
Apache HTTP server under DDoS attack [closed]
One of the servers has been under attack for four weeks. First the attack was weak, but now it is aggressive after I started fighting him.
It consumes CPU resources to keep starting the Apache server ...
0
votes
0
answers
39
views
.htaccess - Apache rewrite rules, some work, some don't
this Rewrite rule is forwarding to url: https://www.fliesen-alfers.de/fliesennivelliersysteme/verlegefix-keilsystem/basis-sets/1-5-mm-basis-set/?number=102 as expected:
RewriteCond %{QUERY_STRING} (^|&...
0
votes
1
answer
53
views
if statement in htaccess
I'm using the following .htaccess to allow access to my website by IP address:
<Limit GET POST>
Require all denied
Require ip x.x.x.x
Require ip y.y.y.y
</Limit>
I was wondering if it ...
0
votes
0
answers
37
views
apache mod_php vs php_fpm - huge difference in load time, but only for Wordpress website
I have a Wordpress website, it was set up as nginx proxy apache mod_php.
Load time was over 2.5 seconds, so I tried several ways to speed it up.
Finally I tried php_fpm and voila - the website loaded ...
1
vote
1
answer
41
views
Can I use same subdomain to serve both ColudFront, S3 and Apache?
I'm trying to setting up a application on S3 and CloudFront and the frontend application is using Flutter.
Frontend
I have managed to deployed S3 and CloudFront successfully.
Let's say the domain dev....