Questions tagged [apache2]

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

1,772 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
468 views

Cannot view mp4 video on Apache2.4 website

I have added an .htaccess file in document root for the specific website on the server in /var/www/website/.htaccess AddType video/mp4 .mp4 But there is no AllowOverRide directive in the 000-...
scopa's user avatar
  • 207
2 votes
0 answers
442 views

Help with permissions in Apache2 to get ODBC driver to work in browser

I'm new to LAMP environment and I have some issue with my browser viewing ODBC queries. My php code works in the console under root, but if I run the file using www-data as the user it fails the same ...
mudrock's user avatar
  • 21
2 votes
1 answer
2k views

How to give permissions to user www-data (apache+php) to access media/user/sd card slot?

I have a php script that runs from apache2 call that needs to read files in a SD card. The SD card appears mounted in /media/user/name of SD card partition. I tried to read this answer Default file ...
kaf's user avatar
  • 123
2 votes
0 answers
545 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: ...
Jurgen Bruggeman's user avatar
2 votes
0 answers
71 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 ...
Matis Petersen's user avatar
2 votes
0 answers
213 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 ...
KhoyaDev's user avatar
2 votes
0 answers
1k 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 ...
Evghenii Buainov's user avatar
2 votes
0 answers
3k views

Unable to disable a service in Ubuntu 15.10

I'm trying to disable apache2 $ sudo systemctl is-enabled apache2.service apache2.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install is-...
Mario's user avatar
  • 21
2 votes
0 answers
2k views

Apache2 crashing sometimes - gets working just after an apache2 restart - why is this happening?

