Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [apache2]

Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.

0
votes
0answers
18 views

help me please :( apache2 dont run

does not start apache2 ... produces this error: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 29 of /etc/apache2/sites-enabled/000-default.conf: </...
-3
votes
0answers
16 views

apache not working httpd.service failed.in centos7 [on hold]

my server not working this result of this command "systemctl status httpd.service" httpd.service - Web server Apache Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor ...
1
vote
1answer
28 views

PHP script not executing on Apache server. U-18.4 PHP 7.2 Localhost

My Apache is running and displays the Default Page. I can redirect a PHP file into php and the echo command displays properly. I've already researched previous versions of Ubuntu and can't find any ...
0
votes
1answer
29 views

HTTPS configuration, SSL

I'm currently configuring LibreNMS with HTTPS, and have followed this guide for setting up HTTPS: https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-...
0
votes
1answer
34 views

Where should I put the Apache headers?

I have an 18.04 Ubuntu server with a Drupal 8 site that is certified by Let's Encrypt. # sudo certbot --apache -d mydomaine.com -d www.mydomaine.com --rsa-key-size 4096 # sudo nano /etc/apache2/...
0
votes
1answer
52 views

Can not disable a site

I installed ubuntu 18.04 on my server with Drupal 8 The Drupal installation is accessible from https://www.mydomaine.com If I enter the following command: sudo a2dissite www.mydomaine.com.conf and ...
0
votes
0answers
28 views

How to set up PHP-FPM on Apache?

I have a server with Ubuntu 18.04 and PHP 7.2 My site is with Drupal 8 How to set up PHP-FPM on Apache? I find only tutorial for NGINX or are outdated.
0
votes
0answers
13 views

IMAP connection broken (server response)

when I try to receive an email the error [CLOSED] IMAP connection broken (server response) returns. The mail server is OK and working. the correct permissions for my script (FAVEO HELPDESK) are ...
0
votes
1answer
24 views

Using EOF for Templating a bash script

I am attempting to create a simple script which will generate files in /etc/apache2/sites-available directory using a for loop, and get it to do this using a template within my script. This is what ...
-1
votes
1answer
29 views

How to redirect www subdomain to https protocol? [closed]

I have a website that I can access with a number of different URLs entered into the web browser. All these cases works as well (will be loaded through https protcol): lamtakam.com https://lamtakam....
0
votes
0answers
39 views

Map subdoamin to service in Ubuntu server 16.04

I am running Ubuntu serer 16.04 on my server, where I have two web servers: apache that is running on port 80 and another server running on port 5555 Due to firewall restrictions only port 80 is ...
0
votes
0answers
12 views

How to change xampp apache htdocs directory to access localhost from ubuntu and windows?

I have a vbox with Ubuntu 18.04 and Lampp. My host machine is Windows 10 (has WAMPP). I have a shared file between the host and the guest in D:\vBoxShare. I want to make a file like htdocs in D:\...
1
vote
0answers
8 views

Apache Rewrite sends to previous directory, local index.php not read

I can't solve a problem I have with (seemingly) Rewrites in Apache2. It's a migration from server P3 (where everything works) to server P10. The config files are the same, as well as the directory ...
0
votes
1answer
25 views

Install GitLab on Apache as subdirectory

I have an existing Ubuntu LAMP server already setup and working with my domain. I want to install GitLab on my Apache installation, and I want to be able to access it like a subdirectory (eg. example....
1
vote
2answers
45 views

Setting up an internal domain name for my home server?

I have a Django/Apache server that runs in my home, and currently I can only access it by using the IP address. I'm sorry if this sounds novice but, how would one go about configuring an Apache/...
0
votes
0answers
25 views

Ubuntu 18.04 Virtual Hosts not affecting properly

I have 2 Virtual Hosts with apache configs as below. Obviously the 2nd VH config called l****c has a different server name etc, but the rest is identical. <VirtualHost *:80> ServerAdmin ...
0
votes
0answers
7 views

change document root on xampp 7.2.7 in ubuntu 18.04

I've installed xampp 7.2.7 and I'm trying to change the document root ,when I go to /opt/lampp/apache2/conf/httpd.conf this is its content: Alias /bitnami/ "/opt/lampp/apache2/htdocs/" Alias /bitnami ...
0
votes
0answers
26 views

Problems to run a Xampp installation with root privileges even after chmod +x ( Ubuntu 18.04 )

After downloaded the package , i gave permission to the executer: chmod +x xampp-linux-x64-7.2.7-0-installer.run Then i ran: ./xampp-linux-x64-7.2.7-0-installer.run It trowed an error saying that ...
0
votes
0answers
29 views

Install Bugzilla in ubuntu 18.04 using xampp

I am trying to install Bugzilla 5.0.4 in Ubuntu 18.04 using Xampp. I couldn't find any related article follow the steps. I haven't installed apache2 and mysql locally but configured and using with ...
0
votes
1answer
19 views

Change www directory mode only from web application

I am using Apache web server in ubuntu, Linux. I am writing Web Application using CGI. There are the paths of my works. WWW Dir -> /var/myproj/www/ Data Dir -> /var/myproj/data/ App Dir -> /...
0
votes
1answer
31 views

Website Redirection Occurs: Separate Hosting servers and domain names on different ports 80 & 8080: How to resolve?

Question: I have two servers running ubuntu server with both on the same physical host virtual server but are completely separate virtual machines (ubuntu servers). One is hosting my WordPress site ...
0
votes
0answers
11 views

FIN/ACK delayed in apache and Ubuntu 18.04

After installing a server with Ubuntu 18.04 and apache a new behavior is seen on Connection: Close HTTP requests The HTTP answer is always fast, but some times the FIN/ACK close of the connection is ...
1
vote
1answer
43 views

Error open repository from Apache server using GitKraken on Ubuntu 18.04

I'm trying to open an Apache project repository from GitKraken but I am getting error with permissions because I can't access the /var folder. My folder has this route: var/www/html/Catalogo. Inside ...
1
vote
0answers
22 views

No secure connection on localhost how to solve? [closed]

I installed and deleted xampp server for many times. Xampp is now uninstalled but when I open localhost there is still xampp icon on new tab. Also it tells that my connection is not secure.
0
votes
1answer
26 views

Ubuntu and Apache server

Not sure this is a Ubuntu question but try any way. Today I have a NAS server. Needed a REAL server so yesterday I brought home my new PC with Ubuntu 16, Apache Server and Apache Traffic server (proxy)...
0
votes
0answers
22 views

root as owner of www-data [duplicate]

Iam a php developer runing apache in a development environment (personal computer with ubuntu)... The problem is Im programming magento extensions so every moment I have to do chmod -R 777 . in ...
0
votes
1answer
73 views

Website not loading - LAMP - index.php

I have a website that works without problems in WAMP. Recently I moved to Ubuntu, so I installed LAMP and all looks fine: localhost in browser shows the Apache2 Ubuntu Default Page. Created an info....
0
votes
0answers
16 views

Configuration of Redmine on Ubuntu 14.04.5 LTS

Hello everybody I'm tryng to configure Redmine on my local machine and I've followed this guide here, anyway when I reach the step to configure the virtualhost sudo nano /etc/apache2/sites-...
0
votes
0answers
18 views

Activating php7.1 imap on ubuntu 16.04 (apache2)

I've run sudo apt install php7.1-imap and am now trying to activate the package. I've tried: a2enmod imap a2enmod imap 7.1 php7.1enmod imap All of these commands gave me command not found Would ...
1
vote
3answers
77 views

Block access via access.log

My access.log are full of: Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com) CCBot/2.0 (http://commoncrawl.org/faq/) Mozilla/5.0 (compatible; spbot/5.0.3; +...
0
votes
1answer
24 views

Let Apache transform XML with XSLT 2.0 automatically [closed]

I'm currently trying to host a little project on my Apache web server. For this project we had the instructions to use XSLT and we always used SAXON to transform our XML to HTML, but I really have no ...
0
votes
1answer
46 views

Setting up simple Website with apache2

I'm relatively new to ubuntu and coding in general and have found this site to be rather helpful so thought I'd ask my question here. I'm running a fresh install of the ubuntu app from the windows 10 ...
0
votes
0answers
22 views

Apache localhost won't show on host machine

I have checked my firewall, confirmed apache is active and running, checked netstat -plnt and everything seems fine but I can't see the HTML page on my host machine netstat image firewall status and ...
-1
votes
1answer
73 views

how to remove apache2 in ubuntu its still running on localhost [duplicate]

How to uninstall apache2 ? I needed to install phpmyadmin, but it got errors so i decided to uninstall it and reinstall mysql php and apache. But I am unable to uninstall apache. I uninstalled it ...
0
votes
0answers
87 views

PHP mail() does not work on digitalocean ubuntu 16.04 server

my tools: server= digitalocean domain= godaddy installed apache/2.4.18 php 7.0.30 ubuntu 16.04 i have tried install sendmail and configure it as below: sudo apt-get install sendmail and configure ...
0
votes
1answer
29 views

apache start permision to user?

Read list of errors are facing for apache-start root@siddhant-VirtualBox:/home/siddhant# systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/...
0
votes
0answers
25 views

A JNI error has occurred, in HIVE 3.0.0

I installed Hadoop successfully and it's working fine, but when I installed Hive and ran the hive command in terminal, I got this error Error: A JNI error has occurred, please check your installation ...
0
votes
0answers
140 views

AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII characte

I am running Ubuntu 16.04 and I installed apache, postgres and deployed an ssl, but I am getting this error: AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII ...
0
votes
1answer
36 views

Lamp server doesn't restart

I'm new with Ubuntu and Terminal, I have Ubuntu 18.04. First time I installed LAMP server using tasksel...and everything was working fine, and then, after some time, I can't start anything. I tried to ...
1
vote
0answers
70 views

ubuntu server vs desktop in performance

Recently i have installed Ubuntu desktop and Ubuntu server as VMs on Proxmox VE, they both have the same specifications but when i load test them with Apache benchmark the server version is serving ...
0
votes
0answers
47 views

My upload bandwidth has disappeared

I have a Ubuntu 18.04 server at home I use for storing media and family backups. My ISP line is 20Mbps upload, and speedtests run at home show I get that consistently. I used to be able to max that ...
0
votes
0answers
327 views

Failed to start The Apache HTTP Server

● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor pres Active: **failed** (Result: exit-code) since Sun 2018-07-08 22:32:36 SAST; 18 ...
0
votes
0answers
70 views

Why does Ubuntu updater want to install apache2-bin when updating to 18.04?

I have Ubuntu 16.04.4 LTS. I've tried to run do-release-upgrade --devel and suddenly have found that it wants to install apache2-bin among other new packages in order to upgrade to 18.04. I can't ...
0
votes
1answer
180 views

Ubuntu 18.04 Apache2 Virtual Host is showing main website

I am attempting to make a subdomain for my website and I have created a virtual host, when I access the website subdomain.mydomain.com It show the same page as mydomain.com. Below is my virtual host. ...
0
votes
0answers
45 views

How to start Apache server in xampp on Ubuntu?

I've successfully installed lampp and xampp on my Ubuntu 18.04 LTS. But when I start xampp with the command sudo /opt/lampp/lampp start the Apache server does not start. when starting the server: ...
0
votes
1answer
69 views

Apt-get seems to be broken. whatever I try I get “the following packages has unmet dependencies”

Whatever I try to do, for example: sudo apt-get upgrade I get output: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-...
0
votes
0answers
21 views

allow permission to apache html to both www-data and user [duplicate]

I am using mkdir function in php and I use sudo chown -R www-data:www-data /var/www/html/ than I am able to mkdir folder. But than I am not able to edit any file in /var/www/html/ . So I tried both ...
1
vote
1answer
50 views

“: bad variable name read: website”

So I'm trying to make a .sh script for my Ubuntu LAMP server that makes it easier to add a new website to apache2, but when I try executing I get the error : bad variable name read: website I've ...
0
votes
2answers
52 views

can httpd run php-script as specific user

My server has a couple of users in it. I am running httpd with php support. Now all users can make php-script and open it with their browser and run it as www-data. Because of this, it is impossible ...
0
votes
0answers
41 views

Enable SSL on Apache2 for two ports (8080 and 8081)

I am very new to Linux so I might ask silly questions. The configuration: Ubuntu Server 16.04 Software: KOHA: open-source Integrated Library System The problem: KOHA has two interfaces a) the public ...