Questions tagged [apache2]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
132 views

Can't start apache2 in ubuntu 19.04

I recently migrated from using Windows 10 to Linux Ubuntu 19.04. I finished installing LAMP through tutorials for 18.04 ubuntu and it worked fine once until I messed it up. Now I can't start apache2 ...
0
votes
0answers
40 views

.Net Core 2.2 shared session with Apache2 reverse proxy

I have two instances of .Net Core 2.2 web application (test & test2) running as Linux services behind an Apache2 reverse proxy. I am trying to share the session between both applications. The ...
2
votes
3answers
120 views

Localhost subdomains work, but remote address won't

I am quite a noob on Ubuntu but I had to install it on a VPS to display two different websites as sub-domains. One of them is a Drupal 8 website, the other one is a Static html website (index.html) I ...
0
votes
0answers
16 views

Webserver and multiple user permissions

Here's my situation. I have a webserver running on Ubuntu with cPanel installed. My website folder is located at /home/website/public_html and has the user permissions of user1/user1. I want to ...
1
vote
0answers
23 views

I was installed apache, node and mysql on ubuntu then I test with postman, it show “Could not get any response”

this is status apache Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf ...
0
votes
1answer
430 views

php not working on ubuntu 18.04

I am trying to install wordpress and for that to work i tried to install php and mysql . PHP doesnot seems to be working . When i write this into /var/www/html/info.php file: <?php phpinfo(); ?&...
0
votes
1answer
30 views

Connection timeout on seemingly random clients

I am facing issues hosting an apache2 server on Ubuntu 18.04. Some of my friends get a connection timeout when trying to access it, I myself cannot reproduce this behavior. It doesn't matter if I'm in ...
0
votes
1answer
73 views

What permissions does DocumentRoot directory of Apache Server requies, if its outside /var/www

I'm using Ubuntu version 18.04. I installed apache2 and tried to set DocumentRoot of a VirtualHost to be /home/username/Desktop/work/wp and it gives error permission forbidden. But if I set ...
0
votes
0answers
26 views

Apache Tomcat - Reset server.xml

I messed up my server.xml in apache tomcat 9, is there any way for me to reset this?
0
votes
2answers
220 views

Cannot Unzip a .tar.gz file

So, I am trying to install apache tomcat, upon me trying to unzip the tar file i am getting this error. gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: ...
0
votes
1answer
238 views

Apache2 throws 403 Forbidden error when accessing site resources

I know that this has been posted about a ton, but I have spent the last day scouring through answers, trying everything and nothing is working. I've changed permissions, I've looked into the Apache2 ...
0
votes
1answer
38 views

Displaying dynamic created jpg inside an html apache

I have an image created by a CGI script.. if you call the script directly it displays quite happily with. Content-type: image/jpeg However I need to embed this inside a page, and no matter what I ...
1
vote
1answer
76 views

Some Apache .service files are missing

After unmasking my Apache Server it deleted some essential .service and .conf files. Is there a way I can reinstall only the missing packages without changing my local .conf files?
0
votes
0answers
36 views

proxy server port mapped to a url (mapped link?)

When pointing a web browser to my Bionic server 12.34.56.78:5433, I need the web browser to display somewebsite.com. In other words, I need to configure my server port 5433 to proxy over the content ...
0
votes
0answers
105 views

Virtual host redirects always to /dashboard UBUNTU 16.04

I'm trying to create a virtual host for my project.. I almost tried all solutions but I always end up redirected to /dashboard These are the steps that I followed : I pointed to : /etc/apache2/...
0
votes
0answers
17 views

Redmine as service in pcs

I would like to get redmine for my Apache. I already installed apache and redmine and it successfully works in my server. The problem is when create pcs resource I got error Warning: Proxy is set ...
2
votes
1answer
86 views

Fixing permission settings on html folder

I've just setup a new Droplet over at DigitalOcean before the weekend and have been configuring to my needs. I've been following this previously asked question multiple owner of same folder. I also ...
1
vote
2answers
540 views

bash: /usr/bin/php: No such file or directory [closed]

When I try some code it says: bash: /usr/bin/php: No such file or directory I think It happened because of some codes I tried for a previous error of my laravel project. These codes are: mv /usr/...
0
votes
0answers
30 views

In Ubuntu16 I Cannot run more than 5 pool in php-fpm

