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
15 views

Access wordpress blog on subdirectory /blog that is running on subdomain

I have my main site https://mysite.com in nextjs and wordpress blog on subdomain https://blog.mysite.com. They both are hosted on different servers and diff hostings. I need my blog to be accessible ...
kunal saxena's user avatar
2 votes
1 answer
27 views

Docker container fails to answer respond to HTTP request from host machine

I want to deploy an API on a server (Ubuntu 18.04) with Docker (container: Ubuntu 22.04). I previously deployed the API with the same config on another server without any issue. While being built ...
Seglinglin's user avatar
0 votes
0 answers
23 views

Troubles with installing redmine on linux server Ubuntu 22.04.4

i got problem with REDMINE.. Could you please help me? I try describe everything i did I made this install sudo apt-get install apache2 libapache2-mod-passenger After configure file /etc/apache2/...
pracovniai's user avatar
-1 votes
0 answers
23 views

Does mysql revoke user privilege automatically?

I'm a beginner learning to use apache, phpmyadmin, and mysql on Ubuntu. In the Ubuntu console, I'm logged in as root and created a new user 'new_user'. Then I run: GRANT ALL PRIVILEGES ON *.* '...
RoomTemperature's user avatar
0 votes
0 answers
26 views

I am trying to setup a a reverse proxy with SSL and Apache2

I have installed an SSL certificate from No ip. When I try and restart Apache2, I receive this error: AH02572: Failed to configure at least one certificate and key for reverse-proxy.internal.cloudapp....
austenskinner's user avatar
0 votes
1 answer
55 views

Installing PHP5.3 for Ubuntu 20.4/22.4 for LAMP

I'm trying to install PHP5.3 on an Ubuntu server, I've tried the following: Installing PHP 5.3 in Ubuntu 14.04 (Make has errors and then stops apache server) https://gist.github.com/szihaj/...
Nichm's user avatar
  • 1
0 votes
0 answers
22 views

How to Install WordPress and Magento2 in ubuntu 22.04 using apache2?

I hope you can understand what i am going to ask you, about installing two applications in ubuntu using apache2, I installed Magento2 in var/www/html/ and I want to install WordPress on var/www/...
Naveen Raj Kumar's user avatar
0 votes
0 answers
42 views

Modifying apache2.conf AllowOveride All gives 500 Internal server error

I'm trying to migrate a test website from a hosted domain to an OCI ubuntu 22 instance. The instance works ok, i've installed apache2 and php. I also copied my files to the instance. However, my ....
Andrei's user avatar
  • 11
1 vote
0 answers
71 views

After installing apache2 it gives 403 Forbidden error

I installed the apache2 server on Ubuntu and after success, when I tried to hit the URL to check whether it worked or not it threw 403 Forbidden error instead of showing Apache's default page. I ...
Kashif  Sohail's user avatar
3 votes
1 answer
1k views

I uninstalled my apache2 from Ubuntu, now I am unable to reinstall it

I Uninstall my apach2 from Ubuntu because it looks not working now I tried to install it again with the command sudo apt install apache2 and I can see the below errors E: Failed to fetch http://...
Kashif  Sohail's user avatar
-1 votes
0 answers
32 views

How to set up Apache WordPress and nginx Django on the same domain

please tell me I have an Apache server, it has a WordPress website, it is located on the domain smk-stb.ru . I want to install nginx gunicorn Django on this domain smk-stb.ru/Django .I don't want to ...
Denise 's user avatar
1 vote
0 answers
62 views

Why are files missing from directories when viewed from web?

I am really puzzled by the behaviour of Apache 2 in displaying files contained in folders stored on my unix server. Until recently I had assumed that I could navigate through listings displayed on ...
Norman Friend's user avatar
0 votes
0 answers
19 views

Setup to View Dev Site Via localhost

I'm using Ubuntu 22.04 and PHP 8.1.2 (just noting the php in case it matters) I have a few Live working websites I manage. I would like to set up my local machine to be able to view changes in a ...
John Cowan's user avatar
0 votes
2 answers
115 views

