Questions tagged [apache2.4]

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

119 questions
34
votes
2 answers

403 Forbidden after changing DocumentRoot directory Apache 2.4.6

So I just installed a virtual machine with Ubuntu 13.10. I wanted to play with apache 2.4.6 before I update my ubuntu 12.04 servers. I want my document root to be in my home folder and so I changed it in the…
evaldez
  • 441
24
votes
5 answers

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was not available on http://bow.loc and available on…
7
votes
2 answers

Install wc3 markup validator locally

How to install and use w3c markup validator on Ubuntu 13.10 locally? I know I can install it by installing following packages: sudo apt-get install libapache2-mod-perl2 sudo apt-get install w3c-markup-validator but how do I configure it to use…
Rafal
  • 1,837
7
votes
3 answers

mod_rewrite use in Apache 2.4

Okay, so there are plenty of threads on how to use mod_rewrite, but I find it seems to work a bit differently in Apache 2.4. I tried this: RewriteEngine On RewriteBase…
Tjita1
  • 493
7
votes
3 answers

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 strange is that if I put in the known location of…
6
votes
1 answer

apache2-mpm-worker missing in Ubuntu 16.04

I would like to install apache2-mpm-worker on Ubuntu 16.04, but it looks that this package is not avalaible for ubuntu 16.04. Do you have somebody any information why this important package is missing in xenial repository?
6
votes
1 answer

Why Apache2 does not write logs?

Because I cannot find where Apache saves log files I tried even to reinstall LAMP, but no luck. Ubunty 14.04, Apache 2.4, php 7.0.4, mysql 5.(5) If I ssh to server, should I be able to get a path of this?: $ echo $APACHE_LOG_PATH I am getting a…
6
votes
1 answer

How to enable http2 on 16.04

I've been waiting and waiting for the new release of Ubuntu so I could finally get a more up to date version of apache for http2. FINALLY upgraded (after stupid issues with the updater) and I don't see the http2 module anywhere. How do I enable…
6
votes
1 answer

how to check package version before install

Im trying to install Apache 2.4.12 or apache2.4 at least. I see some listings for apache2.2 in the apt-cache, but I don't see apache2.4. How can I verify the actually version that sudo apt-get install apache2 will install, without having to…
5
votes
2 answers

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 apt-get install -y php7.1-cli sudo apt-get install…
IgorAlves
  • 1,162
5
votes
2 answers

Apache 2.4.10 giving 403 Forbidden issue on Ubuntu 14.04

I am setting up PHP environment. Now when I have started to add my sites from windows/xampp backup (mentioning so just in case any path related issue) I have created new project (netbeans) and created test inedx.php and that I am able to access.…
4
votes
2 answers

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?
simon
  • 155
  • 1
  • 1
  • 7
4
votes
1 answer

Letsencrypt: Expected but saw

When trying to install new letsencrypt certificates on my raspberry-pi apache 2.4 webserver using sudo certbot --apache I get the following error: Error while running apache2ctl configtest. Action 'configtest' failed. The Apache error log may have…
4
votes
0 answers

Right permissions to .git directory on server

I am working on deployment of application on ubuntu trusty server. I am using git ssh and web-hooks(deploy-keys) to deploy the code on server after its pushed to the master from local repository,reference here. To be able to call the script on the…
KillABug
  • 151
4
votes
1 answer

How do I get man2html pages to show in the browser?

I am following the advice in What is the best way to learn how to use Ubuntu with terminal? Specifically at how to view the man pages in a web browser. I followed the advice in How do I make man pages open in a web browser? and used man -H[browser]…
1
2 3 4 5 6 7 8