Questions tagged [apache2.4]

Open-source HTTP server. This version was first released in Ubuntu as of 13.10

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

create a sym link from a folder content to another directory

I have a Ubuntu server running in a virtualized environment for my web development activities. The host OS is sharing with Ubuntu a folder with this path: /media/psf/Sites and this folder Sites ...
0
votes
1answer
31 views

Custom ports broke apache

I wanted Apache (v2.4.41) to listen to port 802 and 44302 instead of 80 and 443 on my Ubuntu (v20.04) server so I did the following: Edited the port numbers in /etc/apache2/ports.conf. Now the file ...
0
votes
0answers
22 views

How can a directory have muliple state of contents?

I am hosting a web application on a Ubuntu 18.04.2 with Apache/2.4.29 and notice sometimes having an ubuntu default web page. When I ssh into my machine and list the content of that directory cd /var/...
0
votes
0answers
45 views

Apache Server does not server any websites other than the default one

Hi I'm new to Apache and trying to learn how to host multiple websites. I've 2 domains www.daily-updates.ga & www.prudent-solutions.co.in and a VPS server with ubuntu 18.04 and Apache2 installed. ...
0
votes
0answers
19 views

subdomain in apache 2.4 redirect me to main domain

Hello i was trying to add a subdomain my sub.domain.com.conf: <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify ...
0
votes
0answers
414 views

Permissions issues on Ubuntu 16.04

I am using Ubuntu 16.04 desktop, and I am attempting to install some composer web projects. By default, when you run composer create-project it installs a 'web' directory inside of your project folder ...
1
vote
0answers
1k views

How to disable TLS 1.0 and 1.1 and enable only 1.2 in Apache 2.4.10, OpenSSL 1.0.2k fips, RHEL 7

I tried to enable TLS 1.2 in /conf/extra/httpd-ssl.conf in Apache 2.4.10 as below combinations. SSLProtocol -all +TLSv1.2 After restarting the httpd service, I am getting the error illegal Protocol ...
0
votes
1answer
43 views

Ubuntu 16.04 apache conf file issue

Today I found that my existing apache.conf file rename to apache.conf.dpkg-old and generate a new apache.conf file in /etc/apache folder. what is the reason?
0
votes
0answers
152 views

Why is Apache being removed when I try to install curl?

I'm trying to install cURL and then php-curl on Ubuntu 18.04 but it removes Apache when I do this. $ sudo apt install libcurl4 curl Reading package lists... Done Building dependency tree Reading ...
0
votes
0answers
8 views

Apache2.4 re-installation error

I am trying to reinstall apache2.4 in ubuntu 18.04. I followed steps from here Apache2 installation error. I am getting issues like for me it looks like apache2.conf is missing here. Any guide will be ...
0
votes
1answer
53 views

Maping URL with location on /var/www/html/app inexistent

I'm trying to block this URL on apache app/index.php/admin/authentication/sa/login with below text added on httpd.conf file: <Directory "/var/www/html/"> AllowOverride none ...
0
votes
0answers
23 views

Block URL on http.conf apache does'nt work [duplicate]

I'm trying to block admin URL outside of internal network on an application deployed on Linux/Apache. I tried with below text on /etc/httpd/conf/httpd.conf file of apache configuration and it worked. &...
-4
votes
1answer
55 views

Problem in Apache installation

Before Apache worked normally, but after uninstall and install I have this.
1
vote
1answer
1k views

How to check SSL is enabled for Apache2 or Not

Twiki is running locally on my web server apache2. I used a2enmod ssl to enable SSL (Secure Socket Layer). Now i want to see SSL is enabled or not ? Or i need more configurations to achieve task (i-e) ...
0
votes
1answer
35 views

Apache on 18.04 LTS | Change where web files are stored and served from?

I'm making a move from WAMP to LAMP, and run a custom PHP application that uploads media files to users on a LAN. I plan to have two volumes in my sever. One will be the Ubuntu system and apps drive, ...
0
votes
1answer
81 views

Which php.ini using FPM?

I have an newish Ubuntu 16.04 server that I am installing a Symfony based application on. It says date.timezone needs to be set. Fair enough, I've done that before. Php is configured as FPM, so it ...
8
votes
3answers
4k views

apache won't index folder from another mount

