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)

1
vote
0answers
39 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 # ...
0
votes
0answers
37 views

Can not login to PhpMyAdmin

I installed xampp server in my Ubuntu machine. The phpmyadmin application was working well and fine on apache2 server, I tried changing the permission of /var folder one day, which I messed up, as a ...
1
vote
1answer
74 views

Installing obsolete libapache-mod-php4

I have Ubuntu 15 LTS. Unfortunately, I need to install libapache2-mod-php4 to support old client website. I've managed to install php4 manually, from sources, but I can't find a way to install that ...
0
votes
0answers
16 views

How Can i fix these Errors to install vichan

I need some help Installing an Image board but i have a few problems installing it. See what i did was i "git" the image board files onto my home directory and copied the files over to /var/www/html/ ...
0
votes
1answer
45 views

why PHP 403 forbidden after fresh installation on ubuntu 15.10?

After I installed apache2 and ran it, the default HTML page of apache2 works fine. Then I installed PHP 5.6 and restarted apache2 and created PHP file in /var/www/html called info.php and put <?php ...
0
votes
1answer
27 views

What does squid-cgi package do?

I have installed squid-cgi package. What next? No any references to cachamgr.cgi appeared in Apache configs. File /usr/lib/cgi-bin/cachemgr.cgi appeared in the system. Should I refer it manually in ...
0
votes
1answer
105 views

Cannot access Apache start page via “localhost” in web browser

I had the LAMP stack installed on my Ubuntu machine. Everything was working fine. I had Apache, mySql, phpmyadmin, etc. I'm learning web development, and a friend suggested I try out Drupal. So, I ...
0
votes
0answers
24 views

Why do my development websites in /var/www not load?

I configured an apache2 server on a virtualbox with ubuntu. This always worked but since yesterday my websites suddenly won't load annymore. I think it has something to do with our new network router ...
-2
votes
1answer
33 views

Apache status question.

Anyone can explain this lines: 120.132.50.135 127.0.1.1:80 GET http://some domain/ HTTP/1.1 is it normal, or my server is hacked?
1
vote
2answers
25 views

setting up wordpress on ubuntu, directory permissions

I have git cloned my wordpress repo into /home/me/alliance I have edited /etc/apache2/sites-enabled/000-default.conf To contain ServerAdmin webmaster@localhost #DocumentRoot /var/www/html ...
0
votes
0answers
30 views

Apache as Forward/Backwards Proxy with HTTPS

I've been researching how to do this for the past couple days and am still having no luck! My set up is pretty straight forward 2ndWEBSERVER <-> 1stWEBSERVER <-> INTERNET So Basically I am ...
0
votes
0answers
16 views

Proxy Error With Browsers

I am having a myriad of errors with my proxy settings. I am running 14.04 and can't quite figure things out. Here are the symptoms When Network Proxy is set to "automatic." Unable to connect to any ...
0
votes
0answers
42 views

Moving project over from XAMPP (windows) to LAMP (linux)

I have a project that I was building in xampp in windows environment which was working fine. However I am switching to using ubuntu now so have copied the files for this project over to LAMP in my ...
0
votes
0answers
28 views

Download my videos from my server?

right now I have a Ubuntu server with Amazon Web Services and I can upload mp4s, jpegs, and pdfs to it from my Android device. I save them into folders and update their location onto my database. Now ...
0
votes
2answers
48 views

Problem while installing apache2

I wanted to install apache and mod_wsgi properly. When I tried to install apache2 using sudo apt-get install apache2 I get this Reading package lists... Done Building dependency tree ...
0
votes
1answer
28 views

apache2/modules directory missing

Somehow my /usr/lib/apache2/modules/ folder is missing is there a package or something I can get the modules from? I've tried purging and reinstalling apache and it doesn't seem to do anything.
1
vote
1answer
50 views

backuppc has missing menu items after installation

Problem: backuppc is missing essential menu items in its web interface. Items "Edit Hosts", "Edit Config" etc are missing. backuppc is installed on Unbuntu 14.04.4 LTS. I have even completely removed ...
0
votes
0answers
44 views

how to setup ssl

Im following a tutorial for setting up ssl on my server. I've got everything all set but now I'm having trouble It says: Update your webserver config to use https <VirtualHost _default_:443> ...
0
votes
1answer
73 views