sym link in Apache used to work but is now forbidden

I'm in the process of setting up a new computer; the old setup was Ubuntu 20.04 LTS; and I had placed a sym link to allow apache to access my content. sudo ln -s /home/ed/mystuff /var/www/html/stuff ...
Ed Beighe's user avatar
1 vote
0 answers
299 views

AH01276: Cannot serve directory /var/www/html/public

I am running laravel project on ubuntu with apache2 server and getting the below error when anyone download any invoice/shippment lebel. The url I am accessing is https://staging.myweb.com Forbidden ...
urfusion's user avatar
  • 271
0 votes
0 answers
64 views

Transmission reverse proxy wont to find peer's

I'm new in Ubuntu! Today I put transmission-daemon behind the apache2 web server using reverse proxy, get SSL certificate to my.domain.com and have https:// access using web interface with port 9091 ...
Slavy Ivanov's user avatar
0 votes
0 answers
13 views

VirtualHost & Proxy with Location

So I have a docker/nodejs daemon running with an imager located at port 3030. This code below works fine for when accessing imager.mydomain.online to reach the correct folder. The folder contains a ...
TheMeisterSE's user avatar
-1 votes
1 answer
33 views

Apache server unresponsive due to multiple instances of process

Good day, I have a VPS server with LAMP setup. As a couple of days I have a huge spike in process and I don't know how to investigate this cause. Here is the output of the htop command https://ibb.co/...
croppio.com's user avatar
  • 1,509
-3 votes
1 answer
107 views

I want to to disallow everything except ssh, e-mail, and http [closed]

If I use: sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow ssh sudo ufw allow http ...etc sudo ufw enable To block the world from entering my website execpt certain ...
Dan's user avatar
  • 5
1 vote
1 answer
46 views

Path of file in Ubuntu for JS

This maybe possible duplicate, but didn't found exact problem as me. I have a Ubuntu server, which running Flask over Apache, problem is I have next path: /var/www/someapp/video.mp4. And app.py file ...
onecopyman's user avatar
0 votes
0 answers
47 views

Apache2 on Ubuntu 20.04.6 LTS Responding to Facebook Link Scraper with HTTP 418 "I'm a Teapot"

I have a hosted virtual private server running Ubuntu 20.04.6 LTS, recently upgraded from 18.x LTS. It’s running an Apache2 web server with a single domain. Since the upgrade it’s no longer possible ...
RoryG's user avatar
  • 1
1 vote
1 answer
225 views

Apache v2.4 is serving HTTP over port 443 aka enable https in apache2 with vhosts

I am running into this trouble on Ubuntu 20.04. It looks a lot like a number of similar ones but, after hours of attempts it turned out it is not the usual one. I used certbot --apache to add HTTPS to ...
EnzoR's user avatar
  • 1,717
0 votes
0 answers
116 views

Getting error 503 after unexpected shut down of zammad server

Infos: Used Zammad version: 6.2.0-1704877727.2bda00c4.focal Used Zammad installation type: package Operating system: Ubuntu 20.04 Browser + version: Brave, Edge, Firefox I am running Zammad instance ...
feanor's user avatar
  • 1
1 vote
1 answer
719 views

Unrecognized accessed paths - is my server being attacked?

My website seems to be having some malicious visitors and crashing my site often. I am now tracking what they are doing on my site. In my log, I found out they are accessing the following paths ...
Run's user avatar
  • 2,619
0 votes
0 answers
27 views

PHP ImageMagick how to fix child pid 43129 exit signal Abort (6), possible coredump in /etc/apache2

When I run any ImageMagick processes in PHP, nothing happens for a moment, then the browser shows The connection was reset and the Apache error log reports child pid 43129 exit signal Abort (6), ...
DonP's user avatar
  • 386
0 votes
0 answers
35 views

Error compiling apache2.4.25 on Ubuntu 22

