Questions tagged [apache2]

Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Implementation Shibboleth Angular\dotnet

I have a web app where the frontend is in angular and the backend is in .net this application manages the login\sign in through Auth0. I should replace auth0 and the federated authentication then, ...
Hold's user avatar
  • 11
0 votes
1 answer
11 views

I got error on apache2 server django application Failed to proxy response from daemon

The website works fine only for 1-2 requests, after which it starts loading endlessly and if I wait for some time I get an Internal Server Error. After this i reload the server sudo systemctl reload ...
Али Зейналов's user avatar
0 votes
0 answers
17 views

how to configure content security policy header in codeigniter 3

Please anyone provide solution how do I set the content security policy header in code igniter 3? I tried a lot but nothing happen. thanks I am doing like this $this->output->set_header('Content-...
Shubham Nayak's user avatar
-1 votes
1 answer
17 views

Increased the volume but not showing in the terminal AWS ubuntu

I have increased the volume from 8GB to 16 GB. I can see that in the AWS login but when I check on the terminal I am getting only 8GB. What command do I have to use to update in terminal? Filesystem ...
Naren Verma's user avatar
  • 2,202
-1 votes
0 answers
8 views

Apache2 on ubuntu [closed]

I have installed apache2 on ubuntu and is giving me exit code 126, but I cannot find any reference about it, or how to fix it, can anyone advise please? Thanks in advance! sudo apt-get remove apache2 ...
Rangat's user avatar
  • 1
-1 votes
1 answer
31 views

Unable to access locally hosted .php app from off network ip's

I am running a Ubuntu 22.04 home server I have apache2 and php installed # which php /usr/bin/php # which apache2 /usr/sbin/apache2 I wrote a little .php app for a the game Starfield i recently ...
Kadwen's user avatar
  • 49
0 votes
0 answers
8 views

Getting a link to an OWNCLOUD file with the file name

I have downloaded the debian12 apache php7.4 mariaDB config, I have deployed Owncloud, I want to use files uploaded to the cloud for external forms, I need to get links to files containing the file ...
lodoman14's user avatar
0 votes
0 answers
27 views

Error in installation of suitecrm on ubuntu

I have been trying to install suitecrm on my ubuntu. For this reason, I‌ followed a youtube tuturial when he hit the virtual host address, then the installation page opened for him.‌However, for me ...
Noman Mangalzai's user avatar
0 votes
1 answer
30 views

Running PHP in Docker Container httpd:latest

So I’m learning/experimenting with Docker - and I’m running the Apache Container from Docker Hub - Specifically I’m running the latest tag. Here is the command that I used:
 docker run --name ...
Carlos Sosa's user avatar
0 votes
0 answers
35 views

RedisException Connection Refused

I am new to programming. I have an AWS EC2 instance which was working fine... I have a Laravel project on it. I use Ubuntu and Apache2 on AWS EC2 instance. I rebooted instance from AWS. When it comes ...
Mustafa Arslan's user avatar
0 votes
0 answers
14 views

Can't access openproject from outside local

I've installed openproject on ubuntu 22.04.3 with apache2, and i can only access it locally. apache2/ports.conf: If you just change the port or add more ports here, you will likely also have to ...
Lautaro Aguilera's user avatar
0 votes
0 answers
21 views

All Pages and Post are redirecting to 404 Not Found in wordpress

I am using wordpress, I have created 3 pages and 4 posts on my website. I am able to access the front page but the rest of the pages are showing 404 not found, Same for post also. If I use some logic ...
Naren Verma's user avatar
  • 2,202
0 votes
0 answers
6 views

Apache2 Fastcgi php-fpm shows white page

Can anyone please provide me step by step the way i can run apache2 on fast-cgi on ubuntu 22.10, I tried several thing but either I get a blank page either errors I am on new installed Apache2 server ...
kos's user avatar
  • 1
0 votes
0 answers
15 views

.htaccess Problems with Rewriting Rules

I was playing around with .htaccess a bit today because I wanted to try creating flat-links. My code: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ...
Leuchtkeks's user avatar
0 votes
0 answers
18 views

.htaccess is only recognized when it is not specific to a particular file. Why?

I am currently trying to protect a file with a login on my Apache server using the .htaccess file. However, it only works when I don't use the following: <Files level1.html> # htaccess </...
Doct0r_Br1ght's user avatar
0 votes
0 answers
14 views

I keep getting a permissions issue related to CACHE when I set debug off in wger (open source workout manager)

I'm trying to set a personal wger app, and I've gotten to where I'm able to access and work on the site when I have the debug flag set to True. However, I'm trying to set it to False so I can use it ...
user2850818's user avatar
0 votes
0 answers
26 views

Apache geoip not show country

apache2ctl -t -D DUMP_MODULES geoip_module (shared) libapache2-mod-geoip is already the newest version (1.2.10-1). <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile /usr/share/GeoIP/...
ывапав's user avatar
0 votes
0 answers
7 views

React native web app served with apache2 server

I am trying to run a react native web app from an apache2 server. The app uses react-navigation library from @react-navigation/native-stack with linking={true}. The app works well on local development ...
Saadalla's user avatar
0 votes
0 answers
15 views

Ajax not loading with reverse proxy on apache2 with raspberry

I'm using apache 2 with reverse proxy configuration. While the websites from the the internal servers (192.168.x.x) are in priniciple loading correctly when accessed through the internet, the ajax ...
Peter Keller's user avatar
-1 votes
0 answers
15 views

2nd site hosted on same server redirecting to 1st site , apache 2server

I have 2 site hosted on same linode server with apache 2, site 1 and site 2, site 1 is working fine site 2 is redirecting to site 2, below is my config for both site <VirtualHost *:80> ...
Aldrin's user avatar
  • 25
0 votes
1 answer
21 views

How do I redirect an apache2 site from a non-existent virtual folder back to the root?

I have a redmine website. Works like this: https://redmine.domain.com/redmine I've moved services to a new server and now to reach it I only do this: https://redmine.domain.com So, the difference ...
breusshe's user avatar
0 votes
1 answer
72 views

Can't frame https://xxx-my.sharepoint.com because an ancestor violates

I got this error when I tried to (i)frame sharepoint.com : Refused to frame 'https://xxx-my.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-...
iKroZz44's user avatar
0 votes
0 answers
20 views

Apache redirect URL to Subdirectory

I have a problem serving an Angular application using Apache in a subdirectory. Because another Applicatition is running in the root directory, I serve the Angular application in a subdirectory in the ...
Er Ik's user avatar
  • 1
-1 votes
0 answers
13 views

How can I connect to different ports while staying on the same port for a game server?

I am trying to make a game like Agar.io, I have made a game server, and it creates 5 different servers for different modes such as FFA, Teams and others. I can connect to each of these servers from ...
Fase's user avatar
  • 1
0 votes
0 answers
17 views

Using apache2, how to redirect HTTP to HTTPS and non-www. to www. (and all the possible combinations)

I have an SSL certificate for a website that starts with www. And when I try to access without https it goes to the default apache page and when I try to access without the www it shows that the page ...
sbb's user avatar
  • 144
0 votes
0 answers
20 views

Apache2 Django - Remote MySQL Access Denied 1045 (28000)

Im having troubles to access from a Ubuntu Server using Apache2 to a remote MySQL/MongoDB database with python-mysql-connector. [wsgi:error] [pid 143490:tid 140602848225021] [remote 10.242.2.3:62831] ...
Samuel Grosser's user avatar
-1 votes
2 answers
39 views

PHP files are note interpreted after ubuntu release upgrade.. why?

I've upgraded an Ubuntu server from 18 to 22.04. PHP version is 8.1.2 Apache/2.4.52 After that, my .php files are not interpreted but apache2 show source code... Why ? Thanks
stighy's user avatar
  • 7,259
0 votes
0 answers
10 views

VirtualHost works only if you type the URL fully - my conf is probably wrong

I'm trying to make my URL link to my self-hosted website for both http and https. To that end, I wrote a VirtualHost in the apache2 conf file (in sites-available). It works only partially. Here is the ...
Zbub's user avatar
  • 1
-1 votes
0 answers
15 views

PHP Startup: Unable to load dynamic library 'pdo_mysql' php 8.2.9 [duplicate]

I'm installing a theme on my php based ubuntu 22.04 server. I've installed all dependencies, the theme works fine but there's one section that's not working. The error is as follows: [2023-08-20 15:...
Carmine Volpe's user avatar
0 votes
0 answers
20 views

react axios can`t get data from expressjs

everyone! I use Apache2 as proxy for reactjs <VirtualHost *:80> ServerName mydomain.com ProxyPreserveHost On ProxyPass / http://127.0.0.1:8082/ ProxyPassReverse / http://127.0.0....
plibr's user avatar
  • 31
1 vote
1 answer
47 views

.htaccess to different subfolders

I have following folder structure root - production - tool - wordpress - subfolder - subfolder1 - subfolder2 And a subdomain sub.domain.com where the root folder is ...
th3_sh0w3r's user avatar
0 votes
1 answer
60 views

Error when trying install Apache2 on Ubuntu 20.04

I'm trying to install Apache2 but encountered the below error. If I install Apache2 before install cpanel/whm, it works. But after install capanel/whm, apache2 cannot be installed. Please help me, ...
bathanhlsp's user avatar
0 votes
0 answers
32 views

Getting 502 Proxy Error while creating file html to pdf in node js

Everything is working on localhost, but I tried to upload code on aws server then I am getting 502 proxy error. Error is: Proxy Error The proxy server received an invalid response from an upstream ...
Deepak saini's user avatar
  • 4,110
0 votes
0 answers
21 views

Apache2: How to set Environment Variable inside External Auth Script

I'm using this plugin to validate a Personal Access Token of my users: https://github.com/phokz/mod-auth-external The username does not matter, I'm validating the PAT against an external service. This ...
JoJ's user avatar
  • 133
0 votes
1 answer
23 views

Mod_rewrite on localhost does not load the page

I'm trying to setup .local domain and redirect my localhost request to the respective folders. Currently the folder looks like this: Document root (localhost) = /home/user/www/, projects = /home/user/...
Ravi's user avatar
  • 868
1 vote
0 answers
13 views

How to prohibit SSL access for unbound domain names

I use apache2 to deploy websites. Now, I want to prohibit access for those unbound domain names. For port 80, I use below rules and it works! <VirtualHost *:80> ServerName 8.8.8.8 ...
Ropean's user avatar
  • 11
0 votes
1 answer
54 views

Bugzilla failed to fetch png and error 404/url not existing

Getting this error when running testserver.pl. root@bugzilla:/var/www/webapps/bugzilla# ./testserver.pl http://localhost/bugzilla TEST-OK Webserver is running under group id in $webservergroup. TEST-...
S3C's user avatar
  • 1
0 votes
0 answers
53 views

Why I don't need Content-type when my DirectoryIndex points to a Perl CGI script

I changed the file mods-available/dir.conf this way: DirectoryIndex /cgi-bin/csv_auth In csv_auth which is a Perl CGI script I have this: #! /usr/bin/perl ...
Marcos Camargo's user avatar
0 votes
1 answer
40 views

PHP Ratchet Websocket Server With Apache2 Not Working

I have a websocket server written in php, it's the Ratchet websocket server. I enabled wstunnel for apache. I also added ProxyPass in my website configuration This is my apache configuration for my ...
unsquaredcoder1's user avatar
1 vote
0 answers
20 views

Redirecting using Apache Mod Rewrite

I edited the file /etc/apache2/sites-enabled/000-default.conf and added <Directory "/var/www/html"> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ...
Gabriel Philips's user avatar
0 votes
0 answers
9 views

Virtual Hosts Directing to Another URL

I have multiple vhosts setup in apache2. 3 hosts to be exact. site1, site2, dev1. When I enable the dev1.conf it causes site2.com to show dev1.com. These are WordPress installs. site1.com shows as ...
David Morin's user avatar
0 votes
0 answers
29 views

Serve and render MHTML file in Apache webserver

I have saved some snapshots of websites in MHTML format. If I open them from local disk with Google Chrome, Brave or Safari the snapshots get loaded and rendered, graphics gets adjusted based on my ...
SavioD's user avatar
  • 11
0 votes
0 answers
23 views

Do I have to have two repositories for my Apache web server to avoid my php files being in the root path?

So, I am trying to keep my PHP files that handle user data stored in a DB out of the root path of my Apache web server "/var/www/html", I do understand that this adds an extra security layer ...
Jared Chinchilla's user avatar
0 votes
0 answers
15 views

how to open mediawiki database in phpmyadmin

I have just installed phpMyAdmin on my system and I want to access the MediaWiki database, but I can't see it in the left sidebar. I thought that I would be able to see the database automatically ...
Abdullah Diab's user avatar
0 votes
0 answers
42 views

how to have two installations of codeigniter 3.11

I have a requirement where I need to run two separate applications using codeigniter 3.11 where one is already running from root directory and other one should be run from a subdirectory on same ...
Aravinda B N's user avatar
0 votes
1 answer
25 views

Does apache2 have an equivalent to nginx -T?

I accidentally deleted mysite.conf in /etc/apache2/sites-available (instead of the sym link in /etc/apache2/sites-enabled). The site is still enabled, because I did not reload nor restart apache2 yet. ...
Selphiron's user avatar
  • 917
0 votes
0 answers
21 views

Flask WSGI application hangs when import transformers

I am trying to deploy flask wsgi server. The problem starts when in my app.py file I do following import - from transformers import MarianMTModel, MarianTokenizer. This makes my server hang and I don'...
Yevhenii's user avatar
0 votes
0 answers
317 views

Ubuntu 18.04's Standard Support ended June 2023. ondrej's PPA for php packages not working

First off, I'm no Ubuntu/server expert...to get PHP installed/upgraded on apache2, here's the series of commands I run: sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/...
Dan Wist's user avatar
0 votes
0 answers
8 views

Redirect all subdomains to another host keeping the same subdomain

I have a scenario where I need to redirect all subdomains (like *.mydomain.com) to be redirected to another host but keeping the same subdomain (like *.myanotherdomain.com). This is all on apache2. So ...
beNerd's user avatar
  • 3,334
0 votes
0 answers
31 views

AWS - Load Balancer + apache2 / Issue with 302 redirect response

I am a AWS beginner. I have set up EC2 (ubuntu) Apache2 web server (PHP/SYMFONY) and a load balancer. Everything works perfectly, except for responses contains 302 redirection. "Redirection" ...
bingo's user avatar
  • 150

1
2 3 4 5
159