Skip to main content

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)

Filter by
Sorted by
Tagged with
0 votes
1 answer
98 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 ...
Marcell Nemeth's user avatar
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 ...
ishan shah's user avatar
1 vote
1 answer
40 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....
502_Geek's user avatar
  • 111
0 votes
2 answers
69 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 ...
user637's user avatar
0 votes
0 answers
109 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} ...
Tom's user avatar
  • 289
0 votes
2 answers
229 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....
dharmatech's user avatar
0 votes
1 answer
154 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 ...
Shivam Ahuja's user avatar
0 votes
0 answers
18 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
ayoub hadioui's user avatar
0 votes
1 answer
45 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 ...
Erick Holz's user avatar
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 ...
Rajesh Yidi's user avatar
0 votes
1 answer
102 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 ...
jupiter's user avatar
0 votes
1 answer
149 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 ...
Dan's user avatar
  • 1
0 votes
0 answers
38 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 ...
om joshi's user avatar
0 votes
0 answers
49 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 %{...
Red's user avatar
  • 1
2 votes
1 answer
86 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 ...
Usama's user avatar
  • 31
0 votes
2 answers
88 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 ...
Hugo Delsing's user avatar
0 votes
0 answers
48 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 ...
IHateCoding's user avatar
0 votes
0 answers
23 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....
FX Magician's user avatar
0 votes
0 answers
28 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
Idk698989's user avatar
0 votes
1 answer
109 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 ...
learningtech's user avatar
  • 7,549
0 votes
0 answers
43 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 ...
trikelef's user avatar
  • 528
0 votes
1 answer
115 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 ...
Yogesh Tembe's user avatar
0 votes
0 answers
338 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 ...
Catto's user avatar
  • 101
0 votes
1 answer
566 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 ...
Rajsekar Reddy's user avatar
1 vote
0 answers
605 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. ...
WackGet's user avatar
  • 227
0 votes
1 answer
20 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 ...
Wilko_UK's user avatar
0 votes
1 answer
295 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 ...
Gagas Amukti's user avatar
0 votes
0 answers
169 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 ...
Tomas's user avatar
  • 1
0 votes
1 answer
589 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 ...
sarp's user avatar
  • 1
0 votes
0 answers
58 views

What is the correct URI for connecting to the Websocket server in my case?

I am using proxyPass to redirect my websocket inquiries as such : SSLProxyEngine on ProxyPass /rooms/325 wss://cdn.dummy.com:443/rooms/325 ProxyPassReverse /rooms/325 wss://cdn.dummy.com:443/rooms/325 ...
Hypothesis's user avatar
0 votes
1 answer
189 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 ...
Frank Martin's user avatar
-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 ...
Enrique SM's user avatar
0 votes
1 answer
135 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 ...
Paul's user avatar
  • 1
0 votes
0 answers
269 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:...
Majid Khan Mohmand's user avatar
0 votes
0 answers
50 views

Apache - How to compress (gzip) only specific calls

I have PHP application served with Apache 2.4 I need the apache to compress (mod_deflate - gzip) calls for specific users. So the application should decides dynamically which calls gets gzipped. I was ...
Niro's user avatar
  • 1,481
0 votes
1 answer
114 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 ...
MHSarmadi's user avatar
1 vote
1 answer
730 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 ...
MHSarmadi's user avatar
0 votes
0 answers
116 views

How to specify the URL to proxy in Apache2 httpd.conf

I have a Spring application deployed in Tomcat that I want to proxy its URLs through an Apache2 web server, for now I do it like follows: <VirtualHost *:8080> ProxyPass /app/login http://...
SSSOF's user avatar
  • 1
0 votes
0 answers
75 views

Setting a HTTP Header in ProxyPass to have dynamic route

I am setting up a request header using : RequestHeader set X_FIELD "expr=%{tolower:%{req:SOME-VAL}}" and want to send the value of this HTTP Header in ProxyPass. now I want to send the same ...
abhishek bhardwaj's user avatar
0 votes
1 answer
101 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: ...
SSSOF's user avatar
  • 1
0 votes
1 answer
121 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?
Varun Varath's user avatar
-1 votes
1 answer
64 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 ...
Eann's user avatar
  • 3
0 votes
1 answer
161 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 ...
hi_xavier's user avatar
0 votes
2 answers
332 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 ...
Rajsekar Reddy's user avatar
0 votes
1 answer
460 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 (...
Clifton Labrum's user avatar
1 vote
0 answers
18 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 ...
Joost's user avatar
  • 111
0 votes
1 answer
75 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 ...
Centos's user avatar
  • 11
0 votes
0 answers
150 views

How can I enable mod_wsgi in Apache2.4.57.0 on Windows?

Apache/2.4.57 (Win64) Django 2.4.2 I am new to Django and I tried to connect it with Apache through mod_wsgi but it seems new versions of Apache does not support such kind of module. I installed ...
Miroslav Ivanov's user avatar
0 votes
1 answer
584 views

How to alias a URL path to another URL path (apache2)?

I've tried everything. Alias, ProxyPass, different config files (sites-available/000-default.conf, mods-enabled/alias.conf). My issue is simple. I have an apache2 server hosted at xyz.com/name/. I'd ...
user129393192's user avatar
1 vote
2 answers
5k views

Certbot error - DNSSEC: DNSKEY Missing

I moved my domain to Route53 and am now getting problems with Certbot renewal. Certbot has been running great for 4 years, but is now failing to renew. When running sudo certbot renew --apache i get ...
Malako's user avatar
  • 111

1
2 3 4 5
346