Questions tagged [apache-httpd]

Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How can I allow Apache to read the status my git repo?

My website reports on the Git status (current commit and branch, mostly) so I can check at a glance whether it's up to date. This used to work, but the latest Git does not allow these things to be ...
user avatar
  • 311
-1 votes
2 answers
44 views

How to solve NO_PUBKEY 8C718D3B5072E1F5

I am facing a problem now when I do the following command on debian version 9.13: sudo apt-get update I get this error: Fetched 21.6 kB in 0s (34.9 kB/s) Reading package lists... Done W: GPG error: ...
user avatar
0 votes
0 answers
27 views

How to verify the enabled Ciphers through OpenSSL in RHEL 8.5

Our Java Application is functioning on RHEL 8.5 OS platform with TLSv1.2 protocol. Here, to improve the security, We want to enable only a few ciphers and need to block others. CIPHERS TO BE ENABLED: ...
user avatar
  • 21
0 votes
0 answers
11 views

SFTP jailed user access limited to an Apache webserver directory

I would like to create an SFTP jail for a user, jailed to an Apache webserver directory. User should access only /var/www/html/sftpaccess/ directory. Currently the /var/www/html/sftpaccess/ ...
user avatar
  • 394
0 votes
1 answer
18 views

What should be the equivalent logrotate script for CentOS 8

