All Questions

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

Apache/httpd not loading php-zts.so after PHP upgrade to 8

After an upgrade to PHP 8, I can only use non-threaded PHP instead of threaded (ZTS) PHP. The server is CentOS 7, running Apache. The Server API is Apache 2.0 Handler. I used Remi's RMP Repository ...
SMich's user avatar
  • 1
0 votes
0 answers
557 views

Apache - http/2 enabled but still feeding http/1.1 on requests

Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips on CentOS 7, PHP 7.4.33, I have installed and enabled http/2 following the guide at How to enable http/2 from a Centos Package/yum?. No errors are reported ...
qlangiul's user avatar
0 votes
0 answers
213 views

AlmaLinux HTTPD will not recognize the error with .htaccess

Product version: Plesk Obsidian 18.0.47.5 OS version: AlmaLinux 8.7 x86_64 The problem is Apache / HTTPD would not recognize to error its .htaccess from when editing the file at AllowOverride None to ...
Saya Kisaragi's user avatar
1 vote
0 answers
288 views

Apache 2.4 "Require ip" not working for /server-status, /phpMyAdmin etc with VirtualHost directives added in httpd.conf

I recently changed using the Event MPM in my Apache 2.4 installation, alongside PHP-FPM and FastCGI proxy, I hope that wasn't the reason for my problem. I also started working with name-based ...
AkiEru's user avatar
  • 77
0 votes
1 answer
458 views

Limiting CPU usage of Mariadb proccess doesn't work

I'm building a server that runs Mariadb 10.5, apache, nginx and PHP-FPM. The server have 16 cores and 32GB Ram. This server suppose to work under load, but it doesn't because Mariadb is using 1500%, ...
niceu's user avatar
  • 1
0 votes
1 answer
19 views

Which files/directories are needed when replicating Apache installation on CentOS?

I'm replicating an Apache installation to a new server in a different data centre. I installed the same version of Apache on the new server and would like to copy all the relevant files from the old ...
boardrider's user avatar
1 vote
1 answer
234 views

How to adjust SELinux to allow not so large file downloads in Apache?

I have a centos 7 server running Apache 2.4 that will happily allow users to download files until they get to a certain size. I've noticed the problem with mp4 video files; I host both low and full ...
Damian's user avatar
  • 11
2 votes
2 answers
7k 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
1 answer
287 views

Apache httpd worker crash (IUS httpd24u on Centos 7)

I'm running the httpd24u package from IUS on two Centos 7 servers. The version identifier for the package is "2.4.52-1.el7.ius". For the last week or so, we've been seeing intermittent ...
sbleon's user avatar
  • 193
0 votes
1 answer
9k views

Cannot find php module of apache

I am running Apache 2.4.52 on Linux CentOS 7 server. I have installed PHP 8. Followed many blogs to configure Apache to run PHP 8. Now I am at a point where visiting server IP address loads the index....
fahad shaikh's user avatar
1 vote
1 answer
73 views

Creating / Configuring Firewall using iptables

I want to set firewall using iptables. The server is operating httpd service (httpd) The OS is Centos7, and below information is after install iptables-services, and start iptables without modify ...
Seung Hoon Paek's user avatar
0 votes
0 answers
34 views

Aliasing a user (id) in CentOS7/8

I am in the process of replacing some apache instances with nginx (for performance, mostly). For some time I will need to switch from one to the other. The packagers, in their infinite wisdom, decided ...
Alien Life Form'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
2 votes
0 answers
2k views

Timeout when reading response headers from daemon process. Python, Flask, Apache

I have a problem with my mod_wsgi configuration. Sometimes, I think when there is a lot of traffic on my website, the page breaks and says "Resource temporarily unavailable..." Apache logs: ...
Tony's user avatar
  • 21
0 votes
1 answer
267 views

AH01630: client denied by server configuration: /home/act-ss/cgi-bin/webactivation.cgi

I am getting this error in my /home/act-ss/logs/error.log: AH01630: client denied by server configuration: /home/act-ss/cgi-bin/webactivation.cgi I am using Apache 2.4 on CentOS 7, the directory and ...
matin's user avatar
  • 1
1 vote
0 answers
236 views

Gzip compression or Mod_deflate not working

Our wordpress website we need to enable gzip compression we followed below instruction to enabled. we have wp rocket plugin this plugin automatically added compression mode_deflate lines in .htaccess ...
user623197's user avatar
0 votes
1 answer
47 views

Some questions about httpd log

First question: why there are two error log files? One is /var/www/mywebsite/error.log, which is specified in <VirtualHost> with the ErrorLog instruction. The other is /var/log/httpd/error_log. ...
William's user avatar
  • 99
0 votes
0 answers
319 views

