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
0answers
77 views

Apache and TLS mode - password in plain text in wireshark

My apache.config: LDAPTrustedMode TLS LDAPTrustedGlobalCert CERT_BASE64 /etc/pki/tls/certs/ca.cer AllowOverride None Options None #Order allow,deny #Allow from ...
1
vote
1answer
664 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
0answers
105 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
2answers
147 views

Redirect Apache to a different service in subfolder

I have a CentOS 6.9 server that is running a DokuWiki under Apache/HTTPD 2.2. This wiki is installed in /var/www/html/dokuwiki. Therefore, when you type myserver.com/dokuwiki, it enters the wiki. If ...
0
votes
1answer
44 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....
0
votes
1answer
28 views

google cloud apache server overwrite

I'm fairly new at using Google Cloud hosting and I recently learned how to create a VM instance with an apache server. I found a tutorial that showed how to overwrite the server's default web page ...
0
votes
1answer
138 views

Apache - BrowserMatch and SSLVerifyClient

We are trying to achieve "SSLVerifyClient none" config only for Android users, is it possible on a given virtualhost ? <VirtualHost *:443> ... SSLVerifyClient optional BrowserMatch Android ...
1
vote
1answer
97 views

Apache - mod_rewrite - backreferences understanding

httpd Apache server -> mod_rewrite -> backreferences The following picture is about understanding the reference to parentheses ([Flags] are omitted). If you use parentheses, backlinks are made to ...
0
votes
0answers
299 views

How to dynamically set SSLCertificateFile for user's custom domains

I have a site where users can point their own custom domain to their unique directory on my site through A Records. For example, example.com points to mysite.com/something and anothersite.org points ...
1
vote
2answers
52 views

How does Nginx act as both reverse proxy and web server? [closed]

This might be a naive question. But I'm too new to client and server concept and wanted to know. I understood what a Reverse proxy is - a server that sits in between clients and origin servers and ...
1
vote
1answer
1k views

Misdirected Request (only on Apple devices) iOS mobile browsers and Safari on Mac

The whole error Misdirected Request The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection....
0
votes
1answer
34 views

Apache production and dev servers behaving differently when addressed using FQDN

Our production Apache server works perfectly as either "https://prod.domain.com" or "https://prod" (this is internal, so DNS search path applies). However, our Dev server works as "https://dev", but ...
0
votes
1answer
602 views

Connecting to a python socket behind a router

I have a Python script on my server which opens a socket that can be connected to from anywhere. It works on my digitalocean test server that has a public IP as shown by ifconfig. It does not work on ...
2
votes
1answer
957 views

$_GET variables empty .htaccess rewrite

Given the URL https://example.com/api/test/512/31 I want to rewrite to: https://example.com/api/test.php?param1=512&param2=31 I've tried: RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php ...
0
votes
1answer
398 views

Long TTFB / SSL negotiation in setup of HTTP/2, apache and Nginx as reverse proxy

As in title, i realize partly very long TTFB caused by SSL negotiation longer then one second in setup of HTTP/2, Apache and Nginx as reverse proxy. What could be the setting screws and mostly ...
0
votes
1answer
507 views

nginx mixing cached content between my different domains

I don't know if this is a bug or I am defining cache incorrectly, I have a nginx cache (reverse proxy) server that is used by 2 different domains (mydomain1.com and mydomain2.com), different content, ...
1
vote
1answer
173 views

Removing trailing slash from redirected URLs (.jpg/ .htm/ .gif/) with Apache

I have a website that is being redirected from an old host. I don't have the ability to change the redirect of the old host. The issue is that the redirect is appending a trailing slash when it's not ...
0
votes
1answer
98 views

Block Crawlers on Apache

I am trying to block crawlers on Apache <Directory /to/my/site/> Options Indexes FollowSymLinks AllowOverride All Order deny,allow deny from 18.*.*.* ...
0
votes
1answer
171 views

