Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.

learn more… | top users | synonyms (1)

3
votes
0answers
33 views

I need a correct help for MariaDB SSL support

I have to make my MariaDB authentication a bit safer than default. I tried to set up SSL support for this, but found only an old howto here: How to enable MySQL SSL on Ubuntu I followed it, however ...
3
votes
0answers
28 views

Apache2 doesn't start. Ubuntu 14.04

I've installed apache2, everything was fine. But after restart the system it doesn't start. When I open localhost in browser I get the error: ERR_CONNECTION_REFUSED. I tried to start it by sudo ...
3
votes
0answers
122 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
3
votes
0answers
273 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
2
votes
0answers
38 views

Configuring apache2 for mediawiki

For mediawiki to work on apache2 a file /etc/apache2/conf/mediawiki is required. Where can I find it?
2
votes
0answers
22 views

Extra NIC extranet IP issues

For the question scroll down past italic font :) A quick recap: Started with FreeBSD but it was a pain to install on Hyper-V environment, then tried with CentOS, easy install but I found ...
2
votes
0answers
62 views

Error after attempting to update php lampp and reinstall lampp

I tear my hair, it's been almost one day I try to reinstall lampp but it doesn't work. It's been almost one day I try to reinstall lampp on my ubuntu 14.04 LTS in vain. I installed first lamp with ...
2
votes
0answers
208 views

Cannot get PHPSHIELD installed

I have a x64 virtual machine running the latest Plesk on PHP Version 5.6.15. I'm trying to install Phpmotion and it is giving me this message: I tried the following step, after various other tries:...
2
votes
0answers
147 views

Local domains stop working

I have several sites configured in my local machine. I use Ubuntu 12.04 for long time and had these sites working well. Only few days ago from some reason they all stopped working. When I navigate to ...
2
votes
0answers
1k views

Apache 2.4 and mod_perl 2 on Ubuntu 14.04: local configuration

I'm trying to get Apache 2.4 configured such that I can test mod_perl 2 code locally (I should note that I have little recent experience with Apache). I've installed both of them on a machine running ...
2
votes
0answers
448 views

Why does libapache2-mod-php5 get removed whenever I upgrade apache2?

I hope someone can help me figure out what is going on with my apache upgrades. For years, whenever I upgrade apache2, it tries to install apache2-mpm-itk even though I use the prefork module apache2-...
2
votes
0answers
307 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
2
votes
0answers
842 views

The apache2 configtest failed - modesecurity

I would like to create an application to monitor device network traffic and permissions. To do so I want to configure local modesecurity, using I this procedure but when I install modesecurity I get ...
2
votes
0answers
411 views

403 Forbidden message with Apache www directory inside of home

On my Ubuntu server, I've changed my /var/www directory to a subfolder inside of my home directory, and I'm now getting 403 "Forbidden" errors in my browser. I've read through a lot of similar ...
2
votes
0answers
371 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
2
votes
0answers
383 views

Error 500 on localhost/phpmyadmin

I recently installed apache2 and phpmyadmin on localhost, and everytime I try to connect to localhost/phpmyadmin I get prompted with an "Enter your username/password". I enter root as the username and ...
2
votes
0answers
180 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
2
votes
0answers
69 views

I want to create an FTP account that can oversee multiple other FTP accounts. How should I manage my permissions and users?

I rent my own virtual server. I installed Ubuntu Server 14.04 and use it as a webserver. I have hosted some websites of my own on this server, as virtual hosts. I also have a few friends who I give ...
2
votes
0answers
90 views

Ubuntu freezes for 44 seconds every 8 minutes

I am stuck on a problem and am wondering if you have any ideas. I have sites on an Ubuntu server in Sydney with RackSpace. Every 8 minutes, without fail, the server hangs for 44 seconds. The ...
2
votes
0answers
167 views

Root web folder points to /var/www

