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)

0
votes
0answers
14 views

How can I set up a simple FTP site using Apache on Ubuntu 14.04?

I have Lubuntu 14.04 on two laptops, a Lenovo (booo) and an HP (ehhh). Both have Apache2 installed, and I use ssh and scp and rsync and gigolo and all that stuff without issue. So, I've got my Apache ...
0
votes
0answers
21 views

Apache does not load php files

Everything working fine until I upgraded php version to php5.6. I have installed php5.6 using composer. when I restart apache2 server and start it again, server stopped loading php files.help please, ...
1
vote
1answer
19 views

Installing the latest version of Apache 2.4 from trusty backports throws dependency errors

I'm trying to install the latest version of Apache 2.4. However: $ sudo apt-get install apache2=2.4.* Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
0answers
22 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 /...
0
votes
0answers
13 views

ubuntu apache - 500 error

I'm a long time IIS user and a part time Linux/Apache user. I have a virtual machine running on Azure. The VM has been running in the cloud for a while and I haven't had many problems. In the last ...
1
vote
1answer
21 views

Security - Apache's websites folder inside Home folder

Is it secure to change DocumentRoot path to some folder in user's Home directory? Or it's better to leave it be and using a shared group between your user and Apache server as you can see it in the ...
0
votes
0answers
14 views

12.04 apt-get maybe broke apache2

Our hub server runs 12.04 with apache2. Friday it was OK. Saturday night I did apt-get update and upgrade. I noticed there was a new apache2. Well, now the server is busted. All I get is Connection ...
0
votes
0answers
20 views

Static file serving through apache2

I want to enable static file serving using apache2 by accessing the files in files system. My application is running on Tomcat7, my virtualhost looks like: <VirtualHost *:80> #set server ...
0
votes
0answers
9 views

bWAPP installation ERROR

I am trying to install bWAPP on my ubuntu gnome 16.04 computer. With this tutorial. When I try out number 6 I get an error 500. My guess is that I didn't set up php correctly. But it could be ...
0
votes
1answer
39 views

16.04 apache2 is not parsing .php files

Installed 16.04. installed 'apache2'. installed 'php', it gave me php7.0. But now my existng web pages with dot+php extensions are not being pre-processed by apache2. I had a similar problem years ...
0
votes
1answer
20 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 ...
0
votes
0answers
23 views

PHP Scripts doesn't executed

I installed LAMP server successfully.But,I didn't have permission to save my php scripts in var/www/html folder.Then I ask it from this forum and fix it. Now what happen is I can save my phps scripts ...
0
votes
1answer
39 views

You don't have permisission necessary to save the file,PHP Apache [duplicate]

I just installed LAMP server, which works fine. But when I code a PHP script and try to save it in /var/www/html, it says: You don't have permisission necessary to save the file Help me! How do I ...
0
votes
1answer
73 views

How to access ubuntu server 16.04 sever's files from windows 10 PC?

I recently installed ubuntu 16.04 on a machine I built, hoping that it'd serve my home for file sharing, media server and probably for VPN. I have installed Samba and the LAMP server. I also have ...
0
votes
0answers
43 views

Ubuntu Server unable to create directory in PHP