Apache Default Page Showing When HTTPS Using Django Project

I have been trying for the past 1 week to get this to work but it just does not seem to be working at all. Please help, here are the files for the default-ssl and the 001-default, the website is ...
1
vote
1answer
821 views

Wordpress Nginx + Apache reverse Proxy permalinks

Allow me to explain my problem. I have a Ubuntu VPS server running 18.04 I have installed Nginx and Apache with php-fpm I've configured Nginx to be a reverse proxy for my wordpress blog located at ...
0
votes
1answer
459 views

reverse proxy - understanding proxy pass - apache mod_proxy

im running tomcat on my linux server and i want use a reverse proxy for this. After reading the manual in apacha for mod_proxy , i didnt really understand the /path in the proxypass . i make a small ...
0
votes
1answer
49 views

is it stable to running tomcat, apache as reverse proxy, mysql on the same server?

im running dedicated ubuntu server from hoster, has enough cores (12) and good amount memmory 64 GB (ECC). Im actually running tomcat and mysql service in a prodcution environment , but i still want ...
0
votes
1answer
38 views

Home directory for Active Directory authenticated users based on parsed username

I have an NFS share with user home directories mounted on a web server. I want to enable UserDir in apache, but the home directories are not a straight-forward "/home/username" path. Instead, they're ...
0
votes
0answers
717 views

Python CGI script not displaying on the website at all. Apache 2 Debian 10

me and my friend have started up a server on Debian 10 and its running Apache2. I have written a very simple website and a python script just to test the cgi scripts. So basicly after a user completes ...
0
votes
2answers
1k views

How to redirect domain with expired SSL certificate to new domain using apache

So in the past I used https://example.com. Then decided that I wanted to use https://myotherexample.com instead of example.com. So I setup the server, pointed DNS at that server and everything was ...
0
votes
1answer
633 views

Apache2: ports.conf vs Vhost

The Ports on Apache can be changed on two positions: /sites-available/000-default.conf ports.conf Per Default, both .conf Files dictates Apache to listen on Port 80. I want to set Apache to listen ...
4
votes
1answer
740 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
1answer
60 views

Split requests to subdomain to 2 ports

I have a subdomain on an Apache web server that contains 2 folders: frontend and backend. My frontend is running a node application, whereas my backend has a headless CMS. I have both of these running ...
0
votes
1answer
62 views

Using a custom SSL certificate with apache2 backend server

I have a domain (let's say toing.com), which has an SSL certificate bound to it only if I use the hosting provided by the same company (let's say Xhost). HOwever, recently I have a backend server at ...
0
votes
1answer
58 views

Nginx rewrite to Apache rewriterule for path

I have a landing page and a text box. They enter some input into the text box and get taken to /search, which I want to load search_res.html. My file structure is: /var/www/html index.html ...
0
votes
2answers
1k views

How to restart apache2 server

I'm unable to run sudo service apache2 restart on my sever. Inorder to troubleshoot this when I execute sudo systemctl status apache2.service and I get the following log. Loaded: loaded (/lib/...
0
votes
0answers
174 views

Install PHP 4 in Wamp, UwAmp or Apache

I'm .Net developer, and I found in company a physical RedHat server with a lot applications in PHP and I need to create a local server to start translate this PHP apps to .NET, but I need install PHP ...
0
votes
0answers
359 views

Unable to restart my apache2 server Error : order takes only one argument allow deny deny allow' or 'mutual-failure'

whenever I try to restart my server I get the following error. order takes only one argument allow deny deny allow' or 'mutual-failure' My 000-default.config looks like this <Directory /var/www/...
1
vote
0answers
93 views

AWS apache Forbidden error in apache : You don't have permission to access /icgd/ on this server

i am trying with aws free tier. i have installed apache using yum. Now i can access webserver from browser. webroot is /var/www/html i placed an index.html in /var/www/html and the same is working ...
0
votes
0answers
173 views

