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
6 views

Problems with installing phpMyAdmin

I Installed phpMyAdmin (Ubuntu 16.04) and the installation failed. Initially I accidentally named the phpmyadmin table to 'test', and after reinstalling phpmyadmin with another table name (phpmyadmin),...
1
vote
1answer
11 views

Reinstall Apache2, after remove on Ubuntu 16.04

I have few errors with mysql-server, and after i tried more command in terminal, i don't find a proper way to resolve. I decided to remove all (phpmyadmin, mysql, apache2). Mysql and phpmyadmin, ...
0
votes
1answer
9 views

403 Forbidden on virtual host with mod_rewrite

I managed to install virtual host on LAMP server and created the config file /etc/apache2/sites-available/site.com.conf <Directory /home/ihab/Workspace/Webdev/site.com/public_html> ...
0
votes
0answers
4 views

Apache2 LAN configuration not working

I'm trying to set up a virtualhost in Apache2 on my Ubuntu 14.04 headless server. I would like to view the new sites index page and the default apache index page from the browser on my iPad. The new ...
0
votes
0answers
8 views

Apache virtual host, list multiple in one file

I have just come from fedora, and with apache virtual host i could list all of them in one file called httpd-vhosts.conf. using ubuntu 16.04 apache 2.4. i have set up my site but brakes apache if i do ...
1
vote
1answer
22 views

How to make apache2 serve HTTPS on port 443 and non-default ports?

I would like my apache2 instance to serve HTTPS (a simple page or really just anything) on default port 443 just be available, e.g. for letsencrypt certificate installation client and to serve ...
1
vote
1answer
17 views

How can I install php5-mcrypt

When I try to use sudo apt-get install php5-mcrypt to install php5-mcrypt, I receive the following error. I used sudo apt-get install lamp-server^ to install the php5 ahmad@ubuntu:/var/www/html$ sudo ...
0
votes
0answers
25 views

Granting write permission on www-data for /var/www/[username] [duplicate]

I am new to this www-data concept, please do explain in simple words. I have a directory in the path /var/www/orbitcode. I want orbitcode to have www-data write permission. How to do this? I am ...
0
votes
2answers
26 views

What are the actual risks of giving www-data sudo nopasswd access?

I have a server that I just installed apache on. I have a php script on the server that I would like to run a sudo command from. I've been scouring the web on why giving www-data sudo nopasswd access ...
0
votes
1answer
41 views

phpmyadmin shows weird code

after setting up apache and everything working correctly i tried to go to localhost/phpmyadmin and now instead of showing me the login page it's showing me this weird stuff: here is one line of it. it'...
0
votes
1answer
28 views

problem with .htaccess

The content file .htacces: RewriteEnergie on RewriteRule ^(.*)$ index.php?p=$1 The content file 000-default.conf: the error
0
votes
0answers
17 views

No network at all

I'm trying to start my apache test server but networking won't come up. This is not the first time i have had this error but that was with samba. Can anyone help me. (Picture with error down below). ...
0
votes
0answers
12 views

PHP 5.6 sending errors through email regarding mysqli

After struggling to set up mysql and mysqli on my Ubuntu (16.04) server (PHP insisted on loading .dlls that did not exist and that were not requested in any of the configuration files), I finally got ...
0
votes
2answers
21 views

Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

hi every body after clean install of ubuntu 16.04 and tasksel lamp apache2 got this error : [Mon Jul 18 22:42:00.114578 2016] [core:warn] [pid 4654] AH00111: Config variable ${APACHE_LOCK_DIR} is ...
0
votes
0answers
15 views

Apache2 on Ubuntu works externally but stops working on internal network

I have Apache 2 installed on Ubuntu 16 and it serves out webpages externally all the time, but will stop serving out to other PCs on the internal network after a day or so. Resetting the modem usually ...
0
votes
0answers
29 views

Installation problems with Biogeme on Ubuntu 14.04 LTS

I have problems installing the biogeme software, which is a famous software for choice models from Switzerland. I am using an older laptop with Ubuntu 14.04 LTS 32-bit. I tried installing it using: ...
2
votes
1answer
41 views

Apache can't be accessed externally

I have Ubuntu server with pre-installed apache2, mssql, php5. I install vTiger CRM and it's available on my localhost and internal IP. But i can't reach it using my external IP. I checked all setups ...
0
votes
0answers
14 views