Not sure if this is the right place for this, but I have been running an Owncloud instance on my home server. I originally did it through apt-get, and ran it in the default folder (/var/www). I later ...
2
votes
0answers
2k views

How to install git server with apache authentication on Ubuntu 14

I trying to install git server on Ubuntu 14 following these steps: www.jmuras.com I made a little change when creating git.conf and symbolic link cause goes on different folders for Ubuntu 14, i did ...
2
votes
0answers
5k views

Apache not working (showing empty folders or 404)

I have updated Ubuntu to 14.04 and apache stops working. I have reinstalled apache and all dependencies with no success. When I enter localhost I see apache indexing the www/ folder but it is empty (...
2
votes
0answers
4k views

Problems with OpenSSL-Heartbleed in Ubuntu12.04LTS

This is a new question after I saw the answer at "How to patch the Heartbleed bug (CVE-2014-0160) in OpenSSL?". I have a vServer with Ubuntu 12.04LTS. Because of the Heartbleed-Bug in OpenSSL1.0.1 I ...
2
votes
0answers
282 views

Why does apache2 default to LANG=C instead of UTF8 or system default

The 10-year-old comment in /etc/apache2/envvars simply says "The locale used by some modules like mod_dav", but why can't mod_dav be fixed to also handle a better LANG setting for the rest of apache?
2
votes
0answers
1k views

error compiling suphp

Trying to install suphp, from source. But when I run: ./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid make I get this error: Error: In file ...
2
votes
0answers
361 views

Upgrade Apache 2.22 to a version that supports ECDHE

I'm trying to setup my Ubuntu 12.04 server installation to support perfect forward security. It seems that the default Apache 2.2.22 build does not support ECDHE. Any suggestions on a good way to ...
2
votes
0answers
557 views

Apache shows blank white page after 2 to 10 hours

I am using ubuntu 12.04, it has to network cards, A = internal 10.0.0.0 and B public Ip , I have only apache2 installed, after 2 to 10 hours the website shows as a blank white page on the public ...
2
votes
0answers
3k views

Private key not found

I have tried to generate server certificate for apache2 earlier.... I have noticed one error in apache server. Which means that Apache can't find the private key component of new SSL certificate. Now ...
2
votes
0answers
900 views

How to access a /media folder that has been mounted from a external hardrive?

I'm using Ubuntu 13.04 x64. I have installed Apache, php5. I have configured two sites folders in the /etc/apache2/sites-available/default One is the in /home/me/www and the other is on the external ...
2
votes
0answers
116 views

site unresponsive to https

I followed the instructions of these documentations meticulously: https://help.ubuntu.com/10.04/serverguide/certificates-and-security.html https://help.ubuntu.com/10.04/serverguide/httpd.html ...
2
votes
0answers
293 views

Setting up Postfix with Apache Virtual Hosts?

So, I was trying to setup multiple Apache Virtual Hosts. Everything was O.K, LAMP worked fine except for one and big problem: Postfix. I have two domains. And two PHP/MySQL applications running on ...
2
votes
0answers
250 views

setup gzip for svg on apache2 server in ubuntu12.10

I need to enable gzip for svg globally but not able going well. I have gone through a lot of links nothing seems to work. to keep in simple below are the steps after installing apache I placed a ...
2
votes
0answers
541 views

Trouble with local server, URL not found errors with some, but not all local sites

I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
2
votes
0answers
456 views

Why does UFW seem to slow down wordpress?

I have a speedy install of wordpress going on ubuntu 12.04. Everytime i enable the UFW firewall, things can get really slow. Sometimes fast, sometimes slow, intermittently. Logging on through ssh ...
2
votes
0answers
141 views

Server setup for multi-site development web server with multiple contractors logging in?

While I've been using Linux for many years as a desktop OS I'm still a novice at the more serious server admin stuff. Basically I'm looking for a best practices that covers: Hosting many domains (I'm ...
2
votes
0answers
715 views

How do I configure Wordpress to update automatically?

I installed apache2, mysql, php5 and phpmyadmin Now i moved my old Wordpress installtion from my htdocs Folder under Windows in my /var/www/ Folder under Ubuntu. Now, when i want to update some of ...
1
vote
0answers
27 views

How to forward specific domain queries to different dns server using dnsmasq?

I want that all http requests on the browser be directed to my local apache server but direct some https queries like facebook.com to google's dns 8.8.8.8 using dnsmasq. I've already tried adding an ...
1
vote
0answers
16 views

apache2 -V getting error messages

AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} My apache is located under /usr/sbin/, when I run /usr/sbin/apache2 -V ...
1
vote
0answers
42 views

