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)

2
votes
2answers
21 views

“apt-get install Apache2” error

I'm trying to install apache2 on my Kubuntu Linux using sudo apt-get install apache2 and it shows me this message: dagger@HP:~$ sudo apt-get install apache2 Reading package lists... ...
1
vote
1answer
14 views

nginx error upgrading web server from Ubuntu 15.10 to 16.04

I'm running nginx as a reverse proxy to apache. I'm upgrading ubuntu from 15.10 to 16.04 but getting this after a failed apt-get dist-upgrade and running apt-get -f install After this operation, 2,...
1
vote
4answers
7k views

MySQL not starting in Xampp

I am using Ubuntu 14.04 and Xampp 5.6.3-0. I cannot get the MySQL server to run. I have tried executing these commands so far (run in this order): sudo chmod 755 /opt/lampp/etc/my.cnf sudo chmod -R ...
1
vote
1answer
30 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 ...
-2
votes
0answers
18 views

The type of page is not served

I'm trying to deploy asp.net applications via apache2 in Ubuntu 14.04. When I tried to access my page it gives me error: The type of page is not served Also I've noticed when I browsed my homepage....
0
votes
0answers
15 views

Update of Ubuntu Server 16.04 broke my OwnCloud 9 server?

I'm running a small server for domestic use with Ubuntu server 16.04 LTS and Owncloud. I keep my server up to date with apt-get update/upgrade. Yesterday evening 26 July 2016 I did an update resulting ...
4
votes
3answers
4k views

What is the default apache2 log format and where is defined such default?

I review (a fast reading) Apache Module mod_log_config and can't figure out what is the apache2 default log format and where is defined it. Any idea? Note that what is on /etc/apache2/conf.d/...
0
votes
0answers
16 views

Can't see configurations Apache2

I'm new here. I've installed Apache2 to create a wordpress-site. My manual tells me to change some of the configurations, but when I enter the configurations the folder seem to be empty, and there is ...
0
votes
1answer
16 views

why HTTP proxy can't be used?

My home internet connection is via pppoe, an Apache2 server is installed on VPS 114.114.114.114. Contents of /etc/apache2/sites-enabled/000-default.conf on VPS 114.114.114.114 . <VirtualHost *:...
1
vote
1answer
18 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
0answers
17 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
14 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
17 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 ...
1
vote
1answer
4k views

how to get LAMP offline installer? [duplicate]

Where can I download the latest Apache, MySQL and PHP offline installers (maybe .deb)? (both x64 and x86, if available) I'm currently on Windows, and can't switch to Ubuntu and use apt-get download (...
1
vote
2answers
727 views

unoconv cannot connect or start listener without sudo

I'm working on a website for school on the school server. My website uses unoconv. It was working up until today for some reason. Basically what is happening is that if i run this command in the ...
2
votes
1answer
4k views

How to setup PHPMyAdmin as SubDomain on Apache 2.4.7?

I'm currently having issues setting up PHPMyAdmin as a subdomain. I was able to do this on Ubuntu 12.04 no problem but since upgrading can't seem to get it properly configured. Here's the conf I'm ...
0
votes
0answers
33 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
24 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
19 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
23 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: ...
2
votes
1answer
4k views

Apache restart not working properly?

I'm newbie to ubuntu. And I'll install the lamp and phpmyadmin its also working fine, but my problem is when I trying to restart the service of apache2 is not restarting good, its says looks like, ...
0
votes
0answers
197 views

apache2.4.12 the request URL xxx was not found on this server --

I'm very new at apache2.4.12. I have a not found error: The request URL/player/index.html was not found on this server I have 80 and 8000 listen. What can I do?
3
votes
2answers
46 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
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
1answer
5k views

Error installing Apache2

While installing Apache2 I am getting the following output: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This ...
0
votes
1answer
14 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
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),...
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 ...
56
votes
5answers
32k views

How to easily start a webserver in any folder?

I'm looking for a relatively painless way to launch a web server with document root in any folder I specify (or better yet, where I'm launching). I often try out new things like JS frameworks or so ...
0
votes
2answers
3k views

PHP is not working with Apache on Lamp server

I have lamp server on ubuntu, The apache2 is successfully installed and local host is working. But I have no way to create/copy to the www folder, also my phpmyadmin is not working.
2
votes
2answers
4k views

Permission denied while writing a file in var/www inspite of adding me to user group

I gave permissions to read and write files in /var/www to the working user(me) through the steps given in Whats the simplest way to edit and add files to “/var/www”?. It works fine when I try to ...
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 ...
0
votes
1answer
46 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
5k views

Apache2 “configtest failed” (error line 216, 5, 62)

Starting web server apache2 The apache2 configtest failed. Output of config test was: apache2: Syntax error on **line 216** of /etc/apache2/apache2.conf: Syntax error on **line 5** of /etc/...
1
vote
1answer
26 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 ...
1
vote
2answers
7k views

How to run a php file after installing LAMP in ubuntu 11.10?

I installed lamp on ubuntu. Apache2 and Mysql are working fine. The folder apache2 is in /etc and contains: apache2.conf envvars magic mods-enabled sites-available conf.d ...
1
vote
2answers
5k views

How to get rid off - sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins

I am trying to configure apache2 with cgi (python). For that, I have to change permissions of some folders and files but I am getting sudo fatal errors every time I try to change the permission of a ...
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
2answers
26 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 ...
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
1answer
3k views

Ubuntu apt-get upgrade error on ubuntu 12.04

I am trying to use command sudo apt-get upgrade command on mu ubuntu 12.04. But is is showing me the error .This is after i upgraded my php 5.4 to php5.5. You might want to run 'apt-get -f ...
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
28 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
1answer
98 views

How to run multiple websites on port 443 in Azure using Apache2.4?

I created a VM on Azure running Ubuntu 14.04 and installed a LAMP stack. In Azure you have an so called enpoint configuration manager, which basically let you redirect incoming requests from one port ...
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
2answers
4k views

User access to FTP and at same time set www-data as owner/group

In order for wordpress to read/write the owner of the files/folders need to be www-data. Now the problem is that if the owner is www-data of group filetransfer (www-data:filetransfer) then the FTP ...
2
votes
1answer
42 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 ...