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
0 answers
11 views

How set basic auth on port (apache2)?

On the : 3000 port running js app, how set basic auth there ?
0 votes
0 answers
12 views

Debian Php 7.0 Wordpress Problem

I am running a VM Based WordPress Local Website. I had to upgrade from Debian 9 to Debian 10 to update PHP (since Plugins required >=7.2 Version). Before upgrading to Debian 10 I had php 7.0. Now ...
0 votes
1 answer
25 views

No route to host when deploying apache2 config to httpd service?

I have a strange issue: so far I was using apache2 as proxy server (as docker container), 80 and 443 works without problems. Now I'm trying to migrate to httpd container (v.2.4.54). But as soon as I ...
0 votes
0 answers
42 views

SELnux errors in RHEL 8 : SELinux policy enabled , suEXEC mechanism enabled , No slotmem from mod_heartmonitor , OpenSSL/1.1.1k configured

Recently I installed SSL certificate for my linux rhel 8 server. Now, I am trying to load the application files it trows error [pid 3176151:tid 139812477512000] SELinux policy enabled; httpd ...
  • 1
0 votes
0 answers
39 views

Determine dimensions of GIF image

How can I determine the image dimensions I need to use on my site at http://orcacomputers.com? I want to ensure I get the correct image dimensions for a file named patten.gif. I have an Apache error ...
-1 votes
1 answer
45 views

File upload freezes with files >= 100MB

So I have a website where you can upload files, when you start an upload a progress bar pops up. If a file or group of files selected at once is less than 100MB the upload goes through and completes ...
  • 9
0 votes
0 answers
31 views

File upload freezes with files above 100MB [duplicate]

So I have a website where you can upload files, when you start an upload a progress bar pops up. If a file or group of files selected at once is less than 100MB the upload goes through and completes ...
  • 1
0 votes
0 answers
25 views

prohibit access to pdf files via URL

Simply I am trying to prevent access to all pdf files on my server from being reached and downloaded using URL Eg https://domain.com/test.pdf . What I succeed to do is : to prevent indexing them, but ...
0 votes
0 answers
20 views

How to create custom repo and make it available within network through Apache on Centos7?

So i need to create custom repo & make it available within network through Apache. Steps i did. sudo yum install createrepo sudo yum install yum-utils Got tools to create repo sudo mkdir –p /var/...
  • 1
0 votes
0 answers
34 views

I have an Apache2 CGI executable trying to use setgid()/setuid(). But it fails switching to root. How do I fix that issue?

My CGI executable starts as expected. At some point, though, it tries to become root (and then yet a different user). At that point, the CGI fails. Here is the pertinent code snippet: [...] int const ...
  • 2,419
1 vote
2 answers
48 views

RewriteRule overrides ProxyPass

On a centos 7 machine, I'd like to run a python server alongside an apache server. I figured the easiest way would be to configure apache as a reverse proxy. This is my VirtualHost configuration: <...
  • 365
0 votes
0 answers
7 views

I got Psych error while installing redmine

I am trying to install redmine (which is a ruby app ) in my centos 7 system. I worked fine. But when I clone the server that is installing my centos to another machine, redmine on the clone machine ...
0 votes
1 answer
45 views

How to install Apache, MySQL, PHP and Composer via apt?

I have Ubuntu 22.04 and I wish to install Apache, MySQL, PHP and Composer altogether via apt. How to install Apache, MySQL, PHP and Composer via apt? Something like this? apt install curl lamp-server^ ...
  • 13
0 votes
1 answer
30 views

Why apache server go faster after reboot?

I notice a significant performance gain after a reboot of the server (Apache Debian / PHP / MariaDB Mysql). For several weeks, the page loading time gradually increased from 50 ms to 150 ms and ...
0 votes
0 answers
56 views

core error - Script timed out before returning headers: wsgi.py

I'm running a Django app on Apache/2.4.6 (CentOS) with mod_wsgi. When I visit my domain, after few minutes I get "Internal Server Error". The log file shows the following error - [core:error]...
  • 1
0 votes
0 answers
14 views

Localhost (http-server) not loading on MacOS Sierra 10.12

I'm trying to run a private server on my mac using http-server. I thought it would be easier to use than apache2, because using apache2 the localhost page couldn't load. But the same issue occurred ...
0 votes
1 answer
72 views

Block access to an URL path by many IPs in .htaccess

I am only able to use .htaccess so <Location> and <Directory> are not possible. I am currently using this to block access by IP: <RequireAll> Require all granted Require not ip 1....
0 votes
0 answers
11 views

Trying to use apache on mac

I installed httpd (i used brew install httpd) and i started it by typing brew services start httpd, but when i search localhost on chrome i recieve the error message "this site can’t be reached&...
1 vote
1 answer
35 views

The most reliable way of testing XAMPP / Apache httpd performance [closed]

tl;dr What is the best / the most reliable way of testing and comparing performance of XAMPP / Apache server running on different computers and cloud services? If I need a high-level result (just a ...
  • 723
0 votes
0 answers
76 views

command not in docroot (suexec)

I'm setting up a server but when I'm trying to config suexec it's returning this error: [2022-05-21 17:10:53]: uid: (1004/scripts) gid: (1008/scripts) cmd: register.cgi [2022-05-21 17:10:53]: command ...
  • 48
0 votes
1 answer
132 views

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

My website reports on the Git status (current commit and branch, mostly, and also git ls-files --modified to show any files which have been modified directly on the server) so I can check at a glance ...
  • 321
-1 votes
2 answers
257 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: ...
0 votes
0 answers
180 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: ...
  • 21
0 votes
0 answers
40 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/ ...
  • 404
0 votes
1 answer
40 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 ...
0 votes
0 answers
41 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) ...
  • 1
0 votes
0 answers
22 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 ...
0 votes
0 answers
60 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/...
  • 1
0 votes
1 answer
184 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 ...
  • 21
1 vote
0 answers
48 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 ...
  • 123
0 votes
0 answers
34 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 ...
  • 229
0 votes
1 answer
1k 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 ...
  • 3
0 votes
1 answer
41 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 ...
  • 365
0 votes
0 answers
50 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 ...
0 votes
0 answers
13 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 ...
  • 13
0 votes
0 answers
46 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 ...
1 vote
1 answer
297 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 ...
0 votes
1 answer
423 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 ...
0 votes
0 answers
72 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 ...
  • 1
1 vote
1 answer
83 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 '...
  • 113
0 votes
1 answer
185 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 ...
  • 191
0 votes
1 answer
42 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 ...
0 votes
0 answers
30 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 ...
0 votes
0 answers
19 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 ...
  • 441
0 votes
1 answer
92 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 ...
  • 704
0 votes
0 answers
149 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 ...
  • 864
0 votes
1 answer
36 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/...
  • 103
0 votes
0 answers
70 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 ...
1 vote
1 answer
271 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 ...
0 votes
1 answer
167 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 ...

1
2 3 4 5
35