Setting up intranet and internet apache server [on hold]

I have 2 DNS server and 2 web server. My DNS setup are almost complete that it's able to resolve each other. intranet site - intranet.test.co.uk internet site - test.co.uk what do I need to ...
0
votes
1answer
12 views

apache2 server not working properly

while executing cgi-programming in apache2 using the python programming language, It shows the output of another program. I checked the errorlog of apache server, It shows the execution of other ...
-3
votes
0answers
19 views

When I ran a restart this is what I get

* Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 3 of /etc/apache2/mods-...
0
votes
0answers
31 views

OwnCloud getting 404 after install on fresh Ubuntu 16.04

I am trying to install OwnCloud on a Ubuntu 16.04 server with apache2 and php7.0-fpm. My PHP is setup fine, I have phpMyAdmin running good. When I try to install OwnCloud, I am downloading the zip, ...
0
votes
0answers
24 views

The requested URL /nagios/< was not found on this server

I am using Ubuntu 16.04 and I have just installed Nagios v4.1.1 but after logged in the portal it is showing me the error: Not Found The requested URL /nagios/< was not found on this server. ...
2
votes
1answer
12 views

How to make sub domains run on ssl along with domain

I have bought a wildcard ssl certificate for my website let say www.example.com I am using ubuntu 14.04 server on AWS hosting and using apache 2.4. My domain is booked from godaddy. I wanted two of ...
-1
votes
0answers
11 views

How to store all my machine's configurations and installed package list to cloud?

I am working on the machine which is unstable , so i want to save my machine's configuration like git integration , installed packages list, apache configurations ..everything to online so whenever I ...
-1
votes
0answers
30 views

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have installed apache2 and mysql-server-5.6 on linux ubuntu 14.04, when i browse ip address apache is working fine, but mysql is not running--> I have run commands sudo service mysql start or ...
0
votes
2answers
25 views

How to set a server that sends request to my API?

I am working with Linux, Ubuntu and an API made in Django. My questions are: How do I configure a server (preferably in apache) in order to send http requests to my API? How do I 'catch' the data ...
1
vote
1answer
58 views

Apache Tomcat 8.5.4 Ubuntu 16.04 not working!

I have installed the following distribution of Tomcat: http://mirror.its.dal.ca/apache/tomcat/tomcat-8/v8.5.4/bin/apache-tomcat-8.5.4.tar.gz I have followed this instruction step by step: https://www....
-1
votes
0answers
14 views

Unable to forward windows host port 80 to Centos guest port 80 [closed]

Ok, so ive tried googling this many time already and still i am failing. I have a Windows 10 host with VirtaulBox installed. Inside my VirtaulBox i have a CentOS system installed. I have httpd running ...
0
votes
0answers
17 views

letsencrypt-auto fails due “Could not connect to”

I am on the server ncldp.com running as root. I want to enable HTTPS for apache2 by using a letsencrypt certificate. I try to download the cert using ./letsencrypt-auto certonly --manual -d ncldp....
0
votes
0answers
22 views

Python and PHP in Apache - 403 Error

I am doing some work on some servers. I added in python into my php, apache2, and mysql server. Now I just get 403 forbidden errors. I am using an online cloud workspace called cloud9. Here is my ...
0
votes
1answer
18 views

Make /www/html/ permanantly accessable to my web browses to install drupal sites