I'm trying to enable directory listing for a folder outside the web root, from a different local ext4 mount that uses Basic Authentication, but I'm getting an empty list and no logged errors. What's ...
-1
votes
2answers
4k views

\n and \r\n not escapping when they are printed in the browser

I am not sure if this is an Ubuntu, Apache or PHP issue. The following basic scripts do not render a new line in my Firefox browser. echo "this is not \n creating a new line"; echo "this is not \r\n ...
0
votes
0answers
229 views

Apache 2.4 randomly return wrong certificate

I've a server with ~50 different Virtual Hosts, ~10 with SSL enabled. Everything worked perfectly until last week, when I added another host with SSL, it is configured exactly like the other hosts, ...
1
vote
1answer
2k views

Pretty URL's not working with HTTPS apache server

I am trying to set up an Apache server on Ubuntu 18.04, I've managed to install everything and enabled HTTPS. The problem is when I enter pretty URL's I get this message Not Found The requested URL /...
1
vote
0answers
55 views

Proxypass HTTPS error subdomain

Hi I run this code and it almost work :) <IfModule mod_ssl.c> <VirtualHost *:443> ProxyPreserveHost On SSLProxyEngine on ProxyPass "/" "http://192.168.0.10/webmail/" ProxyPassReverse "...
1
vote
2answers
1k views

Apache 2.4.37 mod_deflate not works

I've installed Apache 2.4.37 via ppa:ondrej/apache2 and can't make mod_deflate (gzip compression) works. I'm using Ubuntu 18.04 server. mod_deflate is enabled in Apache: sudo apachectl -t -D ...
1
vote
1answer
772 views

Can't access my website after server release-upgrade to 18.04 from 16.04 (droplet)