Home directory for the www-data user?

As I understand the www-data user is the user that owns the apache service. From the /etc/passwd file I have: www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin So the home dir for www-data is: ...
0
votes
0answers
20 views

Using a mounted partition for document root

I recently decided to upgrade to Ubuntu 16.04, being that the Mean Stack dependencies haven't quite caught up yet I decided to switch back to the good ol' days of using a Lamp Server. So as the Title ...
1
vote
0answers
96 views

Screen tears with MSI GE72 2QD Apache Pro dual booting Linux with windows 10

I have been losing my mind and sleep for the past 4 days. I used Ubuntu to run linux alongside windows. (That was a huge pain in the ass.) Now I am getting a bunch of screen tears. I have tried loads ...
0
votes
1answer
36 views

How to setup Ampache

How exactly do you configure Ampache to run on a clean Apache install? I am trying to manually configure this because sudo apt-get install ampache fails to do so properly.
-1
votes
1answer
150 views

Error 403 Don't have permission to access on this server

Can someone please help, my website is runing at www.mysite.com and i wan't to add /demo, so a whole url would be www.mysite.com/demo. Site is running from /var/www/html. I created new folder ...
1
vote
1answer
80 views

How do I give myself access to /var/www to create and edit files and folders in it without 'sudo'?

I have a folder in my web server /var/www. I need to add files to the folder, but the system will not let me unless I use sudo. Is it possible to give myself access to modify the folder and its ...
0
votes
0answers
100 views

Apache 2 Error “Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.”

I read in different places here around that MPM Worker is better performant than Prefork so I tried to change my MPM Prefork to MPM Worker following this answer and I got this error during sudo ...
0
votes
1answer
47 views

VirtualBox apache

I have created a simple Ubuntu Server on VirtualBox. I wanted to run Apache server but I can't acces the website from any other device. I have checked that Apache is listening on port 80 using ...
1
vote
1answer
21 views

Apache server in Internet and local network, redirection to another ubuntu PC

I have 2 Ubuntu PCs in my local network A main server: inet addr:128.125.100.124 Bcast:128.125.100.127 Mask:255.255.255.240 which address is public in the Internet and I can get to my website ...
0
votes
1answer
55 views

AH00112: Warning: DocumentRoot [/home/rails/testapp/public] does not exist

I followed this link https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-apache-on-ubuntu-14-04 to install ruby on rails with passenger on ubuntu 14.04 and I ...
0
votes
1answer
75 views

Why apache is unable to write with permission set as 2775?

I have installed LAMP as: sudo apt-get update sudo apt-get upgrade sudo apt-get install lamp-server^ If I understand correctly, apache server will be running with sudo privileges? If yes, for a ...
0
votes
1answer
34 views

Need help troubleshooting ubuntu apache internet connectivity

I'm not sure where to start with this one. (Warning, this could be a virtualbox question and not an Ubuntu question) I have ubuntu 14.04.02_64 running in virtual box 5.0.16r on a windows 10 machine. ...
0
votes
2answers
38 views

Setting up port based vhosts on 15.04

I've bounced back and forth across the web searching for answers but with no luck. I'm trying to set up port based vhosts and I can get the default :80 port to work, but my other vhosts both return ...
0
votes
0answers
34 views

Ubuntu: Set up Apache2 Server in Netbeans 8.1

So I added downloaded apache servers and installed in /usr/share/Apache2 (I believe this was coming when I downloaded PHP) If I open localhost I get the Apache site so I think Apache is working The I ...
1
vote
1answer
54 views

Ubuntu Core snap writable location [closed]

I am new to snappy. For learning purposes I'm trying to make an apache2 snap. Created the snap with snapcraft and installed it on Ubuntu core. The problem I am facing is that Apache is trying to ...
-2
votes
1answer
189 views

Why the PHPMyAdmin stopped working after I upgrade PHP to version 7.0.4 on my machine running on 64-bit Ubuntu 14.04 LTS?

I'm using a machine that runs on 64-bit Ubuntu 14.04 LTS. Today, I upgraded from PHP 5.5.32 to PHP 7.0.4. After I made an upgrade my Apahce HTTP Server and PHPMyAdmin stopped working. I made ...
-1
votes
1answer
225 views