HTTP ERROR 403 You don't have authorization to view this page. (Apache 2.4/Shibboleth 3.1/Tomcat 7)

I'm setting up a new server running CentOS 7 with Apache 2.4/Shibboleth 3.1/Tomcat 7 and using proxy_ajp to connect apache to tomcat. I'm getting 403 from the site running on it. I've searched for ...
solotenk's user avatar
0 votes
1 answer
72 views

How to check cpu history

enter image description here My server recently had a problem causing it to stop working. So how can I check what application cpu is serving at that time? My server is running a web application and ...
Nguyen Ba Hien's user avatar
0 votes
1 answer
119 views

Apache redirectmatch is wrongly be applied to other vhosts

I am using Apache 2.4.6 on Centos 7.4 and I have the following vhosts file: <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /home/example/...
PHP Guru's user avatar
  • 111
0 votes
1 answer
616 views

Apache to serve both static file and webapp

I have apache running on below reverse proxy config to serve java webapp content <VirtualHost *:80> SSLProxyEngine on ProxyPreserveHost On ProxyRequests Off ServerName www.example.com ...
madprinciple's user avatar
0 votes
1 answer
124 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 ...
Mourndark's user avatar
  • 159
1 vote
0 answers
263 views

How to fix embedded videos slow buffering speed on CentOS 7 server?

The video bufferings when embedded on other websites are so low on speed. It waits a lot of time to buffer the video. When they are playing on own server without embed its okay to buffer. Tried ...
Fixiywp's user avatar
  • 21
1 vote
0 answers
252 views

multisite in apache/httpd in centos 8 : out of three sites, two sites pointing same folder

I am trying configure multisite in centos 8 in Digital Ocean in Apache server, also called httpd for centos. I am following this tutorial. but skipped the permission and SELniux part. The three sites ...
Black Swan's user avatar
1 vote
1 answer
725 views

Why cannot I access my website when port 80 is not blocked?

On my VPS(CentOS 7), the default iptables is: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state ...
William's user avatar
  • 99
3 votes
3 answers
1k views

Restart apache with monit

I'm trying to figure out some issues on my server where my CPU is reaching 100% utilization every other day. This causes all my websites and http services to fail. How can I configure monit to restart ...
ibyte's user avatar
  • 83
1 vote
0 answers
732 views

Coldfusion 2018 .htaccess file rewriterule not working for .cfm files, Tomcat AJP13 "reuse is set to false"

I have an .htaccess file in a /reports/ folder with the following rule: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.cfm?path=$1 [L,QSA] There is ...
Pete's user avatar
  • 293
0 votes
0 answers
199 views

Apache redirection not working the way it is expected

I have a website say example.com and want to redirect everything from http to https. Also I have additional requirement of redirecting http://example.com (and https://example.com) to https://example....
Sajeesh's user avatar
0 votes
1 answer
4k views

Port is open and apache is listening but on browser "ERR_CONNECTION_TIMED_OUT" error

i have centos 7 and installed apache server on vps. listening 80, 8002 ports in httpd.conf Listen 80 Listen 8002 also checked the $ netstat -anp | grep 8002 tcp 0 0 0.0.0.0:8002 ...
yepsolutely's user avatar
2 votes
2 answers
351 views

LAMP Stack and VPS Performance

I have a VPS (Intel Xeon CPU E5-2630 v4 @ 2.20GHz, 4 cores - 8 GB RAM - 200 GB SSD) and I am using it to host a Wordpress blog. I am using Virtualmin as a control panel, The operating system is Centos ...
Appoodeh's user avatar
0 votes
1 answer
165 views

How can I prevent simultaneous connections from single IP?

I am running a Wordpress site on digital ocean droplet, and the droplet is running CentOS with CWP. Website is new so it has very low amount of genuine traffic, on average it has around 3-5 visitors ...
Alena's user avatar
  • 97
0 votes
1 answer
3k views

Apache reverse proxy to nodejs server on CentOS 7 (WHM)

I'm trying to setup my site on the server. I've uploaded it and it's currently running on the server but the problem comes when I try to setup a reverse proxy on the domain so that I can access the ...
James's user avatar
  • 1
1 vote
0 answers
151 views

Apache redirects aren't working. I keep getting 404 errors

I'm trying to get my redirect to work but am having trouble. The HTTP to HTTPS redirect does work, but trying to make a RESTful API is not. Any ideas would be appreciated. Thank you. <VirtualHost *...
Christian's user avatar
0 votes
1 answer
444 views

apache2handler Keepalive is still on even though I turned it off in httpd.conf

We're running centos 7, lamp stack 5.6 we send 17k sms per day among other things, like streaming, so the server is always busy. Some users complain about not receiving the SMS, the SMS gateway says ...
Lynob's user avatar
  • 241
