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

Getting a blank screen after installing the PHPMyAadmin in the ubuntu server

I am new to AWS setup. I am trying to install Apache, PHP, and PhpMyAdmin on the server. I have tried the below steps.  1. Created Instance.  2. Tried the below command to log in to the Instance using ...
0 votes
0 answers
14 views

unable to access Apache Virtual Host without www

I was able to setup apache virtual hosts and was able to access the two sites below using the full links: www.ilovelinux.com/ www.linuxrocks.org/ I am however only able to access www.ilovelinux.com ...
  • 1
0 votes
0 answers
22 views

ubuntu 22.04 (92)Protocol not available: AH00076: Failed to enable APR_TCP_DEFER_ACCEPT

I am new to Ubuntu. I have windows 10 installed and UBUNTU22.04 version on my computer. I want to install opencpu and when I write this code "sudo apachectl restart" on Ubuntu I receive this ...
0 votes
0 answers
11 views

What should MaxRequestWorker Value for t3.xlarge ec2 instance?

Because of hundreds of requests per minute our server was crashing frequently. Then I came to know that I have to increase MaxRequestWorker value. I increased value from 200 to 700 and now it is ...
0 votes
0 answers
37 views

Generated SSL Certificat for my website is not working

I generated a SSL Certificat with the terminal. Installed it but when i enter my domain in a browser it says: "ERR_SSL_PROTOCOL_ERROR". What can I do? I created the ssl via: openssl req -new ...
0 votes
1 answer
40 views

My ubuntu vm has a weird ip address. Cant Portforward my apache server in my router settings with it

I created a simple apache2 server on my ubuntu virtual machine. Now I want to make it accessible to devices outside my network. I did the same thing with my windows computer. Did the port forwarding ...
0 votes
0 answers
23 views

Remove virtual hosts apache2

I have a server with apache2, certbot and other stuff. I have a bash script that creates new sites for me based on subdomains. That script just adds new virtual host files and creates an SSL ...
1 vote
1 answer
36 views

Getting 404 on local apt mirror, but can download the files using wget

I have a local 22.04 mirror used by a number of servers who does not have access to the internet. The jammy mirrors are working perfectly, but yesterday I was tasked with adding the Ondrej PHP PPA to ...
  • 13
0 votes
1 answer
49 views

Cant get mysql db to update from php website xubuntu 22.04-mysql 8..0.3 php 7.4.30

I'm not that good with code and basically copy and modified stuff to get it to work for my purposes without fully understanding it. Now I'm having issues trying to create a webpage that will allow me ...
  • 2,731
0 votes
1 answer
24 views

Php file shows as plain text in Chromium

ive upgraded recently from 20.04 to 22.04.1 Im facing that when im executing the typical file phpinfo file,containing only: <?php phpinfo(); ?> instead of showing the usual php info tables it ...
0 votes
1 answer
36 views

Set permissions on a specific user for /var/www

I have a standard user on an Ubuntu 22.04 Desktop VM named "user1". The VM is running apache2. I would like user1 to not be able to access the contents of the folder /var/wwww to keep the ...
0 votes
0 answers
19 views

Setup PHP5 with MySQL module in Ubuntu 20.04

I'm trying to setup legacy PHP project which uses PHP5 in WSL(Ubuntu 20.04). I'm facing some difficulties while installing PHP5 and MySQL module. I've configured the PHP5 environment but couldn't ...
  • 101
1 vote
0 answers
40 views

Cant initiate break points with Xdebug through dbgpProxy on multi-site dev server

I manage a setup with multiple developers using a "developer" Apache Server with PHP 7.4. Since the Ubuntu 20.04 server is running in a private range in AWS, access is only allowed thru a ...
0 votes
0 answers
20 views

Apache2 failed to start downgrading PHP to 7.4 on Ubuntu 22

After downgrading php version from 8.1 to 7.4 If I restart the apache2 it fails sudo a2dismod php8.1 sudo a2enmod php7.4 systemctl restart apache2 I get below error apache2: Syntax error on line 146 ...
0 votes
0 answers
17 views

Restrict 100 IPs using Virtual Host in Apache

I need to control few 100+ Ips using Apache’s Virtual Host. I have tag inside tag with below config. <Directory “/usr/…”> … AllowOverride None Require all granted .. </Directory>...
0 votes
1 answer
32 views

How can i add a ssl for the port 8080? In apache2 ubuntu 20.04

I was trying to add my ssl certificate to port 8080 but when I enter via https it tells me this error: ERR_SSL_PROTOCOL_ERROR This is my subdomain_maindomain.onlin.conf: <VirtualHost *:80> ...
  • 1