I'm trying to compile apache2.4.25 on Ubuntu and APR and APR Utils are already installed, OpenSSL was version 1.1.0h and Im getting some erros like: /usr/local/apr/build-1/libtool --silent --mode=link ...
Shinomoto Asakura's user avatar
0 votes
0 answers
40 views

How should I set up privileges so that Apache can access my site's files? [duplicate]

I use Apache as Web-server for my site. My site is in /home/reiji/Documents/native_project_2 folder. Now, folder /home/reiji have access rights equal 750. With such rights Apache can't access to my ...
Reiji Akkerman's user avatar
0 votes
0 answers
45 views

NGINX reverse proxy with Apache shows default Apache index page

I have a server that had Apache installed first. Subsequently I installed NGINX in order to have it reversed proxy to Apache. According to /etc/apache2/ports.conf Apache listens to port 8090 Listen ...
IHateCoding's user avatar
0 votes
0 answers
220 views

OpenSSL extension not available for PHP8.1 on Ubuntu20.04?

I am running a local website using: Contao 4.13 CMS Ubuntu 20.04 Apache2 PHP 8.1 I've upgraded said website from running on Contao 3.5.40 and PHP 5.6. The contents of the website are displayed as ...
Mesarich's user avatar
0 votes
0 answers
49 views

I have followed the entire procedure correctly to install Apache Tomcat but I'm getting error Access Denied

enter image description here403 Access Denied This is the error I am facing when I try to run my Apache Tomcat Server in localhost:8080 I have edited the roles and users correctly also there's no ...
Dexter's user avatar
  • 1
0 votes
0 answers
25 views

Certbot and htdig fail with 301 error

I'm building a 2-domain webserver using Ubuntu 23.10 and Apache2. Most of the functions work including certbot for one domain. I've set up the directories for domain1.com and domain2.com. SSL works ...
M W's user avatar
  • 11
1 vote
2 answers
246 views

Apache starting automatically with the system

Using 22.04 on a laptop. I have XAMPP installed, but when I try to start XAMPP through Terminal, it says Starting XAMPP for Linux 8.2.0-0... XAMPP: Starting Apache...fail. XAMPP: Another web server ...
user227495's user avatar
  • 4,069
0 votes
0 answers
46 views

Why resources are not loaded with http2

I have enabled http2 with apache , <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin contact@***.com ServerName dev.***.com ServerAlias dev.***.com Protocols h2 ...
hous's user avatar
  • 225
0 votes
0 answers
29 views

Hosting Web data in different location

I have practically run out of space in my root filesystem - just 60 Gb free, although it puzzles me why all my /media is included in that statistic. I have an Apache web server on my Ubuntu 22.04 ...
user78290's user avatar
  • 135
0 votes
1 answer
69 views

Ubuntu Apache2 main DocumentRoot doesn't change

I've made a test machine with a basic MediaWiki install. Now I want to go to the Wiki with just the IP address and not having to type IP/MediaWiki. If I go to the IP address it shows me the Apache2 ...
Sub's user avatar
  • 1
2 votes
2 answers
2k views

"The requested URL was not found on this server." When runnnig a Contao website on Ubuntu 20.04.6 LTS?

I've received a website that uses the Contao 3.4.50 CMS with my mission being slowly upgrading it to the newest version but first I need to get the entire website working on my localhost. I am using: ...
Mesarich's user avatar
0 votes
0 answers
75 views

Apache2 installation fails on a Ubuntu computer with no access to internet

I am trying to get apache2 installed on a Ubuntu 23.10.1 (desktop) computer that doesn't have any access to internet. But running into errors. I have looked through a lot on the askubuntu forum and ...
SRT's user avatar
  • 1
1 vote
1 answer
1k views

Trouble updating PHP version used by Apache on Ubuntu 22.04

I have multiple PHP versions (8.1/8.2/8.3) installed on my Ubuntu 22.04 system. I'm trying to switch between them using the sudo update-alternatives --config PHP command. However, I'm facing an issue ...
Zahirabbas's user avatar
1 vote
1 answer
196 views

