Questions tagged [apache-2.2]
Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)
17,293 questions
0
votes
2
answers
107
views
Syn Flood Attack
this week I'm facing a problem with my web server. I think we are receiving a Syn flood/DDoS attack. But I don't know how to end it.
So first I think I'm under attack because in top command I have a ...
0
votes
1
answer
50
views
How to fix that responses through Apache / mod_jk are slow
When requesting an image from my Tomcat web application (size 3 MBs) takes 1.425 ms, but requesting it from Apache, connected via mod_jk, from the same server, takes 2.478 ms, thus 75% slower.
What ...
1
vote
1
answer
160
views
Proxmox server connection to itself
Proxmox server connection problem
Hello,
I have a proxmox server with 3 vm to simplify:
Reverse proxy nginx (www.exemple.com and dev.exemple.com)
Apache 2 + php (www.exemple.com)
Apache 2 + php (dev....
0
votes
2
answers
166
views
httpd.service entered failed state
we are experiencing some weird issues with the httpd.service, it doesn't start
Please let me know if you know by any chance how to resolve this issue
Failed to start the Apache HTTP Server/ job for ...
0
votes
0
answers
176
views
AH01079: failed to make connection to backend: localhost
I need and would appreciate your kind advice on fixing the captioned server fault after I've been pending weeks to fix it but in vain.
I have 2 websites built on Google Cloud Computing Platform and ...
0
votes
1
answer
70
views
Redirect external website assets to local files
I'm trying to redirect requests from my hosted index.html file that reference external JavaScript and CSS assets to local JS/CSS files on my server. I.e. here my index.html is requesting script.js ...
0
votes
1
answer
49
views
.htaccess exposed to www since upgrade from apache 2.2 to 2.4
I just upgraded apache on my very old WHM server from 2.2 to 2.4, and now .htaccess files are being treated like text files instead of apache scripts.
I also installed mod_ruid2 0.98
These three lines ...
0
votes
1
answer
158
views
Apache HTTP server under DDoS attack [closed]
One of the servers has been under attack for four weeks. First the attack was weak, but now it is aggressive after I started fighting him.
It consumes CPU resources to keep starting the Apache server ...
0
votes
0
answers
35
views
Handle custom domains (CNAME) with a wildcard certificate Apache [duplicate]
I need help setting up an Apache web server to handle custom domain (CNAME) records with HTTPS.
I have a web application hosted on app.example.com with an Apache server. I have added the Custom Domain ...
1
vote
1
answer
45
views
Can I use same subdomain to serve both ColudFront, S3 and Apache?
I'm trying to setting up a application on S3 and CloudFront and the frontend application is using Flutter.
Frontend
I have managed to deployed S3 and CloudFront successfully.
Let's say the domain dev....
0
votes
2
answers
74
views
IP denials and Apache
I am using Apache 2.2, and my .htaccess file is filled with "deny from"s to restrict IP access. You know, recognized spammers and the like. In upgrading to Apache 2.4, I am told that IP ...
0
votes
0
answers
359
views
How to configure .htaccess for use with Angular
Angular provides a standard .htaccess to be used in Angular applications.
RewriteEngine On
# If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ...
0
votes
2
answers
677
views
Reverse proxy for streamlit
Streamlit app
I have a streamlit app running on port 8501:
https://dharmatech.dev:8501/fed-net-liquidity/
Here's how I'm starting the app:
streamlit run \
--browser.serverAddress dharmatech....
0
votes
1
answer
263
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
29
views
Apache piped log program failling
I am trying to send apache logs to graylog server but always have the same probleme
AH00106: piped log program '/home/ubuntu/nc/nc_wrapper.sh -w1 10.0.0.126 12201' failed unexpectedly
0
votes
1
answer
71
views
Best way to clone Wordpress website for testing environment (subdomain)
I want to have a testing environment for my Wordpress website and I was wondering what the best option would be, as there are many I guess. I've seen many guides with cPanel, which I'm not using ...
0
votes
0
answers
24
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
176
views
Apache will not start with httpd-ssl.conf
Trying to set up SSL on this machine, I would appreciate some help here.
Apache/2.2.25 (Win32) mod_ssl/2.2.25 OpenSSL/0.9.8y
static ip 98.189.118.100 (example)
SSL certificates are from SSLS.com
...
0
votes
1
answer
169
views
Subdomain keeps pointing to main domain and 404
I'm having an issue where I have a main domain website (e.g. example.com and subdomain.example.com). example.com has a WordPress installation, while the subdomain has a php application. I can access ...
0
votes
0
answers
47
views
Apache Configuration
I am sure you may have encountered this issue.
I have a server with jira, bitbucket and confluence configured on the same server. As the bitbucket is moved to linux serer i am wondering how can I ...
0
votes
0
answers
139
views
OHS and ProxyPass and RewriteRule / RedirectMatch
i've setted up this virtualhost,
<VirtualHost *:443>
ServerName test.domain.org
DocumentRoot "/u02/config/www/tst-12c"
RewriteEngine on
RewriteCond %{...
2
votes
1
answer
140
views
How to use Apache2 as a reverse proxy in Ant Media?
We want to use Apache2 as reverse proxy like Nginx in front of Ant Media Server. Even if http/s connections are succesfull, websocket connection cannot be established and we cannot publish webrtc live ...
0
votes
2
answers
167
views
Prevent PHP from reading own source files
For simplicity consider the following example: We have a file secret.php that runs our back end code and it includes a file custom.php somewhere a long the line. Obviously the apache-user must be able ...
0
votes
0
answers
65
views
Nginx serves wrong DocumentRoot
I have an NGINX reverse proxy with Apache running on Linux22. My goal is to serve a file in a new documentroot, but for whatever, the Nginx Default conf serves the old apache2 index file. The ...
0
votes
0
answers
24
views
Redirect Automatically Unrestricted Page when Another Page is Restricted
<VirtualHost *:80>
ServerName admin.fxmagician.com
ServerAlias www.admin.fxmagician.com
DocumentRoot /var/www/admin.fxmagician.com/public/
<Directory /var/www/admin....
0
votes
0
answers
38
views
Can't Access Gui or cli interface on Ubuntu 22.04.3 Server
I tried to uninstall MariaDB and Apache2 but it just flashes saying falled to Start MariaDB 10.6.16 database server
0
votes
1
answer
149
views
Apache says certificate not valid for 192.168.0.44, but it is valid for 192.168.0.44
I am having trouble creating an SSL certificate for a website that is served by Apache. When I visit https://192.168.0.44 via FireFox, I get the error message:
Websites prove their identity via ...
0
votes
0
answers
58
views
Convert auth config from apache http server 2.2 to apache 2.4
I have the following apache 2.2 configuration and need to transform it to apache 2.4.
<Location />
Order Deny,Allow
Deny From Env=TEST
Allow From Env=LOCAL
Allow ...
0
votes
1
answer
157
views
Apache LogFormat: what does %f mean?
I have checked the apache logformat from - https://httpd.apache.org/docs/2.4/mod/mod_log_config.html
I am not able to understand what does "%f" parameter mean in apache log format. The ...
0
votes
0
answers
431
views
Internal Server Error when deploying Laravel using docker & reverse proxy
I'm trying to deploy my Laravel apps using docker. But got internal server error when accessing the url.
I have 2 server, one is for public ip & reverse proxy, and the second is where the Laravel ...
0
votes
1
answer
720
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 ...
1
vote
1
answer
940
views
Apache proxy unable to reach Docker container despite port being exposed and open
I have the most basic Apache proxy setup ever which I can't get to work.
On a CentOS server I'm running a regular Apache/httpd setup which serves a few websites. Apache listens on port 80 and 443.
...
0
votes
1
answer
25
views
Slow transactions in sub-domain
Wonder if you can help solve this little problem.
I administer a system that has Wordpress in the parent domain and an api being served from a sub-domain.
Normally, the api returns results to its ...
0
votes
1
answer
405
views
Hosting Laravel Filament apache server responded with a MIME type of ""
I been trying to host my laravel filament project into my server using apache but upon deployment i met 2 problem i never seen before
pic related
Failed to load module script: Expected a JavaScript ...
0
votes
0
answers
284
views
How Do You Block & Unblock Internet Sites in Apache?
How do you block all internet sites and only let some sites through in Apache Proxy?
I want to block all sites except some (e.g. updatemicrosoft.com, .windowsupdate.com , google.it etc.)
I have ...
1
vote
1
answer
785
views
Nginx reverse proxy to apache server, redirection gives 404
I have this setup with angular and spring boot project having nginx reverse proxy to apache for serving angular application and embedded server for spring boot reverse proxied through nginx. Now I am ...
0
votes
1
answer
294
views
Need equivalent .htaccess rule in apache just like nginx so I can get everything in URL
I have a VPS where I am using nginx and uses following to do URL rewriting.
location / {
try_files $uri $uri/ /index.php?$args;
}
Then I simply go to index.php and use the following code to get ...
-1
votes
1
answer
3k
views
OpenSSL 1.0.2 SHA1 requirement causing HTTPS compatibility error with Microsoft Edge 119 ERR_SSL_PROTOCOL_ERROR [closed]
I encountered the problem described in this Thread but with the Microsoft Edge browser version 119, which has been published on November 2, 2023.
The problem only seems to occur on webserver instances ...
0
votes
1
answer
175
views
Apache 2 ProxyPass Only The Homepage And Not Other URLS
I have Laravel and Nuxt hosted on example.com
Nuxt running on port e.g example.com:3001
Laravel apis working on example.com/api/{dynamic}
Now I'm want to render homepage only on Nuxt and I tried ...
0
votes
0
answers
342
views
why is docker not responding to apache2 port 443 proxpass but fine on port 80?
I have an Azure VM which has an apache2 running with the following configuration,
<VirtualHost *:80>
ServerName .com
ProxyRequests On
ProxyPass / http://127.0.0.1:...
0
votes
1
answer
149
views
Apache rewrite any uri to index.html but existing files
My front-end project is based on 1 file: frontend/index.html
It means that every request like /contact, /about, etc should be responded by index.html file.
I was thought I can use these lines in my ...
1
vote
2
answers
1k
views
How to enable executing php files in Fedora Apache?
I installed httpd and php v8.2.11 on my Linux Fedora.
But Apache can't execute .php files. (Responses "Access denied.")
I tried to use chmod shell command to enable executing and add AddType ...
0
votes
1
answer
139
views
Can't telnet Apache2 Web Server from WAN on port 80
Is there specific port configuration to httpd.conf that opens port 80 aside from using Listen 80 directive?
netstat -aon gives LISTENING but I cannot telnet machineName 80 (says failed to connect)
PS: ...
0
votes
1
answer
158
views
Redirect ip to domain on apachi (wordpress by bitnami)
I just created a wordpress site on aws using bitnami and pointed it to my domain. The problem is the site can be accessible via both the IP and domain. How do I redirect the IP to domain?
-1
votes
1
answer
79
views
SSL Certificate Renewal Broke Payment Gateway - Modulus Mismatch
I have encountered a problem with my website's SSL certificate renewal, and it seems to have affected my payment gateway. Here's a brief overview of the issue:
Background:
I have a payment gateway ...
0
votes
1
answer
226
views
Unable to Connect To Repo Server On Local Network
I currently have two VMs:
node1 (192.168.55.201)
repos (192.168.55.203)
I'm trying to set up node1 so that it can retrieve packages from the repo server. I currently have the AppStream repo, and ...
0
votes
2
answers
479
views
wordpress directory file ownership changes everytime after uploading files/plugins
on centos 7, i have created wordpress website with root directory ownership websitename:websitegroup and directory permissions 755, file permissions 644 set by default
when the developer, login to ...
0
votes
1
answer
610
views
Apache Cannot See PM2 Node Process
I have Apache running on Ubuntu 20 and I keep getting this error in /var/logs/apache2/error.log:
[proxy:error] [pid 7064] (111)Connection refused: AH00957: http: attempt to connect to 127.0.0.1:4000 (...
1
vote
0
answers
19
views
permissions and rights on a shared drive
I don't understand exactly how things work and how to solve the following correctly.
I have a mounted HD to my server, to this I upload and download photos from domain X. This works perfectly. Domain ...
0
votes
1
answer
143
views
best practice of disable cpanel from edit apache main conf file [closed]
i have a centos server controlled by cpanel, i have some proxy i want to set for my main domain, my configuration work clearly at /etc/apache2/conf/httpd.conf, but any edit in cpanel will remove my ...