1 vote
2 answers
5k views

Permission denied: AH02478: failed to create proxy mutex

Running a local centos 7 apache webserver, recently it stopped working. Journalctl don't say anything other then service failed. Only the error_log in /var/log/httpd/ says: [core:notice] [pid 5026:...
Tim's user avatar
  • 43
1 vote
0 answers
966 views

Which mpm setting to use to limit the number of connections on Centos 7 apache

I am googling around and finding myself going down a rabbit hole and getting nowhere. My over all goal is to limit the number of connections that can be made at the same time to Apache on a Centos 7 ...
James Connigan's user avatar
0 votes
1 answer
662 views

Can only connect to my apache Centos server on port 22. Can SSH but no browser. Runs DirectAdmin

I have a remote apache server set up running Centos7.1 but I usually use DirectAdmin on port 2222 to manage it. This problem first came about after my SSL certificate expired. I tried to get on and ...
Webtopia's user avatar
0 votes
1 answer
174 views

What do these sporadic floods of 301 GET log entries every mean?

I have a new CentOS7 web server running virtualmin. It hosts a new WordPress site that just went into production. Starting mid-day today, on the quarter hour, to the second, I am troubleshooting ...
Rocky's user avatar
  • 101
0 votes
1 answer
880 views

Securing access to certain pages/directories with Apache behind a Varnish cache?

I have a public website with some URLs/directories which are for private/internal use only. These private areas can only be accessed via certain IP addresses or with a known username/password. ...
WackGet's user avatar
  • 217
0 votes
1 answer
1k views

How to make compiled php work with apache?

I've compiled the php 7.4 for centos 7 server. I also have an apache installed 2.4. The problem is that I have no clue what to do next to make it work. Previously I had 2 sites working with the ...
Random Dude's user avatar
1 vote
3 answers
12k views

Can't open PID file on Cent OS 7 for Apache status

Found following on systemctl status httpd.service on Cent OS 7. Apache 2.4.41 is compiled and installed. There is not such message on Cent OS 6. systemd[1]: Can't open PID file /var/run/httpd.pid (...
Valsaraj Viswanathan's user avatar
0 votes
1 answer
5k views

Forbidden You don't have permission to access this resource

I have recently installed apache 2.4 plus mod_ssl I am using this apache as a proxy server and redirecting traffic to tomcat. The issue I am facing right now is that everything works without HTTP but ...
John's user avatar
  • 1
1 vote
0 answers
4k views

Failed redirect for at.com Unable to set enhancement redirect for at.com SSL apache centos 7

i tried to using let's encrypt SSL and install it using certbot certbot --apache -d at.com -d www.at.com -d destmap.at.com -d to.at.com. but it can't. i got this error Failed redirect for at.com ...
Ray Coder's user avatar
  • 121
1 vote
0 answers
659 views

Subdomain setup for Flask + apache

I have installed and deployed Flask on a CentOS server but the subdomain for some reason, is not working properly. I really need some help on this one. I am actually a newbie in this field so please ...
John Jefferson Bautista's user avatar
1 vote
2 answers
3k views

Running two web applications on Apache 2.4

I am trying to run two applications on my Linux apache server: OpenProject pgAdmin (which is WSGI application) And, in order to connect them from remote computer, I use those httpd configuration ...
Michał Turczyn's user avatar
1 vote
3 answers
5k views

Apache Directory indexing does not work in a subdirectory

I have a simple file server (apache 2.4 on centos 7) with following structure: /index.html - a page to make sure there is no directory listing here /upload - php scripts for upload /storage - base dir ...
NickSoft's user avatar
  • 288
0 votes
1 answer
72 views

DNS Help? : manual BIND config attempt

So my domain www.jasonwarner.dev had its name servers forwarded to my unmanaged VPS provider I added the domain to my VPS with A record I can access my "site" through IP on any device but not through ...
jason-warner's user avatar
0 votes
0 answers
566 views

How to redirect HTTP request in Apache using ProxyPass

I am working with OpenProject and pgAdmin. While OpenProject configures itself entirely, I am albe to connect it from the "outside" using http://ip-address/openproject I am trying to do the same for ...
Michał Turczyn's user avatar
0 votes
1 answer
88 views

Combine Two Cloud server storage to make common storage for Application (apache)

My team requires 2 application servers with common storage. Our current cloud provider does not have a SAN in place; so we want to utilize the local storage of each of the application servers. The 2 ...
user1486241's user avatar
0 votes
1 answer
677 views

Apache autoindex listing directories but not files

I've been trying to setup a directory listing for a given directory on the same server (CentOS 7 with Apache httpd 2.4.6-88). I came across an example to display public domain icons that seems to come ...
PlikPlok's user avatar

1
2 3 4 5