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
1answer
5 views

Getting Errors while installing php on ubuntu16.04

Command: sudo apt-get install php7.0 Output: Reading package lists... Done Building dependency tree Reading state information... Done php7.0 is already the newest version (7.0.8-0ubuntu0.16....
0
votes
1answer
10 views

why HTTP proxy can't be used?

My home internet connection is via pppoe, an Apache2 server is installed on VPS 104.224.147.201. Contents of /etc/apache2/sites-enabled/000-default.conf on VPS 104.224.147.201 . <VirtualHost *:...
0
votes
0answers
14 views

htpasswd is not installed

I need to use htpasswd but it is not installed. I have tried using apt-get install apache2-utils but in return I get Err http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-utils amd64 ...
0
votes
0answers
10 views

Nextcloud data folder on windows share permission issues

I have a windows share mounted on my ubuntu 16.04.1 LTS server and I want to have my data folder on the mounted windows share. everything is configured and working EXCEPT nextcloud needs to have the ...
0
votes
1answer
14 views

How to encrypt file or blocking access to file and only execute apache?

My operating system is ubuntu server 14.04. I want to encrypt /var/www folder. I've tried for blocking access to file with chown -R www-data /var/www and chmod 700 commands. Any unix user can not open ...
0
votes
0answers
22 views

Unable to start Apache Tomcat 8.5.4 on Ubuntu 16.04

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....
0
votes
0answers
21 views

Upgraded PHP from 5.4 to 5.6 but phpinfo still shows 5.4

My Ubuntu 12.04 LTS server was using PHP 5.4. I then upgraded to PHP 5.6 using this How do I upgrade PHP version to the latest stable released version? instruction. No errors shown during installation ...
0
votes
0answers
16 views

index.php not executing as default index

Not long ago, I updated from Ubuntu 15.10 to 16.04. Afterward I needed to resurrect some PHP code quickly ... and discovered Ubuntu 16.04 no longer supports PHP 5 easily. Since my target environment ...
0
votes
0answers
18 views

The apache2 configtest failed.Segmentation fault (core dumped) Action 'configtest' failed

While restarting apache2 the following output appeared: * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of configtest was: ...
1
vote
1answer
14 views

Redirecting url to custom directory

I have a URL https://facebook.****.in, set up to point at a directory /var/www/html/facebook_app. the virtual hosts file for this is /etc/apache2/sites-available/facebook.****.in.conf. I would like ...
0
votes
2answers
18 views

Random URL's in Apache access.log

My server recently started getting a massive increase in the number of random URL requests. 124.173.67.77 - - [23/Jul/2016:21:21:04 -0400] "GET http://www.059boss.com/index.php HTTP/1.1" 200 12040 "...
0
votes
0answers
9 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),...
3
votes
2answers
39 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
12 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 ...
-1
votes
0answers
10 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
24 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
22 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
27 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
44 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
13 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
24 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
16 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
39 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
26 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
35 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
86 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....
0
votes
0answers
18 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
23 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
45 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
65 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
19 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
26 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
20 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
172 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
25 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. ...