I have setup a little Ubuntu Server for developing some web apps. I have a little script that uses mkdir() to create a directory, but i am getting a permission denied, its a simple command mkdir($...
-2
votes
1answer
33 views

chmod not assigning permissions properly?

We are testing osTicket which is an open source ticketing system and have set everything up, but when we try to connect to the page we get blank results with the following error logs: [:error] [pid ...
0
votes
1answer
30 views

14.04 php5-mcrypt openCart

I have a problem with php5 extension mcrypt. The command php5 -m | grep mcrypt Outputs: mcrypt But during openCart install I see extension mCrypt not installed. I've restarted apache with: ...
0
votes
0answers
15 views

CGI Script not running user problem

CGI Script not running user problem in my AWS server My file: /etc/apache2/sites-enabled/000-default.conf <VirtualHost *:80> ServerName cgi.pipemarket.com ServerAdmin ...
0
votes
0answers
28 views

PHP errors in /usr/sbin/a2query

I am new to Ubuntu, currently on 14.04, I develop on Windows but want to do same on Linux(Ubuntu) I tried to open a PHP file from localhost, I get a blank page. I checked if the PHP module is loaded I ...
0
votes
0answers
28 views

How do I fix: PHP Fatal error: Call to undefined function Illuminate\\Encryption

PHP Fatal error: Call to undefined function Illuminate\Encryption\mcrypt_get_iv_size() in /var/www/html/application/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php on line 303 I am ...
0
votes
0answers
24 views

Installing Xampp (or, Lampp) through SSH

I am pretty much new to the whole concept of Ubuntu and Linux as a whole. I've installed and had my server run php5 on my ubuntu 14.04 without problems as such. The issue arrise when I realised that I ...
0
votes
1answer
38 views

Apache web server - FTP host connection issue in LAN

OS: Ubuntu 12.04 Web Server: Apache 2.2.22 Apache web server IP Address: 192.168.0.21 Virtual Host for website in Apache: 50000MySite001 Link to access website in LAN: 192.168.0.21/50000MySite001 ...
0
votes
0answers
7 views

Understanding Ruby Setup with bundler “bundle install” as non root

I received a ruby source code + dependencies and db. The code is about 3 years old and running on an 12.04 Ubuntu. Now I am trying to make a fresh setup on 14.04. I installed a lamp stack and wanted ...
0
votes
0answers
17 views

error while starting apache2 from terminal

I was trying to install and start apache2 serever and i got this error. $ sudo service apache2 start * Starting web server apache2 * * The apache2 ...
0
votes
1answer
10 views

Installing Wordpress on 14.04 - Apache2 Ubuntu Default Page appearing

I went through the Wordpress installation process and I'm getting the Apache2 Ubuntu Default Page when I go to my ip. What did I do wrong?
2
votes
0answers
36 views

Configuring apache2 for mediawiki

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

How to setup cgit with apache2 in Ubuntu?

I have tried to configure cgit with apache2 for many times but all failed. Here are my configurations: apache2 conf: <VirtualHost *80:> DocumentRoot /var/www/htdocs/cgit ScriptAlias /...
0
votes
1answer
46 views

Linux restrict user to specific folder in var/www

My apache root /var/www/html/ contains the following folders. myapp test testapp I want to create a new user to access only testapp folder (read/write). Other folders shouldn't be read. I created ...
0
votes
0answers
26 views

Cannot access phpmyadmin on xampp on 16.04 LTS

Every time I try to access phpmyadmin on my XAMPP I get this message: Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ...
0
votes
0answers
14 views

Jar file not coming out of loop in Apache ubuntu

I have set of shell scripts which run in Apache server from cgi-bin. The first script triggers the second, the second triggers the third, and so on. Except on a particular script, say the 10th script.....
0
votes
0answers
68 views

apt: Can't drop privileges for downloading

I get an error when i am trying install apache2 This is the error it displays: W: Can't drop privileges for downloading as file '/var/cache/apt/archives/partial/apache2_2.4.18-2ubuntu3_i386.deb' ...
0
votes
1answer
24 views

Still apache page running after configuring nginx?

I have done all the below steps still apache page is running on localhost:8000 : It is because by default Apache and nginx are listening to the same port number (:80) Reconfigure nginx to listen on ...
0
votes
0answers
36 views

Subdomain always redirects to main domain in ubuntu

I've created a subdomain in Ubuntu Server which is in Azure Cloud, but it will always redirect to main domain Here is my apache.conf file <VirtualHost xx.xx.xx.xxx:80> ServerName admin....
0
votes
0answers
49 views

Error while installing any software with Ubuntu 16.04 LTS

I am trying to install LAMP on my computer but I am not being successful. It's not just that now I can't do any installation using the terminal I keep getting this error: jacky@jacky-Aspire-5733:~$ ...
0
votes
0answers
24 views

url with controller and action name not working

I am new to Ubuntu. I installed php, mysql and apache successfully. Now when I type http://localhost/my_project_name/, it works properly but when I type http://localhost/talentrack/my_project_name/...
0
votes
1answer
50 views

Default permission of `/var/www` folder in Ubuntu

I have just hosted my website on Ubuntu Server. It is working fine, but all files are publicly accessible. like hitting url mywebsite.com/uploads/ giving the list of all files. mywebsite.com/...
0
votes
0answers
19 views

Can I use one phpMyAdmin per virtualhost?

I worked on ubuntu 16.04 server, I will host multiple domains on my ubuntu server with apache virtualhost, my question is how to make phpmyadmin show only database created on my virtual host ? For ...
0
votes
0answers
28 views

localhost host files not running ..its downloading..? [duplicate]

While clicking or running a project in http://localhost in my ubuntu machine,... its just downloading a file..? why.?
0
votes
1answer
34 views

Redirect port 5000 OSRM a subdomain in Apache2

Little description: Redirect port 5000 to a subdomain Description: Well I have a program, "supervisor" It has a OSRM (open street routing map), It is running in port 5000, I want to redirect that ...
0
votes
1answer
31 views

Apache2 restart at boot on ubuntu 10.04 [duplicate]

Please can any one help me with a script to restart apache2 at boot on ubuntu 10.04. I have tried so many tutorials but never worked and I tried crontab -e but is there any other way? because it only ...
0
votes
0answers
35 views

Unable to connect to WSGI daemon process

First of all, this is not a duplicate. I've tried all other related questions and Googled for ours without any clue on how to solve my specific issue. I recently followed a nice guide on how to set ...
0
votes
2answers
53 views

Ubuntu 14.04 LTS with Apache2 2.4.7 not displaying images on web page

Apache is not displaying images regardless of file type (jpg,png,gif). No entries in the error.log, access.log is showing no abnormalities. Permissions are correct, I am not getting "forbidden" ...
0
votes
1answer
29 views

Some boot-up services

I am trying to increase my boot-up speed on my 16.4 Ubuntu and would like to consult someone if removing some boot-up services is a smart idea, for i am unsure if there are consequences i am not aware ...
1
vote
0answers
56 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 ...
0
votes
0answers
24 views

DNS lookup failed

I have an ubuntu VPS running apache2 with all php5 packages, mysql and phpmyadmin installed. I was following a tutorial to set up something and a required command was "a2enmod rewrite". After I ...
1
vote
1answer
40 views

Losing hope with Apache2 (IP refused connection)

I know that this question has been asked before, I've looked at a couple of them too, but for some reason I can't get my server to work. What I'm trying to do is get access to my website through ...
2
votes
1answer
51 views

phpmyadmin: The json extension is missing

What I have done I have set up a LAMP webserver using these commands: sudo apt-get install apache2 sudo apt-get install mysql-server sudo apt-get install php5 libapache2-mod-php5 sudo /etc/init.d/...
0
votes
1answer
57 views

unable to apt-get -y build-dep php5 php5-mcrypt

when I try to do "apt-get -y build-dep php5 php5-mcrypt" the resault is : Reading package lists... Done Picking 'php-mcrypt' as source package instead of 'php5-mcrypt' Reading package lists... Done ...