All Questions
Tagged with centos apache-2.2
806
questions
0
votes
1
answer
140
views
Apache reverse proxy 503 custom page not working properly
I am trying to setup a custom 503 error page on my website. I am using this apache configuration.
# Exclude the Maintenance directory from being proxied
ProxyPass /Maintenance !
# ProxyPass other ...
0
votes
0
answers
22
views
Disconnect NIS authentication on SVN server
I have SVN configured to authenticate against NIS, also not sure how it authenticates against NIS.
I want to disconnect the server from NIS and convert it to local authentication.
How this can be ...
0
votes
1
answer
540
views
peer closed connection in SSL handshake while SSL handshaking to upstream
I have the below flow
jmeter concurrent api request -> magento-host-server -> magento-container
The below error occurs only during the concurrent requests from apache jmeter of testing team are ...
0
votes
0
answers
109
views
How to make redirect rewrite rule for https subdomain on apache (CentOS8)?
I have own domain for example.
https://example.com
Below is my apache virtual host with 301 redirect rewrite rule.
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/html/...
0
votes
0
answers
312
views
Nginx equivalent for apache mod_rewrite rule
My script is hosted on centos 7 apache server, with below htaccess:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
...
0
votes
3
answers
386
views
Allow only a list of IP's on iptables
I have an apache server with wordpress installed and I need to determine just a few IP's that will have access to the website (I have a list of IP's)... what would be the most effective way to do this?...
0
votes
1
answer
65
views
Apache not responding due to port mapping
[centos@staging03 ~]$ sudo netstat -tulpn | grep LISTEN
tcp 0 0 127.0.0.2:80 0.0.0.0:* LISTEN 18336/varnishd
tcp 0 0 127.0.0.1:80 ...
1
vote
0
answers
1k
views
How do we stop using php-fpm on Apache?
How do we stop using php-fpm on Apache? I tried to get a server running problem is it's running on CENTOS 6 and puppet only works on CENTOS 6. I was trying to figure out why the server wasn't running ...
0
votes
1
answer
218
views
"FetchError no backend connection" error when Apache is running
[centos@ip-172-35-25-65 ~]$ varnishlog
0 CLI - Rd ping
0 CLI - Wr 200 19 PONG 1635280998 1.0
0 CLI - Rd ping
0 CLI - Wr 200 19 PONG 1635281001 1.0
...
0
votes
1
answer
523
views
EC2 server with a crond-service and full /var/spool/exim/-folder
I'm no expert in linux, apache, etc. but I have this service running on an AWS EC2-server. There is a large number of cron-jobs running on my platform (about 50K / day).
Last week upgraded the EC2-...
0
votes
1
answer
303
views
Apache - Give Access to /var/log/ folder Only Outside the Document Root ? (Centos Based)
My Web server is running on Apache and I have restricted the Apache user not to allow anything outside the Website Document Root, However, I need to write a log file (User Auth Log) which needs to be ...
0
votes
1
answer
132
views
Https site version shows the Apache start page, but http works well
Hi I am having a little problem after using permalinks wordpress, the https version of the site shows the Apache start page. On the http version, the site and all permalinks work fine. I also want to ...
1
vote
1
answer
256
views
Change default domain port on CentOS with apache and Docker
Sorry for the messy title but not very experienced at those stuff.
Here is my case:
I have apache2 server on CentOS. I installed docker as well on it. Currently my domains are opening as:
some-domain....
6
votes
1
answer
6k
views
What controls the cleanup of the /tmp/systemd-private* directories?
It doesn't seem like the systemd-tmpfiles service cleans up these folders because I have files in /tmp/systemd-private-*-httpd.service-*/tmp/ that are 27ish days old (the last time httpd was restarted)...
0
votes
1
answer
1k
views
Apache 2.2.15 possible security risk?
I have an old server that is running a webshop in production. It is running CentOS / Apache 2.2.15 and PHP 5.3 (Build 22 Mar 2017). Are there any security risks associated with this setup? I have ...
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 ...
0
votes
1
answer
207
views
How to get to modwsgi 4+ on Centos7
On Centos7, yum pulls in mod_wsgi 3.4 using a yum install. I'm having some problems and multiple resources I have looked at regard this version as ancient and ask the users to upgrade to 4+. I'm not ...
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 ...
0
votes
1
answer
1k
views
Hostname won't resolve correctly if apache ServerName isn't localhost
We have a lamp centos 7 server in a datacenter, behind some sort of a Nginx proxy. We only have control over our centos server, we don't know anything about the proxy/firewall or anything. We have ...
-2
votes
1
answer
114
views
a site use Linux Server take long time to load
i get this problem first time since 5 years i use same site same script without any change .
i have a site xxxxxxx.com (php script) use a ip http://1.1.1.1 (example) , i use centos as OS for the ...
0
votes
0
answers
16
views
Why am I seeing the Apache2 default screen for CentOS even if I am running ubuntu
I have two apache virtual hosts (domain based) installed on a server running ubuntu (82.223.117.149).
It's uname -a is Linux localhost 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 ...
1
vote
1
answer
2k
views
Running two Django project in the same server , or use a new one?
I already have created one Django project in an Apache server using CentOS 7 , python3... Now I have to create another django project and I wonder if I should add this project in the same server or in ...
0
votes
0
answers
182
views
Changed apache httpd.conf Document Root but still showing old page
I'm using Centos7 and Apache for web server.
I want to change the document root from "/var/www/html" to a folder in home directory.
I have already changed the httpd.conf file accordingly and ...
0
votes
1
answer
52
views
What is the proper procedure to replace an existing paid certificate with lets encrypt
I have a paid certificate that's about to expire soon.
I would like to use lets encrypt cert in replacement of this one.
What is the appropriate procedure to do this?
Info:
- CentOS 6.3
- Apache 2....
4
votes
1
answer
2k
views
IPv6 validity test failed. What does this mean?
When I use https://ipv6-test.com/validate.php to test my website for IPv6 ready, (example on a domain www.[private].com), the test is failed and it returns error:
IPv6 web server web server is ...
0
votes
1
answer
134
views
Can undefined variables and notices cause a cpu spike?
We're running centos 6.7, PHP 5 and MySQL 5.5 and Apache 2.2.15. Sometimes we see high CPU usage, mainly caused by MySQL so we take all the logs we can get. We're addressing MySQL optimization ...
0
votes
1
answer
281
views
Apache can't save files to mounted directory
I have bought WD myCloud storage and I have mount it to centos 7 by adding this line to fstab
\\wd_mycloud_ip_address\shared_folder /backup cifs rw,suid,username=shared_folder_username,password=...
0
votes
1
answer
579
views
Reverse proxy does not work on Apache in Cent OS 6.9
I created the sites-available and site-enabled folders, I added the site.domain.com.conf file with a virtualhost in my domain site.domain.com to do reverse proxy in a Nuxt node.js application, which ...
1
vote
1
answer
3k
views
`GLIBCXX_3.4.20' not found Centos7
while starting deepstream output show like this how can i resolve this issue. I installed the latest version which is not available in yum repo by using rpm file and i can't remove this package too.....
0
votes
0
answers
50
views
after installed Lets encrypt SSL site is not opening
I am using apache web server on centos 7. I hosted some files, and i installed. after that site was working fine for http. Then i installed Lets encrypt SSL afte this site is not opening.
I opend port ...
1
vote
1
answer
157
views
Prevent user running scripts from web folder
I have set up a server (A) with a user that allows ssh access from another somewhat (but not fully) trusted server (B). Server B will be sending over files to Server A into a directory that is ...
1
vote
0
answers
94
views
Very long TTFB and high CPU on VPS after Hypervisor Migration
I manage a VPS for my company with a small e-commerce website and a few low-usage Wordpress blogs and the like.
My Service Provider migrated me to a different Hypervisor last Thursday, and since then ...
1
vote
1
answer
16k
views
Fail2Ban Not starting when using sudo systemctl status fail2ban.service
When i try and restart fail2ban using sudo service fail2ban restart it displays the following error from systemctl status fail2ban.service
Apr 02 20:12:30 centos systemd[1]: fail2ban.service: control ...
0
votes
1
answer
4k
views
SSLLabs: Strict Transport Security (HSTS): Server provided more than one HSTS header
CentOS 6.8
Apache 2.2
I have two websites running off this server (moodle and mahara). For some reason, the ssllabs tests come back fine for one of them (moodle) but for the mahara website, I get ...
0
votes
0
answers
26
views
Assigning Domain URL to my Virtual Host
I setup my own static website using CentOS 7 on a virtual machine with a bridged network. The static site has a self-signed certificate and can be already accessed on the same network. How do I assign ...
2
votes
1
answer
137
views
How migrate directory ACLs when migrating apache between different VMs?
I am copying two directories from my on-prem server to apache on AWS
/var/www/my_app, and /etc/httpd
When I get the long listing for /etc/httpd I get the following on my local server with all those +...
0
votes
1
answer
2k
views
Failed to Start Apache Server
I tried to configure my WebPage SSL Certificate, after configured it I restarted Apache Service and the output is the next:
httpd24-httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/...
0
votes
1
answer
2k
views
Forward proxy requests through ssl in apache
I have an apache webserver and I want to forward proxy all requests to another domain. so far, I've done that for http requests but it does not work for https. my httpd-ssl.conf file:
Listen 443
...
1
vote
1
answer
77
views
What to update to keep the server secured?
I've been asked to specify which updates are needed to update our server and have it secured - problem is I'm not an expert on this.
I know that we've very old software. For my work I need PHP 7.2 ...
0
votes
1
answer
2k
views
Nodejs/Apache config for proxy pass
I want to use Nodejs/Apache proxy pass to serve my APIs, but after add below apache(httpd) config, it seems that config not working.
OS:
CentOS 6
/etc/httpd/conf/httpd.conf:
...
<VirtualHost *:...
0
votes
1
answer
81
views
VPS high traffic load
Hello everyone I am really new on this topic so most of my questions will be trivial.
I buyed a VPS from godaddy which has 4 CPUs 8GB Ram and 200 GB HDD. I set up a one domain and upload my web site ...
0
votes
0
answers
255
views
NodeJS application not running on centos
I am trying to run following simple nodejs code. when I open [IP ADDRESS]:PORT on browser, After a long loading I get request timeout.
When I try to run code with node index.js I get Server ready ...
5
votes
1
answer
141
views
Configure the server & DNS like: Accept all domains that use our spesific nameservers
First, I will describe the problem: I have a domain portfolio website. Every domain have a forsale page like this:
www.myportfoliosite.com/thedomainforsale.com
I want to park my domains but I need ...
0
votes
1
answer
404
views
Troubleshooting Intermittent Timeouts
Apologies for the vagueness of this question but I am pretty confused as to where to start.
The Centos server in question is randomly timing out. I received the following from our server provider and ...
0
votes
1
answer
3k
views
disable apache permanently and use only nginx [closed]
I'm running nodejs on localhost and nginx to set up reverse proxy server on a VPS.
Using TMUX I'm starting both nginx and nodejs and detaching from the session. I have tried disabling apache alot ...
0
votes
2
answers
525
views
Centos PHP upgrade failure
I needed to upgrade from PHP 5.x to 7
removed old components using yum - remove php*
Installed remi repo, updated all
Install seemed to work however Its faulting with an m-crypt problem and Im not ...
1
vote
1
answer
5k
views
can i disable ModSecurity rule via .htaccess?
On new server for my website, a centOS, when i try to upload an image via PHP and the file name contains a special character, like "my'file.jpg", i get a forbidden page and i can't even try to handle ...
-3
votes
1
answer
78
views
Issue with high server load centos
I'm having some major issues with one of my servers.
Server load is extremely high: load average: 142.28, 144.80, 139.6
The server is running Centos 6 and has a Perl image sharing script running on ...
3
votes
0
answers
261
views
Awstats - the 'HTTP Status codes' information is missing. How to fix?
I'm trying to configure Awstats for a website on Centos 7.
Currently everything works fine (I can see stats, keywords, page hits, etc.), but there's a section on Awstats that reads "HTTP Status codes"...
1
vote
0
answers
96
views
I have two versions of PHP installed; how do I clean it up / control what references which?
Running CentOS + Apache + PHP + MySQL
running yum list installed *php* gives me this:
newrelic-php5-common.noarch 4.23.4.113-1 ...