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
46 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
108 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
-1 votes
0 answers
39 views

apache SSL with fixed ip [closed]

Trying to install a SSL certificate from a commercial provider on an Apache server using a fixed public ip. Apache/2.2.25 (Win32) mod_ssl/2.2.25 OpenSSL/0.9.8y running on windows 7 I know it is old ...
jupiter's user avatar
0 votes
0 answers
27 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
16 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
51 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
55 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
37 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
20 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
19 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
70 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,445
0 votes
0 answers
29 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
94 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
209 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
410 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
312 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
16 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
194 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
70 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
387 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
40 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
71 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
2k 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
83 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
213 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
44 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,451
0 votes
1 answer
80 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
445 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
73 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
66 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
73 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
100 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
57 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
117 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
227 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
268 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
17 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
49 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
135 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
370 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
0 votes
2 answers
3k 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
  • 101
1 vote
0 answers
95 views

htaccess: I can't redirect to nested subfolders correctly on the WordPress app

I have a multilingual WordPress site that has two languages: en and tr, It's site A. I wanna put my other WordPress site inside /tr/shop/ folder, It's site B. Just need only these rules: /en/anything/...
user avatar
0 votes
3 answers
150 views

File hosting on multiple servers? [closed]

I have a PHP website for file hosting (like Dropbox) on a Debian server with Apache, but I'm running out of disk space. Is there a way to add another server in the network and somehow make Apache use ...
user avatar
0 votes
1 answer
253 views

Apache VirtualHost Same domain for Front and API

I have a multi-tenant application that is resolved using subdomains with the pattern *.localhost. The front-end of the application is accessible at http://localhost:3000/. To achieve the desired ...
Gogo's user avatar
  • 101
0 votes
0 answers
53 views

Trouble loading wildcard SSL that uses the hostname

I have a wildcard SSL cert from Let's Encrypt, the installation has worked and when accessing a sub-domain the cert loads properly. However the virtual site (Apache) that has no subdomain produces an ...
Kline's user avatar
  • 247
0 votes
0 answers
152 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
0 votes
1 answer
300 views

Clear gettext cache of PHP-Apache Server to apply .mo updates

Although many questions on SO already relate to this, they're A) pretty old and B) I felt that it's better to ask about this here, as it seems to be related to some server-level, and not programming-...
DevelJoe's user avatar
  • 187
0 votes
0 answers
30 views

mod_jk - 2 JkMount Directives with the same URL but different workers

I have a question. How would the following mod_jk directives be interpreted? <VirtualHost *:443> ServerName backend.example.com ... JkMount /api/prod worker1 JkMount /api/prod/* ...
Jeevan Pillai's user avatar
0 votes
0 answers
140 views

Apache sometimes hangs while responding to requests

I have an Apache web server working in windows environment. It is working smoothly, but sometimes even when on low load, is fails to serve the said requests but quickly loads the page when user ...
12416_INDB's user avatar
0 votes
0 answers
196 views

Proxypass not functioning "500 internal server error"

I am annoyed at having to constantly type in mydomain.com:10000 to access an application I have. I read on here that you can set up proxypass so I can get app.mydomain.com to serve up mydomain.com:...
Ox3's user avatar
  • 1

1
2 3 4 5
346