How to upgrade Apache HTTP Server from version 2.4.16 to the latest stable version i.e. 2.4.18 on 64-bit Ubuntu 14.04 LTS? [duplicate]

I'm basically a PHP Developer by profession and I'm using LAMP on my machine. I'm using 64-bit Ubuntu 14.04 LTS on my machine. I'm using Apache HTTP Server on my machine. To check it's version I ...
1
vote
1answer
2k views

404 Not Found - can't access login page after upgrade to ownCloud 9

I have tried both the package manager upgrade and a manual upgrade to move to the latest ownCloud version (9). Both methods end up with the same result; the page http://localhost/owncloud no longer ...
2
votes
1answer
97 views

How to rebuild/reconfigure the HTTP Apache server after upgrading to PHP 7.0.* on 64-bit Ubuntu 14.04 LTS?

Previously I was using PHP 5.5.32 on my system, everything was working fine. All the PHP programs and projects were running successfully. Today, I upgraded to PHP 7.0.4 and the trouble starts for me. ...
0
votes
1answer
38 views

Linux Ubuntu server running in VMWare: Make url public and also open a certain port?

I just installed the latest version of Ubuntu Server in VMWare. My ultimate goal is to run a service which will use websockets to communicate with an Android app. I installed Apache (which I don't ...
0
votes
0answers
18 views

apache2 stops responding

I have an apache2 web server running on ubuntu '12.04.3'. It's hosted on a private network which you can only log onto it through our VPN. It is however hosting a public site. (2 ips, on private, one ...
0
votes
1answer
379 views

How to make apache2 serve php-based projects with php7 on Ubuntu 16.04?

Ubuntu 16.04 adds libapache2-mod-php7.0 which messes up the apache2 configuration for serving php-based projects (I'm formulating this so vaguely because I'd like to avoid dealing with source code for ...
0
votes
0answers
9 views

Sendmail doesn't work after unsinstalling thunderbird

I have the following problem, and after trying a lot of things...now I need your HELP!! I installed LAMP on my 14.04 LTS. From my php-code I was sending (using sendmail) emails without any problem. I ...
0
votes
1answer
60 views

Make my Apache2 server public

I'm really confused how to make my Apache2 web server public. I've setup everything and when I type localhost:80 it comes up properly. But, I need very clear and detailed instructions on how to make ...
0
votes
0answers
29 views

MAMP to Ubuntu 14.04 Server apache config doesn't work

I'm having an annoying problem, i've developed a MVC php application, which of course uses a lot of redirects by controllers to controllers and so on. Well, here's the issue. On my MACs (note that ...
0
votes
1answer
83 views

Redmine installation on 14.04

I have installed Ubuntu 14.04 server and want to install fresh Redmine. I faced several problems while installing, and still no LUCK. I found some documentations regarding installation but they are ...
0
votes
1answer
45 views

Cannot find Apache configuration files in 15.10, did they change location?

I installed apache2, but I couldn't change charset and language - when I went to try and edit the configuration files, the files were not present in /etc/apache2, which was an empty folder. Where are ...
0
votes
0answers
16 views

Apache2 keeps getting requests from unknown sources

I am seeing a weird behavior on my apache server. This thing just started happening either yesterday or today which means it never happened before. I am checking my access.log, and it returned a lot ...
0
votes
0answers
28 views

Start Java process within a PHP application

Not sure if this is the right place to ask or should I ask on stackoverflow.com but I will try here first. I have a php web application and somewhere within this application I have a button. That ...
0
votes
1answer
199 views

How to start and kill tcpdump within a script?

Why can't I interrupt (i.e. kill -2, not kill -9) tcpdump as shown in this script? The script runs, but tcpdump does not terminate and continues to run at the command line, even after printing some ...
1
vote
1answer
17 views

Rails production server not responding to internet requests

I'm utterly at a loss here - I've had a rails 4 production server running for a couple of months. Not long ago something happened in my network and my server stopped responding to all requests. I've ...
1
vote
2answers
56 views

Checking the user executing the apache server

root@ip-172-31-38-0:/var/www# ps aux | egrep '(apache|httpd)' root 1086 0.0 0.3 88480 3160 ? Ss Mar08 0:09 /usr/sbin/apache2 -k start www-data 1089 0.0 0.8 445500 8840 ? ...