I have a logrotate script for some of my log files at our Ubuntu server. The script is give below. /home/*/logs/*log { su root root notifempty daily rotate 7 ...
user avatar
0 votes
0 answers
33 views

Is cdimage.debian.org running UNIX?

I recentlty visited the 'cdimage.debian.org' website and typed an incorrect URL. I obviously got a 404 error code; at the bottom of the Apache2 error page I saw this message: Apache/2.4.51 (Unix) ...
user avatar
  • 1
0 votes
0 answers
20 views

No loggin, no Ports except 21

Occasionally the server seems to freeze. But we find out, that FTP on port 21 is still available, while the Ports 80, 8080, 10000, our SSH-Port, which is not 22, and 443 are unavailable. Also the ...
user avatar
0 votes
0 answers
14 views

SSL Install on Ubuntu for Nextcloud - Apache2 FAILED

I want to express, I am still learning :) This is my first attempt at updating/installing an SSL certificate in any Linux platform. My SSL Cert expired for my Nextcloud server and so I created the CSR/...
user avatar
  • 1
0 votes
1 answer
35 views

How to enable TLSv1.3 in Apache 2.4.35 with OpenSSL 1.1.1?

My java application was installed on RHEL 8.5 OS Platform which has OpenSSL version 1.1.1. And the application was compiled on RHEL 5.6 OS platform where the OpenSSL version was 0.9.8. Also, the ...
user avatar
  • 21
1 vote
0 answers
30 views

How to use apachectl with systemd instances

I’m attempting to isolate sites and configurations using multiple instances of httpd via systemd as per this article. Everything seems to be working as expected, however when attempting to debug ...
user avatar
  • 123
0 votes
0 answers
10 views

some info in apache's KEYS file

There are few lines at the beginning of apche's KEYS file: This file contains the GPG keys needed to verify Apache Accumulo releases. To update this file, execute the following command after changing ...
user avatar
  • 35
0 votes
1 answer
49 views

How can I change the root directory of VSFTPD?

i want that the root of VSFTPD will be /var/www/html. How can I do? This is my configuration file # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This ...
user avatar
  • 3
0 votes
1 answer
10 views

request matching with RewriteRule returns permission denied

I am experiencing a bizarre apache error. I'd like to rewrite all requests from /api/media/fi/le/path.jpg to /media/fi/le/path.jpg This are rewrite rules setup in virtual host: RewriteEngine on ...
user avatar
  • 325
0 votes
0 answers
18 views

I need security help with .htaccess HTTP Headers (Apache Server) please!

I have now read through the handbook of Apache and tips in online forums. But unfortunately I don't understand it at all. https://httpd.apache.org/docs/current/mod/mod_headers.html The optional ...
user avatar
0 votes
0 answers
11 views

Ldap Authentication, searches, necessity

I currently have a client where I use several sites with ldap authentication using mod_authnz_ldap in apache2 For my understanding it is not relevant to search the authenticated user within the ldap ...
user avatar
  • 11
0 votes
0 answers
29 views

Can't connect to home server

Let's see if this community of wonderful people can help me: I have a home server (old computer running debian as a server) that I use to host a couple of node web pages, a nextcloud service and an ...
user avatar
1 vote
1 answer
60 views

Quickest way to run python script via apache on Debian (11)

So recently I wanted to remotely trigger a python script, apache was already installed and Im familiar with it so figured id look into that, another option would be to code a custom socket server in ...
user avatar
0 votes
1 answer
38 views

Apache server sometimes gets stuck for minutes with requests getting backlogged and waiting too much to be processed

I've got a production server with Apache 2.4.38 on Debian 10 and sometimes the web server doesn't function properly and doesn't immediately send a response to the HTTP requests it gets (All virtual ...
user avatar
0 votes
0 answers
38 views

Why do i get a forbidden error when i change the symbolic-link for typo3?

I am currently using Typo3 8.7.32 and would like to update to the ELTS version 8.7.45. I have tried to install the new version manually via the Plesk web interface. When I change the sym-link in the ...
user avatar
  • 1
1 vote
1 answer
50 views

Processing apache2.deb error "trying to overwrite /var/www/html" which is also in package nginx-common

Any time I try to run sudo apt install <package> I get the following output Reading package lists... Done Building dependency tree Reading state information... Done You might want to run '...
user avatar
0 votes
0 answers
36 views

Enable Mod Expires on Apache

I'd like to enable mod_expires on my server. I'm using Ubuntu and Apache. When I try to check if the module is enabled : ********:/etc/apache2$ sudo a2enmod expires Module expires already enabled My ...
user avatar
  • 191
0 votes
1 answer
37 views

analyse webserver execution time

I have 2 VMs which are almost the same, except for hostname and things that shouldn't matter (as far as I know). On these VMs I run nginx/1.14.2 as proxy with an Apache/2.4.38 webserver behind it ...
user avatar
0 votes
0 answers
14 views

how to configure network load balancer in oracle cloud and Apache of Oracle Linux

what I understood so far: if we add two computes with the same weight in a load balancer it will send the request to the based on the load balancer type to both the node; so both the nodes must be in ...
user avatar
0 votes
0 answers
15 views

cannot connect to ssh or www, only ping, no open ports reported by nmap

I have a Voyager linux on Rhodeus PC/104 SBC compact flash. Something happened and I can no longer access it via ssh or the web interface (apache). I cannot find anything in the logs (but i am not an ...
user avatar
  • 441
0 votes
1 answer
57 views

Do unix domain sockets support reuse?

Do unix domain sockets support reuse? Lots of conflicting information about this online. I suspect a lot of it is just outdated, but I'm no expert. Do I ProxySet enablereuse=on if my handler is a ...
user avatar
  • 694
0 votes
0 answers
99 views

apache2: "AH01630: client denied by server configuration: ..." for ScriptAlias

(Maybe similar to WSGI application, "AH01630: client denied by server configuration" but client receives page anyway) I'm running some CGI for years, and it works as intended, but the Apache ...
user avatar
  • 801
0 votes
1 answer
25 views

how to access TSL certificate locally

I have a valid letsencrypt certificate that is used by apache server. <IfModule mod_ssl.c> <VirtualHost *:443> ServerName mydomain.com SSLCertificateFile /etc/...
user avatar
  • 103
0 votes
0 answers
26 views

Correct symbolic link to load ssl module

I'm trying to replicate a server configuration for an old system, which uses old apache and php versions, specifically apache 2.2.4, in order to compile this version of apache, I had to install ...
user avatar
1 vote
1 answer
120 views

Stretch to Bullseye upgrade breaking /tmp paths when attempting to upload files

This is my first post in this forum, and I was compelled to come here due to the nature of this issue. Both my boss and I are stumped on what could be going on, and thus had to come to the experts ...
user avatar
0 votes
1 answer
46 views

Apache Web Server port 433 and Tomcat port 8080, redirect not working

I have a Java web application on CentOS on Google Cloud. I can access my web app with http://mydomain:8080. I wish https://mydomain (without 8080 in URL) to lead to application, but instead, I just ...
user avatar
0 votes
1 answer
61 views

Localhost does not honor installed NOT SELF-SIGNED wildcard cert

Linux: Ubuntu 21.10 HTTP Server: Apache/2.4.48 (Ubuntu) SSL Certificate Type: Wildcard SSL Certification Issued By: Sectigo Limited (i.e. NOT SELF-SIGNED) The problem: Mediawiki does an internal ...
user avatar
  • 203
1 vote
0 answers
17 views

Apache httpd not enforcing cipher order

I have an httpd server with the following options SSLCipherSuite 'EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!P SK:!...
user avatar
  • 9,316
0 votes
0 answers
18 views

How to make apache read htaccess

my document root is /data i've added <Directory /data> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> to my default conf below /Virtualhost but the ...
user avatar
0 votes
0 answers
17 views

apache rewriterule for tilda ~user folder

I'm trying to get domain.com/~userX folders working without using userdir. It works fine when the ~userX folders are in the server doc root doc folder, but there's too many and need to put them in a ...
user avatar
  • 1
1 vote
0 answers
276 views

Can't start or restart httpd service on Fedora 35

I use Fedora 35 and was trying to restart the httpd service but it keeps showing me an error. I've looked everywere for a solution but none seems to be working. Apache Version [root@fedora icaro]# ...
user avatar
0 votes
0 answers
35 views

apache2: where is the default virtual host config?

I am install apache2 on Ubuntu 18.04 using following command: apt install apache2 Then I am edit the file /etc/apache2/ports.conf to listen port 8090: # If you just change the port or add more ports ...
user avatar
  • 223
0 votes
0 answers
68 views

What is eating up my CPU?

I am facing a difficult situation. 100% CPU but I cannot see a singular process using much in top or htop. I run this command: :~$ ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 %CPU PID USER ...
user avatar
  • 407
0 votes
1 answer
48 views

Disable CGI script buffering for web browsers

I have a tiny CGI script written in Perl which prints numbers from 1 to 10 with 1 second interval: root@debian-s-1vcpu-1gb-fra1-01:~# cat /usr/lib/cgi-bin/test #!/usr/bin/perl use strict; local $|=1; ...
user avatar
  • 6,268
0 votes
0 answers
75 views

Problems with flask app with apache server

Just created a simple flask app that returns the string "hello world", it works and does what expected, If I use my http://localhost/ with the apache server enabled I will get the "...
user avatar
  • 1
0 votes
0 answers
40 views

allow apache to run a python program

How do I grant write permission to Apache only for a specific directory? I want to have a user enter (validated) information [a stock symbol] into a form and have matplotlib generate a plot that ...
user avatar
0 votes
0 answers
25 views

Blog's URLs not lining up with Debian Wordpress config

I'm having trouble with my current Debian Wordpress configuration. Wordpress has no issue reaching the correct the wp-content directory locally, but the URLs to myblog.com/wp-content/../../ are ...
user avatar
  • 1
1 vote
1 answer
54 views

Automatically moving forked processes in a different cgroupv2

I've been using apache2-mpm-itk with cgrulesengd in cgroupv1 to automatically classify the child processes that apache2-mpm-itk spawns when servicing web requests for different vhosts for about 3 ...
user avatar
  • 1,327
0 votes
1 answer
90 views

Port 80 is not available outside localhost

I have a wifi-access point at wlan0 ip 10.42.0.1 . At the same machine there is httpd runnig locally, and when i access it from local browser by 10.42.0.1 - i can see webpage perfectly fine. When i do ...
user avatar
  • 123
2 votes
1 answer
32 views

Linux - Make logfile accessible for users without permission to the folder of the logfile? [duplicate]

My apache server puts the logfile for my project under /var/log/apache2/foo_error.log I set the user and group to the ones of my project (foo:www-data) and I even tried to chmod to 777 (i know that ...
user avatar
  • 1,708
0 votes
1 answer
116 views

Is there some kind of hack that I can do to upgrade my Apache openssl from 0.9.8 to 1.1.1 ? Perhaps implement / recompile my own mod_ssl.so module?

I'm in desperate need for help. I've purchased a SSL certificate but my Apache server is running an old version of OpenSSL. Unfortunately I cannot re-install or re-compile Apache. It was installed ...
user avatar
0 votes
0 answers
55 views

LAMP server not executing PHP hello world

My goal is to set up a LAMP server to execute a PHP file. It must execute in PHP 5; the legacy project I'm working with won't work in PHP 7+. I followed the online tutorials to get my Apache server ...
user avatar
0 votes
1 answer
19 views

Fedora, httpd and different versions

I have two servers with Fedora 35 and the same httpd version machine 1> rpm -q httpd httpd-2.4.51-2.fc35.x86_64 and machine 2> rpm -q httpd httpd-2.4.51-2.fc35.x86_64 When I check the version ...
user avatar
  • 9,316
0 votes
0 answers
74 views

Why does Apache's mod-rewrite module process some GET requests and not process others?

I am trying to get mod_rewrite working. I'm experimenting with a very simple rule: RewriteEngine On RewriteRule ^/one /var/www/html/oldindex.html Here is the complete config file: /etc/apache2/sites-...
user avatar
0 votes
0 answers
103 views

In Apache config all my attempts to redirect all requests to index.html fail

I have an Angular SPA that should only request index.html. All other URL requests to this server are handled internally by the SPA. I want to redirect all 404 errs to index.html. [UPDATE: This post ...
user avatar
0 votes
0 answers
29 views

htpasswd on site with multiple container

I'm writing an http web interface to collect in a single point multiple GUI provides by 3 docker instances. Structure is basically ├── home page ==> running on localhost │   ├── gui 1 ==> hosted ...
user avatar

1
2 3 4 5
35