.htaccess not working on Apache2

I'm trying to make a url rewrite, mod_rewrite is enabled, I'm sure my .htaccess file is fine, never touched the apache2.conf, my httpd.conf is empty and at sites-available my default file was...

Complete removal of apache2 under linux

I have problem with removing apache2 under ubuntu. What I tried is: sudo apt-get remove apache2 sudo apt-get purge apache2 unfortunatelly after any of upper commands, there are still files: sudo...

Error on apache2 restart using mod_python: "undefined symbol: sincos"

I've tried installing mod_pyton 3.5.0 on my server, running apace2 and get the following error message when trying to restart apache: sudo /etc/init.d/apache2 restartapache2: Syntax error on line...

Unable to install httpd on DigitalOcean

I tried running apt-get install httpd to install the Apache HTTP Server, but I got the following error: Package httpd is a virtual package provided by: yaws 1.94-1 webfs 1.21+ds1-8.1 ...

Wordpress pretty permalinks fail over SSL - 404 File does not exist

I am unable to get wordpress pretty permalinks to work on an Ubuntu server with Apache, Django and SSL. The configuration works fine if I disable SSL, but fails with it enabled. With SSL enabled,...

Android linux deploy (localhost LAMP server configuration)

Hello my fellow humans! I have two rooted android phones, each running a chroot environment using the "Linux Deploy" app (HTC desire 510 running Kali Linux and vodafone smart 4 mini running...

Can't install libapache2-mod-passenger for Apache 2.4?

I'm currently using https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/apache/oss/trusty/install_passenger.html to install Passenger on Ubuntu 12.04 running Apache...

Apache not load php7 after pthreads install

I'm having issues trying to install php7 + pthreads + apache2 on ubuntu server 16.04. I have success on debian 8, but using php 5.6.24 Below the script that I used to install on ubuntu (same as to...

Why would apache refuse connection to localhost 127.0.0.1 on OSX?

When trying to access sites on my localhost the connection is refused. Two days ago the set up was working without issues with multiple virtual hosts configured. I'm not aware of any changes that...

"undefined symbol: mg_free_type" when installing mod_perl 2.0.10 with Apache 2.4.26 and Perl 5.10.1

I'm trying to install mod_perl 2.0.10 for use with a new Apache 2.4 instance. I've got Apache 2.4.26 up and running by itself, but I also need mod_perl installed for a couple of modules to...

OMD vs Ubuntu install issues

When installing OMD 1.3 on Ubuntu, I get the following output dpkg: dependency problems prevent configuration of omd-1.31.20160708: omd-1.31.20160708 depends on libapache2-mod-proxy-html;...

MacOS Sierra: apachectl is using configuration from /usr/local/etc/apache2/2.4 instead of /etc/apache2/

I have all my configuration files and virtual hosts defined in /etc/apache2/. However, when i run apachectl -V i get the following output: Server version: Apache/2.4.26 (Unix) Server built: Jul ...

Change Apache MPM from prefork to worker

I need to change MPM prefork module to worker but it's not working on my Debian 9.1. When I enable worker module, PHP is not working. I can't enable php7.0 module back. Here is the output from...

install php5.6 in debian9

i tried to install php5.6 in the debian9. i am not able to install i am getting below error The following packages have unmet dependencies: libapache2-mod-php5 : Depends: libdb5.1 but it is not...

Install php5.6 in Debian 9

How to install php5.6 in the Debian 9 The following packages have unmet dependencies: libapache2-mod-php5 : Depends: libdb5.1 but it is not installable Depends: libonig2 (>= 5.2.0) but it is not...

Apache Server development environment

I´m trying to explain he problem I have. I usually use XAMPP or MAMP for this but I want to use the Apache Server that comes with OS X High Sierra by default installed. So, OS X has apache server...

Virtual Hosts on Mac directing to ServerRoot

I was mainly using XAMPP for my local development needs, but I felt it time to take the crutches off and work from the command line interface. The issue I am running into is that my virtual hosts...

Failing to install libapache2-mod-php5 on debian

when I try to install libapache2-mod-php5 on debian(Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686 GNU/Linux) I get the following output: [email protected]:~# apt-get install...

Apache local virtual host is listed but doesn't work

I need help configuring my website to be accessed in the local server as a virtual directory in Apache. I am trying to use the port 8050, and when i open localhost:8050 , it shows: This site...

AH00534: apache2: Configuration error: No MPM loaded

I'm running Apache/2.4.29 (Ubuntu) Am facing the below error. # apache2ctl -t -f /etc/apache2/sites-available/example.com.conf AH00534: apache2: Configuration error: No MPM loaded. Action '-t -f...

prefork.c is not shown in httpd -l

I have CentOS 7 and the version of my apache is 2.4.6. I typed this command: httpd -l This is the answer: Compiled in modules: core.c mod_so.c http_core.c Therefore, I cannot see the...

Cakephp 3.7 and PHP 7.2 resulting in error 500

I try to upgrade from CakePHP3.6 to 3.7 and from PHP5.6 to 7.2. The site works with the old settings, upgrading the Cakephp to 3.7 on PHP5.6 is no problem, but when I activate PHP7.2 the cakephp...

pg_query(): Query failed: SSL SYSCALL error: EOF detected in php script

After reading several posts (I read an issue with OpenSSL but did not understand how to solve this error), I have not found any solutions to this issue. I understand that it is a connection...

Python application on Apache Server

I am trying to host a Python application on Apache HTTPD server but been struggling for last 2 weeks. I must have followed all the instruction on Google & here in Stackoverflow, but I am not able...

/etc/apache2/modules/mod_mpm_prefork.so not found in docker image

When starting apache I get an error of AH00534: apache2: Configuration error: No MPM loaded So I added the module: LoadModule mpm_prefork_module...

CPU and RAM full when admin create a post

My wordpress site has a traffic 3 million users / month, everything was fine until our admin create a post / page. When our admin create post / page, our CPU and RAM usage increase until 100% and...

Catalina apache 2.4.41 http://localhost/~username The requested URL was not found on this server

% whoami tim.daley % % apachectl -V Server version: Apache/2.4.41 (Unix) Server built: Oct 1 2019 10:31:38 Server's Module Magic Number: 20120211:88 Server loaded: APR 1.7.0, APR-UTIL...

Compiling Apache 2.4 mod_perl-2.0.11

I have a environment with Apache 2.4.43 compiled manually by the following config: "./configure" \ "--enable-so" \ "--enable-deflate" \ "--enable-cache" \ "--enable-mem-cache" \ "--enable-rewrite"...

Too many '/usr/sbin/apache2 -k start' processes

I'm facing a problem with apache processes (/usr/sbin/apache2 -k start) visible in HTOP. enter image description here After every refresh or connection from a client the number of processes...

Can not access PHP-FPM site

Using OpenSUSE v15.2, Apache. Installed PHP-FPM with zypper. Followed instructions on this site: https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration I restarted Apache and...