When I enter my domain i get: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [...
0
votes
1answer
377 views

SSL issues after migration to Apache 2.4.37 from 2.4.7 using ppa:ondrej/apache2

I have an annoying issue after migrating to Apache 2.4.37 using ppa:ondrej/apache2. After the change I've got a lot of ERR_SSL_PROTOCOL_ERROR while accessing my sites. The effect is that when having ...
3
votes
1answer
90 views

Configuring zz_overrides.ini in Apache versus in Nginx

If you work with Nginx and you want to override your PHP settings from an external file that won't get deleted or changed in updates, you can create a /etc/php/*/fpm/zz_overrides.ini and put your PHP ...
0
votes
1answer
44 views

Apache reverts PHP version after inactivity

I am using a2dismod en a2enmod to switch PHP versions. Because I work on a lot of projects that require different PHP versions. But now, whenever I change from 7.0 to 7.2 it changes back after a ...
1
vote
2answers
7k views

Apache Custom error message 403

i wanna to create a custom error message in Apache conf for the Error message 403 Forbidden You don't have permission to access / on this server to appear like 404 Not Found The requested URL / was ...
0
votes
0answers
250 views

htaccess bad bot in access.log

I added this in my htaccess: RewriteEngine On RewriteBase / RewriteCond %{HTTP_USER_AGENT} ^SemrushBot [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Yandex [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^rogerbot ...
3
votes
2answers
11k views

How can I install xmlwriter?

I've started using a library that requires xmlwriter PHP extension, and it seems like it is not installed on my server. How can I install it? I tried this: sudo yum install libxml2 but the result ...
0
votes
0answers
793 views

^$ Home page rewrite in htaccess not working, ubuntu 14.04

I am running ubuntu 14.04 with apache 2.4.x. I created virtual host mydomain.local. All my website works perfectly on local machine except home page i.e. http://mydomain.local/ I can run anything ...
1
vote
1answer
4k views

The requested URL was not found on ubuntu linode 16.04 lts

I have hosted a codeigniter website on linode 2gb ubuntu 16.04 lts with apache2+ php7.0 etc. Home page works fine but when I try to open any other link from my site it shows the error: The requested ...
1
vote
1answer
98 views

PerlOutputFilterHandler module in Apache 2.4

While upgrading from Apache2.2 to Apache2.4 I noticed an error in my apachectl configtest: Invalid command 'PerlOutputFilterHandler', perhaps misspelled or defined by a module not included in the ...
-2
votes
1answer
334 views

apache2 Service is not able to start

Apache2 is not able to restart because the control process exited with error code. <VirtualHost *:80> serveradmin Rabie@Laassal docummenRoot "/var/www/html/nextcloud/" serverName 192.168.159....
5
votes
2answers
12k views

How to install php7.1 on Ubuntu16.04 without Apache?

Installing php7.1 using this command: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.1 #Modules sudo ...
2
votes
1answer
1k views

Enabling server side includes (SSI) in Ubuntu 16.04 is not working

I have an html page with SSI and I was trying for enabling SSI in my apache (V 2.4.18) running on Ubuntu 16.04. As per the offical documentation, I tried editing /etc/apache2/apache2.conf and now ...
1
vote
0answers
1k views

ServerName directive in apache2.conf?

If you have multiple VirtualHost enabled, why do you need to add a ServerName directive in apache2.conf if you already has it in 000-default.conf?
0
votes
0answers
734 views

Apache 24 virtual host with document root on external drive

Setup Ubuntu 16.04 on 256 gb ssd Windows 10 on 180 gb ssd Workspace on 1TB internal hdd on a machine. I choose Ubuntu or Windows during startup from the bios. Workspace has a www folder where all ...
0
votes
1answer
2k views

I don't understand why I'm getting a permission error [duplicate]

Apache/2.4.18 (Ubuntu) Ubuntu 16.04 I tested the initial configuration, pointed my browser to the server, and got the normal ubunutu page. Works fine. The 000-default.conf is: <VirtualHost *:80&...
2
votes
0answers
2k views

How to install php7-fpm with Apache on Ubuntu 16.04 with custom .ini and chrooted vhosts?

After several security concerns, I decided to completely redo my server configuration on shared hosting because I need some vhosts to be able to use functions like exec and some running Wordpress to ...
4
votes
2answers
6k views

Error 403 Forbidden |localhost | in Ubuntu i do not come enter to index.php

I have this project in PHP. The whole project is fine except when I browse to index.php on localhost, it me sends this error?
2
votes
1answer
8k views

Apache2: client denied by server configuration: /www

I've seen a number of similar questions, but none for the /www folder - as such, none of the related questions seem to fix my problem. When I try to access my website via localhost I get a 403 error, ...
2
votes
1answer
4k views

Where is rotatelogs on Ubuntu 16.04? (Upgrade Apache 2.2 to Apache 2.4)

What is the correct path for rotatelogs on Apache 2.4 on Ubuntu 16.04? On new Ubuntu 16.04 system installed Apache 2.4, however when using the same config as previous Ubuntu 12 with Apache 2.2 the ...
2
votes
1answer
2k views

apache2 virtualhost .htaccess file doesnt seem to work

I cant get my .htaccess file to work correctly. In my apache2.conf file I have the following. <Directory /home/felix/mysite> Options Indexes FollowSymLinks AllowOverride All ...
3
votes
1answer
7k views

Apache Virtual Hosts

I am looking to create links on my website like support.mydomain.com or management.mydomain.com rather than mydomain.com/support etc. I have heard you can do it with apache virtual hosts but I am not ...
0
votes
0answers
532 views

Phpldapadmin not working with php

For some reason my phpldapadmin doesn't want to work with my website and it says "If you are seeing this in your browser, PHP is not installed on your web server!!!" Which is not true as if the info....
-1
votes
1answer
190 views

How can apache access a file in a directory which has no execute permission? [duplicate]

I am trying to open an html file which is inside a directory that has no execute permission for apache group. Therefore when I try to access the file from apache it displays the error "You don't have ...
2
votes
1answer
9k views

Cannot find mpm-itk after installing

I have installed mpm_itk using apt-get install apache2-mpm-itk But after installing, when I try to enable using a2enmod mpm_itk it says module is not found At first I was using apache2.4.10, I ...
0
votes
1answer
962 views

Webmin and Virtualmin problems

First I just want to say I am fairly new to linux and even newer to setting up a server, so please bear with me. Ok so first I have a (small) issue while installing webmin which is here Error ...
1
vote
1answer
5k views

ERROR: Module mpm_itk does not exist!

I am installing a certain integrated library management system named: Koha. I get stuck at this error: ERROR: Module mpm_itk does not exist! Installed with: sudo apt-get install apache2 The output ...
2
votes
0answers
253 views

VirtualBox Ubuntu server guest: serving of symfony app ends up with: attempt denied by server configuration

I'm running Ubuntu Server using VirtualBox to develop Symfony app. I've set up shared folder, changed apache default folder /var/www/html to /media/sf_apache_shared which is shared folder, for ...