0 votes
2 answers
99 views

Apache Preset is Disabled

When I check the status of Apache, I see this: ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: disabled) The preset is disabled. How ...
0 votes
0 answers
21 views

Diagnose Ubuntu 20.04 delay, hang, freezing, unresponsiveness

I have a system where individual processes will run for a bit, then grind down, pick up again, slow down again... Sometimes multiple processes freeze. Sometimes the entire system is unresponsive. I ...
  • 187
0 votes
0 answers
56 views

server is temporarily unavailable (503 error). httpd not found, need method to install httpd

I am running a local web server with multiple web sites using shared ip. Recently I upgraded to Ubuntu 22.04.1 LTS and I just now found that only one of my sites is working normally. I can't say for ...
0 votes
1 answer
817 views

Apache2 server cannot start

I am trying to start the apache2 server installed on Ubuntu 22.04 LTS Desktop. However the restart failed and from what I can see in the error log, it is related to my configuration. However I cannot ...
  • 123
0 votes
0 answers
17 views

Monitoring thread usage of Apache

I'm trying to devise a method to detect low-and-slow DDoS attacks like Slowloris/Slow POST by using command line tools to look for signs of resource abuse on the server, like a spike in CPU/RAM usage ...
  • 454
0 votes
1 answer
36 views

apache2 redirect going to default domain

I'm trying to redirect all requests for ardsley73.com (or at least www.ardsley73.com) to www.ardsleyhigh73.com. I tried the following rewrite rule in sites-available/ardsley73.conf, but after enabling ...
0 votes
1 answer
147 views

Troubleshooting Apache2 in Ubuntu Server 22.04

When trying to update my system with sudo apt update and sudo apt upgrade, Apache2 is throwing an error and preventing my system from updating: $ sudo apt update Hit:1 http://us.archive.ubuntu.com/...
0 votes
0 answers
51 views

job for apache 2 service failed because of control process exited with error code help

what do i do ? 35.236.20.187ecass@lending-log:~$ cd /etc/apache2/sites-available/ ecass@lending-log:/etc/apache2/sites-available$ sudo cp 000-default.conf emylending.com.conf ecass@lending-log:/etc/...
  • 1
0 votes
0 answers
43 views

apache2.conf file

I am trying to use the Mod_auth_form to control access and permissions of web files/pages But I am facing some problems I think with the apache2.conf or in my case (virtual host file.conf) I am ...
  • 1
0 votes
0 answers
33 views

mod_auth_form apache2 is not working?

I am using ubuntu with apache2 as my web server I wanted to use some kind of authenticator to make sure only signed in users can access files and other web-pages For example: every one can access ...
  • 1
0 votes
1 answer
106 views

Where to find Wordpress directory on Ubuntu 20.04

I installed Wordpress and every dependency on my Linux from the terminal. I ran into problems soon after as I could not upload files larger than 2MB. I edited the php.ini file, then I wanted to edit ...
0 votes
1 answer
85 views

why does do-release-upgrade 20.04->22.04 install apache httpd?

Just upgraded 20.04 to 22.04 and it went great (short of 1 minor bug), and to my surprise, do-release-upgrade installed apache httpd! unfortunately I need port 80 for other stuff, leaving me with 2 ...
0 votes
1 answer
121 views

MySQL Issues on Ubuntu Server 22.04

I've an Ubuntu Server 22.04 installed on VPS. Then, I install a Apache + PHP and all works correctly at this moment: Commands used: sudo apt-get install apache2 -y sudo apt install mysql-server-8.0 -y ...
0 votes
0 answers
29 views

How can I run apache2 server with the same domain as my frontend?

I've seen that servers in different sites run as a part of main domain but I can not do it. Example: site: www.example.com server www.example.com/server In configuration file for apache server in ...
0 votes
0 answers
17 views

Gost Apahche2 Processes Can Not Be Removed

I have a 20.04 server installation. Once I installed apache2 http server and switch to nginx.. Before to do that I run the following command to clean uninstall sudo apt-get remove --purge --autoremove ...
0 votes
0 answers
23 views

Mate download links broken?

For some reason I can't download the newest Mate version. All links and options are not working or can't be found on Apache server. I have a reliable internet connection and my laptop is plugged in, I ...
0 votes
0 answers
12 views

Permissions changed after vhosts setup

I have running php project on Ubuntu 20 , After having configured for it apacher vhosts , the permisssions of the folder and its content has changed and become not writable , How can I prevent this ...
0 votes
0 answers
25 views

need to setup environment variables for php code