I am using chown -Rf www-data:www-data /www/html/* and chmod -Rf 777 /www/html/* to give my drupal cores permission to create a new site.(with and without *) I have also tried every variant of ...
0
votes
1answer
39 views

What to do if /dev/md1 is full?

I have a dedicated server, running Ubuntu Server 14.04 LTS. I have a problem with space in disk: df -h Filesystem Size Used Avail Use% Mounted on udev 7.8G 8.0K 7.8G ...
0
votes
1answer
62 views

How to check and clean Ubuntu 16.04 from multiple Apache, Mysql, php installations?

I've probably messed up around while familiarizing with ubuntu 16.04 and commands with terminal. I did installed Ampps stack that initially worked fine but an issue with my cron configuration made me ...
0
votes
1answer
18 views

How to Configure CGI in Ubuntu?

I am very new to Apache in Ubuntu. I recently installed Apache2 on Ubuntu and I am trying to configure CGI. I added the following lines in apache2.conf file: ScriptAlias /cgi-bin/ /home/router/cgi-...
0
votes
0answers
23 views

UPnP Port Mapper could not find router

I have downloaded UpNP Port Mapper and I moved it to my desktop and renamed it "portmapper.jar". In the command-line, I changed the directory to my Desktop and then typed service apache2 start, and ...
0
votes
0answers
13 views

setting the proper permissions for a .php plugin to run

I'm trying to install a web based software, basically what I have to do is put the software directory in my website dir, then access www.my-website.com/softwaredir in the browser, which should ...
0
votes
0answers
19 views

How to configure Apache 2 to run PHP 7.0

I've installed both Apache2 and PHP7.0 on my Ubuntu 14.04 and on running localhost I get a Apache welcome page but placing a info.php file inside /var/www/html/ doesn't give me any specific page but ...
0
votes
0answers
19 views

How to debug Apache HTTPD?

On my virtual machine(VMware Workstation 12 Player; Ubuntu 15.10) I have installed Apache HTTPD 2.2.22. I followed this steps: Download httpd2.2.22.tar.gz Unzip it Type ./configure && make &...
-1
votes
0answers
132 views

localhost is currently unable to handle this request (HTTP ERROR 500)

Morning i have problem with php script execution, when i try to execute php script on my localhost installation i receive such error. The local host page is not working localhost is currently unable ...
1
vote
1answer
23 views

How do I change phpMyAdmin access URL?

Could someone please tell me how to change phpMyAdmin's access URL, I would like it only to be accessible from a specific URL: database.example.com. example.com would be replaced to my actual domain. ...
0
votes
0answers
12 views

mod_rewrite Internal Server Error

Running 16.04 Ubuntu. My .htaccess is producing a Internal Server Error Here is the mode rewrite: RewriteEngine On RewriteRule ^([^/]*)$ /index.php?url=$1 [L] Any help is appreciated. I'm trying ...
2
votes
1answer
44 views

How to manually install PHP and Apache in Ubuntu 14.04 without using apt-get

I'm trying to configure my machine(Ubuntu 14.04) for LAMP but I want to install PHP and Apache HTTP Server the hard way i.e. without using apt-get or any other package manager.(I've chosen the hard ...
0
votes
1answer
32 views

Local Ubuntu webserver slow response after losing connection to gateway

I'm running a local Ubuntu 14.04 LTS (apache 2.4.7) webserver configured with a static ip in the /etc/network/interfaces file as follows: auto lo iface lo inet loopback auto em1 iface em1 inet static ...
0
votes
1answer
97 views

Apache2 fails to start on boot with Ubuntu 16.04

I have just created a new Ubuntu 16.04 server (on digital ocean, if it matters). I have set up Apache2, and it runs correctly, but on every restart it fails to boot. I get the following from ...
0
votes
1answer
32 views

PHP doesn't work on Ubuntu 16.04

I've just got a Ubuntu machine (I'm usually a Debian user). I've installed apache2 and PHP using the below commands and restarted apache2 but when I visit the site the PHP doesn't execute (I just see ...
0
votes
0answers
17 views

Do I need to set the FQDN as the hostname?

I'm a bit uncertain about a few things. I'm trying to learn a few things on my Ubuntu 16.04 server. I have registered with Amazon Web Service's Route 53 the DNS settings for a domain of mine. ...
1
vote
0answers
26 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
2answers
30 views

Change MYBB landing page from var/www/html to var/www/html/mywebsite

So my problem is that when I access www.my-website.com I land on the page related to var/www/html instead of my actual website directory var/www/html/mywebsite. How can I change that please ? I'm ...
-1
votes
0answers
19 views

Ping but no other connection within LAN

So i scratched the idea of ubuntu 16.04 and just wanted to try and get cacti working with 14.04 again. However i have everything installed and configured correctly, and i don't get any connections. ...
1
vote
1answer
40 views

Help removing all LAMP, website and related configurations on Ubuntu 16.04 LTS

I'm very new to Ubuntu and I set up a website (mybb forum) by creating a user called webmaster then installing LAMP etc and the website folder was var/www/html. Anyways everything worked well until ...