Apache shows Python code instead of execute it

VPS server running Ubuntu 22.04, Apache 2.4.18 and Python 3.5.2 When I try to access a webpage on that server it shows python code instead of execute it... Last guide I tried was this: https://...
Art's user avatar
  • 13
0 votes
0 answers
85 views

Ubuntu 22.04 Server will not play mp4 Files from Samba File Share

I have a Web Server running Ubuntu 22.04 LTS. The Server will not play mp4 file that are mount by a samba file shares from a TrueNAS server. The mount point exists on server but when I open up Dev ...
Frederick Kubberness's user avatar
0 votes
0 answers
278 views

Can't Install OCI8 on Ubuntu 23.10 PHP 8.2

I'm running Apache 2.4 on a Ubuntu 23.10 server with PHP 8.2 and I can't install the OCI8 extension in order to connect to Oracle. I installed the Oracle instant client 12.2 and php-pear. When I run:...
arthur k's user avatar
-1 votes
2 answers
229 views

How to manually create your own nameservers and manage multiple domains(without the help of control web panels) [closed]

I would like to know how to create your own name servers and manage them on your own ubuntu server(so they will no longer be configured on the domain registrar panel). Like, for example, I would take ...
Bestmank's user avatar
1 vote
1 answer
376 views

How to connect to Apache2 server. Ubuntu 22.04.3 LTS

I'm trying to setup a OSticket website for my company. I followed along to this guide on YouTube. I set up a .conf file and loaded it into the sites-available directory. Ran a2ensite and restarted ...
Anders Olsen's user avatar
1 vote
1 answer
350 views

Not getting the login page after installing the phpMyAdmin

I have tried so many times but still, I am getting a blank screen while accessing the phpMyAdmin page. I have checked on google but haven't found the solution. I have deleted the PHP, MySQL and ...
user9437856's user avatar
0 votes
1 answer
49 views

Ubuntu Server showing white blank phpMyAdmin

My VM Ubuntu Server returning white blank phpMyAdmin I used this for installing my phpMyAdmin: sudo su sudo apt install unzip wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-...
Alvino Daf Oliver Tular's user avatar
0 votes
0 answers
75 views

Openstack Dashboard Horizon - Empty reply from server

I’m trying to do a manual installation of Openstack following the documentation (https://docs.openstack.org/2023.2/#install-guides). I have successfully installed keystone, placement, glance, nova and ...
mirawara's user avatar
0 votes
1 answer
94 views

All my subdomains which I haven't setup on server loads my phpmyadmin virtualhost configuration by default

I have done setting up a sub-domain on my ubuntu server for my phpmyadmin, which is working fine. If I created a new sub-domain in my DNS and make it to point on the ubuntu server loads my phpmyadmin ...
Mano Mahe's user avatar
0 votes
0 answers
41 views

virtual host2 returning data from virtualhost 1ubuntu 22.04 / apache

pls. I have on apache server disabled default host (a2dissite 000-default.conf). I had at first installed virtual host1 for 1st domain and all has been working. After I set up 2nd host for 2nd domain (...
Hrk.skk's user avatar
0 votes
1 answer
49 views

Though I uninstalled the apache2 in my ubuntu 20.04 Azure VM, apache2 -v command giving me the current installed version

I have the Azure VM is of Linux (Ubuntu) -20.04. Long back, installed the apache2 (version is 2.4.41). Now I have tried to uninstall apache2, nginx but when I enter apache2 -v command in the azure vm (...
Jashua Criss's user avatar
1 vote
1 answer
424 views

Why am I seeing Apache2 Default Page while using nginx

This is my first time setting up virtual server with Ubuntu and I have some questions regarding Apache2. When I turn the virtual server on, it was started with lightppd. Since (I thought) I'm more ...
Dean Debrio's user avatar

1
2 3 4 5
92