cloud --- AWS, server -- ubuntu, Webserver --apache2, servers -- UAT and PROD, In my Organisation we are using source code has Php,And the code consists all api urls ,passwords ,security credentials(...
0 votes
1 answer
94 views

Apache2 fails because of www-browser

Running an Ubuntu LAMP server for months suddenly no longer works. Apachectl status gives an error 113: www-browser : not found. Maybe you need to install a package providing www-browser or you need ...
0 votes
0 answers
8 views

Windows Admin trying to get SSL to work on an Apache/Ubuntu system [duplicate]

I'm reframing/reposting this question to address issues with the previous post. domainadministrator@svrvost02:/etc/ssl$ apachectl -t AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/...
0 votes
1 answer
40 views

Windows admin trying to configure SSL on a Ubuntu/Apache server

I'm trying to get the SSL updated on a Ubuntu/Apache server. I've put the files into the proper places, but the config validator says it can't find the .key file. I've verified that the file is there, ...
0 votes
0 answers
32 views

APache2 Virtual Hosts Problem

I am trying to setup 3 virtual hosts for my apache2 server and I'm having a major issue. All I'm getting is the default apache2 page. I have created 3 conf files. chroniclesofantara.conf <...
0 votes
1 answer
57 views

Install a CDN on a subdomain in a different IP: error 523

HAPPY MONDAY I have Ubuntu running on 2 servers: Server1: Docker, Cloudflare-OZNU-API and Nginx Proxy Manager, wildcard for: domain.app and *domain.app. Server2: Apache2 - PHP7.2, Certbot for DNS-...
  • 1
0 votes
0 answers
77 views

Cannot read a file from user in group

I've a file which permission are -rwxrwxr-x 1 an-user www-data 1094 Jun 9 09:42 myfile The group is www-data, so any one in the www-data group should be allowed. When trying to read the file through ...
2 votes
1 answer
80 views

Why does apache2 not show on tcp4 ports although it is listening on both tcp4 and tcp6 ports by default?

Why does apache2 not show on tcp4 ports although apache2 is listening on both tcp4 and tcp6 ports by default ? $ alias nocomment alias nocomment='egrep -v "^(\s*#|$)"' $ nocomment /etc/...
  • 1,615
0 votes
1 answer
52 views

I cannot find the nextcloud webserver or php on ubuntu 22. 4

I managed to install nextcloud on ubuntu. Nextcloud is working fine but I still have some configurations to do. I cannot find apache2 config files or php or even nextcloud. whereis apache2 returns ...
  • 1
0 votes
0 answers
26 views

I installed wordpress on ubuntu, but as I run "sudo su", then "cd /var/www" then "ls", I see there is no wordpress directory. How can I solve this?

I installed WordPress on Ubuntu according to the website https://www.journaldev.com/24954/install-wordpress-on-ubuntu, and I am now trying to find the URL of the website. For that, I am following this ...
0 votes
1 answer
91 views

Internal server error after restart apache

I'm receiving this message in log after update the PHP version and restart apache server [Sat Jul 30 18:13:31.561595 2022] [mpm_prefork:notice] [pid 21950] AH00169: caught SIGTERM, shutting down [Sat ...
0 votes
0 answers
187 views

The requested URL was not found on this server only (works on localhost) Nominatim

ubuntu VERSION="20.04.4 LTS server Aruba Cloud Hi, i've succesfully imported Nominatim database. Development server works, apache2 server works but only locally, meaning : curl 'localhost/...
0 votes
0 answers
26 views

apache not public event NAT

i have issue by default i make the Apache public to access form outside but now i cant my public ip open the router page , i try to add port from /etc/apache2/ports.conf and from NAT and check it ...
1 vote
0 answers
518 views

phpMyAdmin This page isn’t working right now on ubuntu 20.04 and PHP 8.1

After a couple of days and countless hours.. I have failed. I'm trying to setup a fresh Linux server running Ubuntu 20.04, Apache 2, Mysql, and PHP 8.1. I ran into an issue right after the phpMyAdmin ...
0 votes
0 answers
111 views

I am not able to install apache2

I am trying to install apache2 by using sudo apt install apache2. I am getting error : Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages ...
0 votes
0 answers
9 views

Hosting apache mod_userdir on seperated hostnames

I want to host user directories on different hostnames, with the hostname pattern <username>.users.thost3.de, instead of the traditional thost3.de/~<username>. Here are some examples: ...
  • 534
0 votes
0 answers
84 views

Why does my apache server stop responding to HTTPS requests

I have set up a new Apache server on Ubuntu 22.04. The server uses Let's Encrypt for certification. When I start the Apache server, I am able to access the server via https with no slowness or other ...
  • 101

1
2 3 4 5
89