I have an Ubuntu Server (Amazon AWS). I never encountered any problems with it untill it started crashing. (website doesn't load). I thought it's because of too much traffic entering the server, ...
Kar19's user avatar
  • 461
2 votes
0 answers
968 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: ...
ErocM's user avatar
  • 511
2 votes
1 answer
369 views

Is there a maximum amount of time that tail -f can reliably run?

I have noticed that when I tail -f various log files (specifically Apache access/error logs), that it ceases to actively scroll output after a certain of number of hours. I am uncertain if this is a ...
youcantexplainthat's user avatar
2 votes
1 answer
983 views

CONNECT ERROR: PHP Extensions “zlib” must be loaded

While Magento installing Extension and themes and also trying to upload, i am getting CONNECT ERROR: PHP Extensions "zlib" must be loaded. I have tried to installed zlib from there https://www....
Naresh's user avatar
  • 121
2 votes
1 answer
441 views

How To Create A Startup Script To Run Both Grunt Watch and XAMPP

I'm new to Linux and Ubuntu and I'm a web developer. I created this small script to run Grunt watch and XAMPP at the same time. #!/bin/bash sudo /opt/lampp/lampp start cd /home/mohammed/Dropbox/...
Engr.MTH's user avatar
  • 121
2 votes
0 answers
62 views

Apache Authentication

I configured the authentication on Apache2 with .htaccess and .htpasswd files. Now my problem is that when I close the browser or the browser tab, remain logged in without me being prompted for ...
Andrea Andriani's user avatar
2 votes
2 answers
2k views

error while building apache

I am using following code to build apache. apt-get install -y git \ openssl \ subversion \ autoconf \ libtool-bin \ libapr \ libapr-util \ make \ libpcre3-dev \ libpcre++-dev \ libxml2-dev \ ...
R_SS's user avatar
  • 581
2 votes
0 answers
1k views

The requested URL /munin/ was not found on this server after 14.04 upgrade

After upgrading from Ubuntu 12 to 14.04 my Munin setup stopped working. I tried following the advice given here munin 404 after upgrading to 14.04 reloaded and restartet apache, restartet munin and ...
benjamin_dk's user avatar
2 votes
1 answer
2k views

How can I Install Java JDK7, apache tomcat , eclipse , spring tool suite in my ubuntu 14.04?

could anyone tell me how to install Java JDK7 , apache tomcat , eclipse , spring tool suite in my ubuntu 14.04 ? Provide proper steps .
Prabakaran's user avatar
2 votes
2 answers
2k views

Need to install specific version of LAMP prerequisites on Ubuntu 14.04 desktop LTS

I need to install below specific version on Ubuntu Linux (desktop 64-bit 14.04 LTS) how can I do that please help PHP 5.3.28 Mysql 5.5.38 Apache 2.2.26 Any help will be highly appreciable Regards
shaji's user avatar
  • 51
2 votes
0 answers
923 views

SVN over HTTPS broken after 12.04LTS upgrade to 14.04LTS

I just upgraded from 12.04LTS to 14.04LTS. Up until the upgrade, I was running Subversion over Apache 2.2 without any issues. After the upgrade I get Access Forbidden messages when connecting from ...
Chris Campbell's user avatar
2 votes
1 answer
514 views

Apache and XAMPP

I am a beginner when it comes to linux and XAMPP, and I would like to make a website using php and mySql. The problem is that I can not figure out how to make a new apache server. When I restart ...
Adrian Mihai's user avatar
2 votes
0 answers
1k views

phpmyadmin: unable to connect to 127.0.0.1

I recently installed LAMPP on Ubuntu 14.04. When I start/restart Apache on terminal it shows [OK] but phpmyadmin says "Can't establish a connection to 127.0.0.1". I have tried solutions provided in ...
Dhaval Simaria's user avatar
2 votes
0 answers
3k views

Ensuring fail-safety of an Apache server

I have a few Wordpress websites running on Apache 2.4.7 / Ubuntu 14.04.2 LTS. It is a virtual machine running on Microsoft Azure. The websites are using a MySQL server also running on the same machine....
cccec's user avatar
  • 21
2 votes
0 answers
1k views

php5-fpm tuning - why do I have too many sleeping php-fpm processes?

So I recently went from Apache2 with mod_php to Apache2 with fastcgi and php5-fpm. (still same prefork module). But I am not sure if we have configured php5-fpm properly. We don't run a website but it ...
Petros Mastrantonas's user avatar
2 votes
0 answers
347 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 ...
spazio dati's user avatar
2 votes
0 answers
1k 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-...
MorningSleeper's user avatar
2 votes
0 answers
547 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 ...
Nic Wortel's user avatar
2 votes
1 answer
1k views

Configure Django on Ubuntu Apache subdirectory

I am running apache2 server on Ubuntu 14. Now I want to configure Apache to work with mod_wsgi to run Django on a subdirectory of a domain such as www.abc.com/lab, but I always fail to do that. I ...
onegun's user avatar
  • 121
2 votes
1 answer
863 views

Updating PHP on Ubuntu 12.04 with Parallels Plesk

I've tried a few times to update php on my server from version 5.3 to the latest 5.5 with: sudo add-apt-repository ppa:ondrej/php5 It seems to work fine but it also updates Apache which I think is ...
Matt's user avatar
  • 325
2 votes
0 answers
2k 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 ...
user3933607's user avatar
2 votes
0 answers
832 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 ...
americanknight's user avatar
2 votes
0 answers
2k views

Apache 2.4 rules, defaults and overrides for subdirectories with FilesMatch

I am having trouble understanding basic apache configuration. I want to enable a set of defaults for all files and directories on the server but then enable/disable or modify them for certain files ...
markjames's user avatar
2 votes
0 answers
133 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 ...
Niels Billen's user avatar
2 votes
1 answer
3k views

Can I debug PHP scripts running in Apache on Ubuntu?

Coming from the Microsoft world, where Visual Studio, Windows, and IIS seemingly play nice together, I can attach the Visual Studio debugger to the IIS process and debug code in play. When a web ...
barrypicker's user avatar
  • 1,213
2 votes
0 answers
127 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 ...
Jeff Simmonds's user avatar
2 votes
0 answers
234 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 ...
user306799's user avatar
2 votes
1 answer
13k views

Problem with restarting Apache2 on Ubuntu Server 14.04

I have a problem when I'm trying to restart Apache2 on my Ubuntu Server 14.04. I'm getting this error: Restarting web server apache2 [Fri May 23 18:50:56.662042 2014] [alias:warn] [pid 8635] AH00671:...
user283469's user avatar
2 votes
0 answers
3k 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 ...
Randy's user avatar
  • 21
2 votes
0 answers
7k 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 (...
user1532587's user avatar
2 votes
0 answers
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 ...
cyper's user avatar
  • 121
2 votes
1 answer
3k views

Restart of apache2 fails on Ubuntu 12.04

I also tried to add webserver localhost to this file sudo nano /etc/apache2/apache2.conf and got this output when I tried to restart apache2: ubuntu@webserver:~$ sudo service apache2 restart Syntax ...
Joe's user avatar
  • 51
2 votes
1 answer
1k views

Assistance with Apache Wildcard catchall

OS: Ubuntu 13.10 I followed this article Setting up a wildcard Apache virtual host + a wildcard DNS to set up a wildcard virtual host so I don't need to hack hosts files etc every time I set up a new ...
Rockitdev's user avatar
2 votes
1 answer
62 views

How would I tell the last time Apache served a file?

I'm trying to figure out how to tell the last time a .php file was served by Apache. I have written an application on an Ubuntu Lamp stack with Mysql & PHP. I have 1000s of files and I'm trying ...
Monty's user avatar
  • 195
2 votes
0 answers
3k 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 ...
BD Bear's user avatar
  • 450
2 votes
1 answer
133 views

how to manage ubuntu users from php

I have an Ubuntu 12.04 server machine in a local net, and I would like to log in my user through php. I have tried with pam_auth() but it wasn't configured neither activated for php. I tried a ...
sulheru's user avatar
  • 21
2 votes
0 answers
411 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 ...
FerretCannon's user avatar
2 votes
0 answers
2k views

Cannot install intermediate SSL certificate

So i've got this LAMP server running on ubuntu 12.04 with an SSL certificate installed. I've got the certificate and the .ca-bundle files in /etc/ssl/certs. The host file located in /etc/apache2/sites-...
Martijn's user avatar
  • 21
2 votes
0 answers
5k 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 ...
rachit's user avatar
  • 21
2 votes
1 answer
238 views

Dropbox link to www

I have apache installed on my Ubuntu 13.04 64-bit. I want to link a folder named html from the dropbox, to the www folder. I pressed right-click on the html folder, and clicked make link, and I cut ...
Tarek's user avatar
  • 121
2 votes
2 answers
12k 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 ...
A Nameless Wolf's user avatar

1 2
3
4 5
36