Let's Encrypt ERR_CERT_INVALID after moving domain to other server

I run my website on DigitalOcean and due to some problemas I installed a new Ubuntu droplet and moved my website there. After changing my DNS settings for the domain I installed a Let's Encrypt ...
0
votes
1answer
510 views

How to combine some file to create an ssl certificate for apache

I need help on a certificate. Usually I use certbot to install ssl certificates on nginx, but now I have to install ssl on apache and I have four files. One is a key file, one is a txt file, I think ...
0
votes
1answer
71 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 ...
6
votes
3answers
10k views

"No space left on device: AH00023: Couldn't create the mpm-accept mutex" when restarting httpd

My server sometimes gets filled up with connections in apache stuck in a "Sending Reply" state, requiring me to restart apache. Most of the time this works, but sometimes I will get this ...
1
vote
1answer
521 views

htaccess to rewrite all files to index.php

I need to rewrite all urls, even .js, .css, images and etc to index.php I've tried this RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)...
1
vote
1answer
44 views

IP address showing on my web server together with the domain [closed]

Recently I installed VESTACP and nginx, added domain name and everything is fine, I can access my website with domain but also when I type an IP address from server (http://11.11.11.11) I can access ...
0
votes
1answer
110 views

In which case Apache Httpd writes "X" when connection is closed? Is it client side or server side?

Standing to official Apache mod_log_config docs I see it writes "X" when "Connection aborted before the response completed". Connection status when response is completed: X = Connection ...
0
votes
1answer
71 views

How to fix ProxyPass in URL and subfolder?

I made a proxy pass adding to my localhost instance the path /vocab/arch. Here the configuration I used: <IfModule mod_proxy.c> ProxyPass /vocab/arch http://localhost:...
0
votes
1answer
72 views

How to unset a header when a certain query string is present in the url Apache 2.2

I'm trying to recreate the following if statement in my htaccess file to unset a header if a query string is present in the requested url. Is there a way to write a conditional statement matching ...
0
votes
1answer
41 views

CSS & images breaking after mapping application deployed on Tomcat to my domain

I've installed Tomcat 9.0.27 on my Digital Ocean droplet running Ubuntu 18.04.3. I deployed my Java WAR on Tomcat and am able to access it on the URL: http://example.com:8080/app_name I want to be ...
0
votes
2answers
67 views

Not able to start tomcat 7.0 on my server

I am not able to start my tomcat (7.0) on my server. While starting it is giving below error message. FAIL,Resource start failed [Context: Failure Reason=PID not found;Code=SCLD-LRM-4022; I don't ...
0
votes
0answers
124 views

Apache misconfiguration - config works on apache 2.2 but not 2.4

I have a set of cgi scripts which run on a RHEL 6.x (with Apache 2.2) box fine. There is a cgi-bin directory containing the scripts, plus an index.html (pure html) which serves as a front end to the ...
0
votes
1answer
2k views

Apache: proxypass docker container to subdomain

The subdomain sub.example.com is hosted on AWS EC2, Amazon linux 2 OS based on centos. It runs php7 lampp stack. webroot is /var/www/html. We don't have access to the domain, example.com, it's with ...
0
votes
0answers
42 views

How can I allow my proxy server's destination to be itself? [duplicate]

I'm trying to setup ssh over https using apache and proxytunnel on Ubuntu 18.04, but I want the proxy server to be the same as the ssh server. I have apache going, and from netstat and the output of ...
0
votes
2answers
725 views

Serve different servers based on CNAME for domain with apache?

I've looked a bit around here on serverfault, but can't seem to find anything related to my issue (maybe because i don't know what to search for). Anyways, my issue is that i have 2 servers. One main ...
5
votes
1answer
949 views

apache httpd process be killed by kernel oom

some apache httpd process's memory and cpu usage too high, be killed by kernel, but I don't know why httpd use such many memory. I need some method to analyse or some method to reproduct. some ...

1
3 4
5
6 7
344