Apache2 and Bind

I have a domain called tross.ga and I have my bind server running, but when I open the website up on my other computer, the website does not show up. How do I add a web server to a domain?
1
vote
0answers
32 views

What does 'Alias' in Virtualhost permanently modify?

I added an 'Alias line' to my Virtualhost config apache2/sites-available/domain1.conf like this: <VirtualHost *:80> ServerName www.domain1.tld DocumentRoot /www/directory1 Alias /...
1
vote
0answers
89 views

Upgraded Ubuntu to 16.04, now Wordpress updates don't work

I had my Ubuntu 15.10 system working just fine, and Wordpress updates happened over ssh. But when I upgraded Ubuntu to 16.04, the switch to php7.0 broke Wordpress updates. At first it was prompting ...
1
vote
0answers
54 views

PHP not working after updating from 5 to 7

I updated PHP 5 to PHP 7, but I noticed the old version was still configured in my Apache server, so I uninstalled it. Then everything got messy and being all this confusing as this is unless you're ...
1
vote
0answers
39 views

libapache2-mod-ruid2 broken in combination with http2

I am having the same issue in ubuntu 16.04. When i enable libapache2-mod-ruid2 i get the following error in my apache error log: [Tue May 31 10:53:07.681923 2016] [core:notice] [pid 7534] AH00051: ...
1
vote
0answers
60 views

Error on installation of apache2 and php5

This error occurs when I install the apache2 & php5 around the time that libapace2-mod-php5 is installed: root@ubuntuServerASC:/home/asc# apt-get install libapache2-mod-php5 Reading package lists....
1
vote
0answers
49 views

Anybody have a step-by-step install instructions of SSL Owncloud on Ubuntu 16.04?

Anybody have a step-by-step install instructions of SSL Owncloud on Ubuntu 16.04? I've literally been at this for days unable to install... please also notes that 16.04 is using php7 by default. ...
1
vote
0answers
42 views

Apache2 no longer restarts after 16.04 upgrade

Upgraded to 16.04 yesterday on a machine with a fairly large number of packages installed. Kudos for a generally smooth upgrade, apache2 even kept running. This morning, however, via the daily ...
1
vote
0answers
34 views

Logging into WordPress using SSH

I've got a WordPress test server installed on the local system on Ubuntu Server 14.04. I want to use SSH rather than FTP to access the wordpress site, install plugins and so on. I've followed this ...
1
vote
0answers
220 views

Apache2 and Mysql gone wrong after upgrade to 16.04

After I installed Ubuntu 16.04 I was not able anymore to access to my Mysql server from h-ttp://localhost/phpmyadmin. I tryed to uninstall and install mysql but unsuccessfully. I discovered that the ...
1
vote
0answers
97 views

Permissions to write files in the apache folder /var/www/html from PHP

I have apache running on Ubuntu and I'm trying to write (copy an image) in the following folder: /var/www/html/images I'm trying to write it from HTML/PHP <?php $uploaddir = '/var/www/html/...
1
vote
0answers
97 views

how to limit apache memory via cgroups

I'd like to limit the total memory used by user www-data in Ubuntu Server 14.04 LTS. I've read that I can do this via cgroups. This is what I've done so far: # install apt-get install cgroup-bin # ...