I am trying to run more than 5 pool with 4 different port (9000, 9001,9002,9003,9004). PHP-fpm can listen on all 4 port and run without problem but when I run a pool on a fifth port like on 9005 but ...
0
votes
1answer
27 views

Is it possible to reconfigure web server after phpmyadmin installation?

So, I've installed phpmyadmin without selecting a webserver (I've just forgot to tap [space] to select), and I need to repair this, but when I reinstall phpmyadmin, it doesn't ask me for a web server ...
0
votes
0answers
216 views

Syntax Error: “(” unexpected error on xampp installation

I getting this error while I want to run sudo ./xampp-linux-x64-7.3.7-1-installer.run. @ows-desktop:~$ cd Downloads ows@ows-desktop:~/Downloads$ chmod 755 xampp-linux-x64-7.3.7-1-installer.run ows@...
3
votes
1answer
60 views

Permissions for Apache2 on fresh Ubuntu installation

After a fresh installation of Ubuntu i am trying to figure out how to do the permissions for Apache2. I use my setup for Local development for CraftCMS websites. This means Apache needs to be able to ...
0
votes
0answers
24 views

Request times out to Apache on Ubuntu Virtual Box

I'm new to this so probably missing something obvious. I am running Ubuntu Server on Virtual Box. I have installed Apache on the server. I now want to be able to access it from the browser. My guest ...
1
vote
0answers
57 views

PHP Environment Variables in CLI

Environment Variables are used to set up the PHP application and the application runs smoothly. The issue that I'm facing is when I'm trying to reference the application's database connection file and ...
0
votes
0answers
52 views

403 Forbbiten error on pgadmin4

I follow tutorial from here "How To Install and Configure pgAdmin 4 in Server Mode" and everything is ok, only when I call in browser my server IP I get 403 Forbbiten error. My /etc/apache2/sites-...
0
votes
1answer
701 views

403 Forbidden -You don't have permission to access / on this server [duplicate]

I know that the question was asked thousand times. I'm trying to install Wordpress. My folder is in /www/html/wordpress. I have downlowded the project manually from wordpress site. In wp-in config....
0
votes
0answers
242 views

php error Welcome to phpMyAdmin Error no such file or directory phpMyadmin

I have installed xampp on Ubuntu 16.04 and after starting the server, I get: Welcome to phpMyAdmin Error MySQL said: Documentation Cannot connect: invalid settings. mysqli_real_connect(): (HY000/...
1
vote
0answers
29 views

Wsgi write to error.log in ascii. Need utf-8

Good day! I have an apache and wsgi application. Everything works fine, but I can’t configure Apache so that the Cyrillic alphabet is written to the journal in its normal form, and not \ xd0 \ xa1 \ ...
0
votes
0answers
12 views

Tom cat has error when use except localhost ip

I have spring-boot application and angular . I will access outside server to application data.My angular is deployed on apache server and spring boot is on tomcat server . my ip for access out side ...
0
votes
0answers
23 views

How to call python library from the web browser installed for “user1” through php

I am working on the project where I am calling python code from the PHP in ubuntu. The python code is using the library "pytesseract" which is included in the import. I have installed the python ...
0
votes
0answers
39 views

Getting Index.php code on my screen - WordPress [duplicate]

As I migrated the WordPress site from Digital Ocean to Azure, once moved the files and database into the new azure server, then configured the root location in the apache config file. Then, check the ...
0
votes
1answer
67 views

chmod - R 777 - 775 does not work what do i do?

I'm currently developing an entertainment platform, I'm working as a web developer at a web bureau. This project is my own personal project, it runs a LAMP stack on DigitalOcean. At work, we have a '...
0
votes
0answers
64 views

Apache2 Ubuntu server 18.04 pacemaker [failed to access httpd status page]

i got error when i create a apache resoure in pacemaker pcs resource create WebSite ocf:heartbeat:apache \configfile=/etc/apache2/apache2.conf statusurl=”http://192.168.56.103/server-status” op ...
0
votes
1answer
504 views

Installed pgadmin4-apache2 package post-installation script subprocess returned error exit status 1

I'm trying to install pgAdmin4 desktop mode, Facing this Issue. It show pgAdmin4 and pgadmin4-apache2 installed. but while opening the pgAdmin4 application it display an error on popup Failed to ...
0
votes
0answers
238 views

I can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

I searched a lot to solve this problem without success , I tried with all suggested solutions which I find in the internet without success , I restarted my ubuntu server and now I can not run the ...
0
votes
1answer
55 views

xampp- unable to start apache on ubuntu 16

1.sudo /opt/lampp/xampp start Starting XAMPP for Linux 7.2.2-0... XAMPP: Starting Apache...fail. XAMPP: Another web server is already running. XAMPP: Starting MySQL...already running. XAMPP: Starting ...
1
vote
1answer
203 views

Port forwarding through ssh tunnel Showing Warning: remote port forwarding failed for listen port 99

I am trying to secure the PhpMyAdmin to revoke accessing publicly. I tried following step 4 of this link Secure PhpMyAdmin. But when I try to connect it showing a warning that unable to forward to ...
4
votes
2answers
505 views

What image should I install on VirtualBox for practising DevOps?

I would like to practice setting up a PHP / Apache web server from (almost) scratch, i.e.: Start with an Ubuntu OS. Install Apache Install any PHP packages I need Along with any hurdles I cross on ...
0
votes
0answers
154 views

Ubuntu 19.04 - Connection failed - Activation of network connection failed

A couple of months ago I've installed Ubuntu 19.04 on my 10 yo laptop and everything worked nice and smooth until 2 weeks ago when I had the idea to install OpenProject and Apache2. The installation ...
1
vote
0answers
47 views

How do I write an Apache .htaccess file to force a 'friendly' URL?

I have a small PHP MVC framework which runs on a droplet that uses Ubuntu and I'm trying to make all the URLs 'friendly'. From: index.php?u=controller/method/param To: controller/method/param For ...
1
vote
0answers
44 views

TMUX NewSession problem with php page

I have a problem, I have a garry's mod server wich i start with this command: ./gmodserver start In user gmodserver I'm trying to make a script wich i can execute with a php page for reboot my gmod ...
0
votes
1answer
283 views

phpMyAdmin/Chrome Unrecognized Content-Security-Policy directive 'referrer'

I tried to access my MySQL-Database via phpMyAdmin but it didn't work. Chrome put the following error in the console: Unrecognized Content-Security-Policy directive 'referrer'. I could not log into ...
0
votes
1answer
91 views

How can I redirect back from https to http URL's after I removed a SSL certificate of let's encrypt in apache2 & nginx

I configured a certificate of let's encrypt using certbot-auto and the https worked but when I was trying to remove the certificate of my domain using certbot-auto delete... my wordpress and ...
0
votes
1answer
96 views

Apache2 shutting down after a while

I build my own server on EC2 this weekend, everything goes well and my server is running, at least for a while, until shutdown. First of all, I'm starting the server with sudo service apache2 status ...
0
votes
1answer
22 views

Lightsail Domain requests timeout but IP works just fine

Previously asked here but got no responses and was wondering if any of you would be able to answer my question or experienced similar problems. I'm able to access my site via its IP address but not ...
0
votes
0answers
17 views

Apache alias do not show images with https

I have created an alias to store product images on a different drive as follow: ServerName multiplace.net.br ServerAlias www.multiplace.net.br ServerAdmin contato@multiplace....
0
votes
0answers
34 views

HTTPS to HTTPS reverse proxying

I have an ubuntu server v 16.04 with apache installed. I want to reverse proxy a web server. To be exact i would like to reverse proxy the OWA of my mail server. Internet users hit the url https://...
1
vote
1answer
213 views

I`ve installed php 5.3.24 in my UBUNTU 18.0.4 but unable to show info.php page

I`ve installed php 5.3.24 in my UBUNTU 18.0.4 but unable to show info.php page Last login: Thu Jul 11 06:59:31 2019 from 10.10.2.194 sagar@ubuntu:~$ lsb_release -a No LSB modules are available. ...
0
votes
1answer
83 views

PhpMyAdmin - I see only PHP code in the browser [duplicate]

I tried installing PHPMyAdmin in my local system. When started, it only shows the PHP code in the browser as you can see: What could be the problem, and how can I fix it?
0
votes
1answer
166 views

Apache2 is not executing php code

I'm new in linux system. I've problem with executing php code in browser. I've installed all packages, by using this command sudo apt install apache2 php libapache2-mod-php Add user to the root ...