Skip to main content

All Questions

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

Config a CwPanel local server to read local domains

I have the following situation: I have a local test server where I use Almalinux 8 with CWPanel. I have several test domains configured on it: 192.168.1.50/~virtual 192.168.1.50/~cliente 192.168.1.50/~...
EvandroPH's user avatar
1 vote
0 answers
40 views

Nasty character encoding issue

I have been using a FOSS software written in perl (sql-ledger) for many many years. Currently self hosted on CentOS 7. For some reasons, I need to update OS to a higher version (preferably Rocky/Alma ...
sse450's user avatar
  • 11
0 votes
0 answers
374 views

CentOS - Apache MaxRequestWorkers issue

I've had a problem with Apache since this morning, I can no longer access the websites. I get the error: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting I'm ...
Matteo Cigognini's user avatar
0 votes
1 answer
412 views

Clients of a site are getting SSL_ERROR_HANDSHAKE_FAILURE_ALERT (Firefox) and ERR_BAD_SSL_CLIENT_AUTH_CERT (Chrome)

I'm running a site in AlmaLinux 8.8 (Centos) and Apache 2.4.56. The site has a self-signed certificate. When I access the site, I get the usual warning due to the self-signed certificate. After ...
ePi272314's user avatar
  • 101
0 votes
0 answers
120 views

I cannot get environment variable from apache

On a Centos 8, I added a SetEnv into my VirtualHost conf: <VirtualHost *:XXXX> Alias /static/ /opt/industrialisation/xxxx/xxxx/xxxx/ <Directory /opt/industrialisation/xxx/xxxx/> ...
timothepoznanski's user avatar
0 votes
2 answers
531 views

HTTP 403 with CloudFlare

I've added my site to CloudFlare. I'm trying to allow requests to only come in through CloudFlare's network, and reject all others. When I add the following to my .htaccess, I get HTTP 403 Forbidden. #...
anxiety's user avatar
0 votes
0 answers
46 views

How to configure a redirection just for visitors coming from a specific address?

I've been handed a website using cloudflare workers to redirect a wordpress blog hosted in a subdomain to a subdirectory - for the most part it's a copypaste from this cloudflare article plus an if-...
memory noise's user avatar
0 votes
1 answer
1k views

Redirect all access on IP address to domain name need to click proceed to redirect

I have this config in my apache: <VirtualHost *:80> ServerName default <Location /> Redirect / https://domain.name </Location> </VirtualHost> <...
carlbasabe's user avatar
2 votes
2 answers
9k views

How to enable http/2 from a Centos Package/yum?

I'm running the following version of Apache on Centos 7: httpd.x86_64 2.4.6-97.el7.centos.5 @updates httpd-tools.x86_64 2.4.6-97.el7.centos.5 ...
Aussie's user avatar
  • 37
1 vote
0 answers
447 views

Slow response time when server is idle, fast response time when server is loaded?

I'm running a 40 thread / 125GB RAM server. The server is based on CentOS 7. I have noticed that the server response time is higher when the server is idle: You can see on the screenshot here that ...
Kalvin Klien's user avatar
0 votes
1 answer
116 views

apache 2.4.6 site works on Debian 10 but not on CentOS - php 7 code

I have a bootstrap website that runs on Debian 10 - php 7.4.25, httpd 2.4.52, mysqld 15.1 Distrib 10.5.12 which works perfectly. I copied it to my CentOS 7 box, which has selinux running as permissive ...
kathyl's user avatar
  • 1
1 vote
0 answers
418 views

Apache and VirtualHosts in RedHat, Can't figure it out

already did my research and Im burned after reading and watching videos for hours; I can't make virtual hosts works at all, it doest matter which configuration I set but Apache will ignore it and ...
DefaultVLAN's user avatar
0 votes
2 answers
14k views

Getting 503 with apache proxy_fcgi_module [SOLVED]

I'm using CentOS 9 Stream on a VM, trying to setup my apache server to be able to show php content on the web. The server works fine when its just html, but I'm getting these errors (503 in the ...
bejgli's user avatar
  • 3
0 votes
0 answers
3k views

Can't restart apache (httpd.service) after replacing to new SSL cert (wildCard, working on other servers)

I have a wildcard SSL cert that I need to replace in all related servers. It worked fine in all of them but one. I go by the exact same process as in other apache servers, but when I replace the files ...
MatanyaP's user avatar
  • 101
1 vote
2 answers
898 views

Reverse proxy in Apache + CentOS for HTTPS requests to PostgREST webserver [closed]

I would like to make https requests to my postgREST webserver, which by design doesn't support https. I spend several days now I don't know any further... My setup My server is running on CentOS 7.9....
JoeBe's user avatar
  • 111
0 votes
1 answer
1k views

Apache mpm event-increasing StartServers has no effect on memory

I'm using apache mpm event on centos server with the following configs: <IfModule event.c> StartServers 8 ServerLimit 64 ThreadsPerChild 256 MaxRequestWorkers 16384 MaxConnectionsPerChild 10000 ...
Soheil's user avatar
  • 123
1 vote
1 answer
1k views

apache mpm event-check current number of servers and threads

I'm using apache MPM event on my centos server with these configs: <IfModule event.c> StartServers 8 ServerLimit 32 ThreadsPerChild 256 MaxRequestWorkers 8192 MaxConnectionsPerChild 10000 ...
Soheil's user avatar
  • 123
0 votes
0 answers
196 views

501 Not Implemented error when making request to localhost

I'm using apache mpm event and php-fpm on my CentOS 8 server. I need to be able to make http requests from my server to a php api on my server, so the url of the api would be something like: http://...
Soheil's user avatar
  • 123
0 votes
2 answers
75 views

apache doesn't show files which have different owner [closed]

I have created a domain in WHM for user alex. now if I put any file in public_html folder of this domain which has the owner defined as root, apache does not allow visiting of the file in browser, it ...
Soheil's user avatar
  • 123
0 votes
1 answer
2k views

Apache is not using SSLProtocol & SSLCipherSuite directive configuration

I am trying to set up HTTPS in my web server. I got error Error code: SSL_ERROR_NO_CYPHER_OVERLAP in firefox and ERR_SSL_VERSION_OR_CIPHER_MISMATCH in chrome. I looked it up and i found that my SSL ...
actomobile's user avatar
0 votes
1 answer
669 views

AlmaLinux & Apache 2.4 & CVE-2021-42013 (+ other CVEs)

I have a small Apache webserver that was CentOS but is now AlmaLinux 8, and I've been trying to update httpd via dnf to protect against the recently disclosed vulnerabilities: https://httpd.apache.org/...
Mark's user avatar
  • 147
0 votes
0 answers
2k views

Apache can't serve directory or locate files even though they all exist with the correct permissions

I'm using CentOS8, with a bog-standard (yum install httpd php) installation of apache and php. I've got a configuration (/etc/httpd/conf.d/trip.mydomain.mytld.conf) that looks like the following: <...
brinchter's user avatar
1 vote
0 answers
89 views

Not permitted to view my newly installed phpMyAdmin

I'm using Google Compute Engine to host a couple applications under one .dev domain so SSL is required. I have Apache installed based from this guide and my /var/www/ directory looks like: - domain....
dokgu's user avatar
  • 139
1 vote
1 answer
484 views

Permission denied for gitweb.cgi on CentOS

I've set up gitweb on my web server. I have created projects on the server. I can add commits to them and also clone them remotely. The gitweb "homepage" does display and the static files ...
carlitobrigante's user avatar
0 votes
1 answer
1k views

How to install PHP on CentOS has preinstalled Apache HTTPD?

I'm using CentOS 7. I wanted to install PHP 7 so I used remi-php (latest PHP version of yum is 5.4). Since the HTTPD version of yum is too old, I compiled the latest HTTPD version from the source code....
Tần Quảng's user avatar
1 vote
1 answer
4k views

Apache 2.4 and LDAP. Basic authentication issues

I'm using CentOS 8 Stream + Apache 2.4 + Subversion. I want to allow access to SVN only for users who belong to a specific LDAP group (svn-users). I have the following problems. case 1. Enter the ...
reghorn's user avatar
  • 11
1 vote
1 answer
4k views

Intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80

We are experiencing intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80 failures on our servers. I have looked at other answers and they are ...
Elijah Lynn's user avatar
2 votes
0 answers
221 views

Apache Proxy URL exclusion wont work

we are running an Apache/2.4.6 on CentOS. i am trying to setup an Proxy Endpoint on the Apache which is passing requests to internal Servers (target servers). So far the Endpoint does what it should, ...
Rolski's user avatar
  • 21
0 votes
1 answer
67 views

Tools for testing all aspects of service speed

We have some strange issues on our CentOS LAMP server where there are occasional severe 4-30 second delays in service despite the server being relatively low load at the time. Is there any tool for ...
cronoklee's user avatar
  • 135
0 votes
1 answer
1k views

mariadb-where is open_files_limit parameter set?

I have LAMP with CentOS 8 and MariaDB installed on my server. in PHPMyAdmin I need to increase open files limit parameter, which is disabled and cannot be edited from there. its current value is set ...
user589154's user avatar
0 votes
0 answers
369 views

apache-calculating ServerLimit based on buff/cache, available memory? or both?

I have been reading many articles to understand how to configure apache server for a high traffic website. the article here tries to calculate Thrashing point-where swapping occurs-and then calculates ...
user589154's user avatar
1 vote
0 answers
994 views

Apache server creates temp files under tmp folder on Amazon Linux

I tried to figure out why my apache creates temp files under temp folder such as this. tmp folder screen shot my current settings is Amazon Linux AMI release 2018.03 Server version: Apache/2.4.46 (...
CharliePHP's user avatar
0 votes
1 answer
200 views

Error establishing a database connection on a fresh Wordpress installation

I've installed a fresh copy of Wordpress on CentOS 7/Apache but am getting the dreaded "Error establishing a database connection" error message when navigating to the site to complete the ...
MorayM's user avatar
  • 159
1 vote
1 answer
157 views

Apache returns with default virtualhost after a while and only for some virtualhosts

The incipit: I had an httpd installation on a CentOS6 that worked good for years with lot of virtualhosts configured on (it is configured as a reverse proxy for lot of websites). Recently I upgraded ...
Lorenzo Sorace's user avatar
4 votes
1 answer
13k views

How to implement IP whitelist correctly on Apache 2.4?

I've a website (running on CentOS at Google Cloud, Apache 2.4.37), say it's name is awesomesite.co.id. There are certain pages on that website, e.g awesomesite.co.id/dev123/secret.html which is not ...
anta40's user avatar
  • 341
1 vote
2 answers
6k views

How to enable/load mod_wsgi in apache server in centos 8 VPS

I am not able to enable/load module mod_wgsi in apache webserver in cent os 8 VPS. It works very easily in ubuntu by running the command sudo apt install libapache2-mod-wsgi-py3 Please Help me getting ...
Manav Sengupta's user avatar
0 votes
1 answer
601 views

Please help- I can't figure out whats taking down my server every day

Every day my server goes down - sometimes 2 or 3 times a day. Between 2-15 minutes I was pretty sure it was due to a type of distributed DDOS or perhaps brute force but using Cloudflare doesn't seem ...
Nick's user avatar
  • 3
0 votes
0 answers
249 views

how to port forward to specific api address?

seems i've gotten lucky and get to take over some server configuration while the upper echelon finds a replacement! yay. love being out of my depth, but upside is, i get to learn new stuff. anyhow, ...
WhiteRau's user avatar
  • 117
0 votes
2 answers
5k views

certbot-can't get SSL certificate for mail.domain.com

I want to install let's encrypt certificate on my server for domain.com, www.domain.com and mail.domain.com. so I created the following domain-site.conf file for virtual hosts: <VirtualHost *:80>...
SAndroid's user avatar
-1 votes
1 answer
477 views

get SSL certificate for mail server, while already having it for domain

I have already achieved an SSL certificate for my domain by certbot. the configuration is: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/root" ServerName xxx.com ...
SAndroid's user avatar
2 votes
1 answer
105 views

enabled recursion causes large send traffic

I had installed BIND service on my centOS 8 server with recursion yes; configuration. I noticed a very large traffic (~ 8 GB) is being sent from my server every hour and I could not detect what is the ...
SAndroid's user avatar
1 vote
1 answer
251 views

MYSQL my.cnf advice needed

I have a dedicated server Linux Cenots 6 with 16GB RAM - Apache + Nginx MYSQL 5.6 please can someone let me know if my etc/my.cnf MYSQL configuration is ok or can it be improved I am getting ...
jt9489's user avatar
  • 11
0 votes
0 answers
272 views

Reocurring error! the server quit without updating pid file

Dedciated Server Linux Cenos 6 Apache + Nginx We have had this issue happen several times now and happening after server has crashed or shut down the server quit without updating pid file After this ...
jt9489's user avatar
  • 11
1 vote
0 answers
2k views

How to enable system-wide crypto policies using the "crypto-policies" utility in Ubuntu?

The "crypto-policies" utility from Redhat and CentOS is also available in Ubuntu. It is supposed to help with the management of configuration of the core cryptographic subsystems like TLS, ...
xkcd's user avatar
  • 454
0 votes
0 answers
433 views

Bots causing server to crash - getting error "server seems busy" in apache logs - need to update prefork settings?

So after my website ( running on a Rackspace 2GB ram centos 7 instance) went down twice this week I went through the logs and seems the culprit are bots ( search engine and others.. ) The bots seem ...
Nick's user avatar
  • 3
0 votes
0 answers
1k views

Can't execute PHP via browser on Centos 8

I already installed Apache 2.4 and PHP 7.4 on Centos 8, which is running on Google Cloud Platform. Apache: ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd....
anta40's user avatar
  • 341
0 votes
2 answers
2k views

Apache service doesn't start after deleting log files

I deleted the whole log files directory. sudo apachectl start Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "...
Nikola Lukic's user avatar
0 votes
0 answers
255 views

CentOS + PHP: Processes limited with shell_exec

I have asked this question before on Stackoverflow, but this seems to be a better place to ask it. I have a httpd process running (just apache2), with PHP. In index.php I have the following code in ...
Aaron's user avatar
  • 1
0 votes
2 answers
3k views

Maximum concurrent users on linux server [duplicate]

I have a dedicated server with these info: 128G RAM 6 cores/12 threads CPU, 3.4GHz 512 SSD storage WHM/Cpanel latest Apache/MySQL Centos 7.x I have a single website on this server which have heavy ...
aagouda's user avatar
  • 11
0 votes
1 answer
415 views

Centos 6 PHP 5.3.29 from IUS with httpd 2.4. from IUS too

I have old depracated linux Centos6 machines for old SW. We need PHP 5.3. for customers. I'd like use this machines for newer versions PHP with FPM - and migrate to htpd 2.4. and FPM for PHP 5.3 too. ...
Pavel's user avatar
  • 427