Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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)

0
votes
0answers
10 views

Multiple Virutal Host with routes centos7

I have multiple apps to run with different routes, this one (Vue js) to localhost/ <VirtualHost *:80/> ServerAdmin webmaster@localhost ServerName 157.230.252.88 DocumentRoot /var/www/...
2
votes
2answers
26 views

Apache HTTP 2.2: Setting cache header when query string version exists

I've found example of how to do this all over the web, but I haven't been able to get this to work. Want to set a long future cache time on requests that have a query string of something like ?v=123. ...
0
votes
0answers
6 views

Proxy Static Django Production with Apache

DEBUG = False <<--- Django (Production mode) I have an external django server that I need to access using the apache proxy. The system works fine, but static files are not loaded. Where I ...
-1
votes
1answer
34 views

Redirecting uncertified HTTPS domains to HTTP [on hold]

Is there a method for redirecting HTTPS domain without a certificate to one with a certificate in Apache 2 or to HTTP? If no certificate is found, go to HTTP instead.
1
vote
0answers
14 views

HTTPS security warning for sub subdomains [duplicate]

I have an apache 2 server and I a wildcard https certificate for all my subdomains. But I do not have one for sub subdomains. Here's an example: https://example.com = secure https://...
1
vote
1answer
22 views

Apache mod_rewrite change domain extension

I want to have a 4 conditional mod_rewrite. http to https http://example.com to https://example.com www. to non-www. https://www.example.com to https://example.com non-plural ending to plural ...
-4
votes
1answer
22 views

directory protection in Ubuntu 14.04 Server [on hold]

I want to run the following on a single ubuntu 14.04 server - Asterisk - PHP/Apache/ MySQL This server will be offline at customer's location. I want to protect these folders in a way that if my ...
0
votes
0answers
5 views

PHP URL router works on a local machine but not on a Fedora 29

Fedora 29, Apache My initial view or main page loads, then on url change or Post/Get request I get a 404. My url/get request router is not working with Apache or Fedora. Not Found The requested URL ...
0
votes
0answers
35 views

Connection Closed after switching IPs with new SSL Certificate

I recently installed a couple SSL certificates on a few domains, and generally they work, but whenever I switch IP addresses I get an ERR_CONNECTION_CLOSED error. If I refresh a few times, it will ...
0
votes
0answers
16 views

Automatically ban IP addressed using rule based on GET request

I'm setting up my first website on Ubuntu 18.04 using Apache and I've noticed the following in my apache error log on a daily basis: 94.102.49.125 - - [07/Feb/2019:11:32:55 +0000] "GET /muieblackcat ...
0
votes
0answers
34 views

NGINX as Reverse Proxy + Apache

I have IPFIRE as my Firewall. It's works great but i have a little problem with this scenario.. In my network, IPFIRE have 3 nics (GREEN, RED AND ORANGE) and i have 2 physical servers in the ORANGE ...
0
votes
1answer
25 views

unable to access apache server from browsers

I have installed apache2 on linux server, listening to port 80. But, I am unable to connect to the server when trying from browser. But when I am trying with curl command, curl < ip >:80 It ...
0
votes
1answer
31 views

Reduce number of Apache processes

I'm running Apache 2.2. I have 10 apache processes running, and it's taxing my limited resources. I have searched for the config option that controls how many processes are spawned, but I could use ...
1
vote
2answers
73 views

Your connection is not secure Certbot / LetsEncrypt [duplicate]

I have enabled SSL for my https://example.com and that works fine, but if somone try's to enter https://www.example.com I get the message: Your connection is not secure. Is there a way to redirect ...
0
votes
0answers
18 views

I can't load tomcat in browser using my domain ip address

i can load tomcat using localhost but if i used my server ip address it's give me timeout error. Can someone help me? Below i attached screen shots. I'm first time using tomcat. I also paused firewall ...
0
votes
0answers
23 views

Apache settings for file upload

I asked this questions on SO but then remembered Server Fault. I have a bit of a strange situation I am trying to resolve. I am using DropzoneJS to perform chunk uploads to my server. So when ...
1
vote
1answer
81 views

Curl verify certificate improperly

I used curl to launch a https request to download the file. I used below command: curl -v -o Output.pdf https://otherdomain.com/upload/manual-8mm-f35-csii-vdslr-5.pdf The result I get is: ...
2
votes
1answer
38 views

Getting “302 Found” even after redirecting to a specific file in the .htaccess

I have an Apache server hosted on an EC2 instance which points to a domain that I own. Now, what I essentially want to get done is that the web server should return a .json file when the user tries to ...
0
votes
0answers
31 views

NextCloud slow behind Proxy/ReverseProxy

I have only one public IP, so I ProxyPass a Subdomain from my Webserver (Apache @ Ubuntu) to my NextCloud-Server (Apache @ Ubuntu). Everything works fine, except it's very slow (for example on my ...
0
votes
0answers
22 views

'File not found.' after switching to php fpm (apache, ubuntu server 18.04 LTS)

I know this question has already been answered mutiple times, but the answers are almost all diffrent and are sorta confusing. I have tried alot of answers but none of them work. I follow the answer ...
0
votes
0answers
19 views

Geoserver still accessible via ip adress despite proper apache reverse proxy configuration

I got a ubuntu 16.04 VPS which runs a standard installation of geoserver 2.14 and apache2.2. Now apache is properly configured to reverseproxy https://my.domain.com:8080/geoserver to https://my.domain....
5
votes
2answers
572 views

Apache allowing HTTP access when should be redirected to HTTPS

I thought I'd followed the accepted wisdom in redirecting HTTP traffic to HTTPS, but following a DNS issue today, and having to use an IP address instead of the URL, I realise something's amiss. ...
0
votes
0answers
9 views

Apache: Dynamic multiple URLs to point to the same content

I am in a situation where I need to have multiple different urls point to the same content/code. Basically there is a super admin that manages multiple projects. Each project has to have a different ...
-1
votes
1answer
20 views

Alter http method in a rewrite rule

Could someone confirm it's not possible to change an http request method (from GET to POST for example) in a rewrite rule ? A quote from some online doc would be really useful.
1
vote
1answer
28 views

Changed Domain name, now have 2 how to redirect to preferred one using htaccess?

I have a WordPress Site and a PHPBB forum on /forums sub-directory. I added a new domain to the website in Apache. After adding the domain everything would load on both domains. Then I changed the ...
0
votes
1answer
26 views

Mod_pagespeed thinks everything is uncacheable on https

I have a pretty stock setup of mod_pagespeed on a stock CentOS6 with stock Apache 2.2. All I do is set "ModPagespeed on" in the VirtualHost. I can see the "-Mod-Pagespeed 1.13.35.2-0" http header....
0
votes
1answer
34 views

Apache Server Status Sending Reply with extrem high SS

I'm currently running into a really strange issue. My apache (prefork - 2.2.15) is running into MaxClients Limit and is therefore not responding to requests anymore. The Server-Status is showing a ...
0
votes
0answers
27 views

How to run scripts owned by root with Apache?

I have built a Docker Ubuntu image with Torch installed, when running the container in interactive mode I'm able to execute a few commands as root user. For example, if I run /usr/bin/env th, I can ...
-1
votes
1answer
23 views

Multiple domains to single document root

I am currently working on a distributed CMS that is built on a traditional LAMP stack. Customers can access their backend (and front end) using a subdomain of their username, for example: benm.mycms....
0
votes
0answers
11 views

Apache/NGINX - globally return HTML document if specific request header is set

I want to return a specific HTML document if a request to any path on my site(valid or invalid) contains a specific header(or cookie). Is this possible? Links to relevant documentation are appreciated....
0
votes
0answers
33 views

stop ssl redirect going to home page

A site we are working on siterequires forcing to https and www removal When we make that happen using this .htaccess code RewriteCond %{HTTP_HOST} ^www\. RewriteRule ^(.*)$ https://safe.org.nz%{...
0
votes
0answers
34 views

Apache 2.4.10 unable to get the remote host name with Require host

I have this config in the main apache2.conf file: #restrict access to key store <Directory "/var/www/sites/siteabc/vr3587/keys”> Options FollowSymlinks AllowOverride None Require host ...
0
votes
0answers
24 views

Apache mod proxy load balancer fail over conditional

I have a configuration similar to this one: <VirtualHost *:80> <Proxy balancer://X_Balancer> BalancerMember http://server1.sth/ BalancerMember http://server2.sth/ BalancerMember ...
0
votes
0answers
26 views

RewriteRule to new server and return 200

Server A is an old server running a web service. It has many clients in the field. Server B is a new server that now receives the requests for the web service along with many others. Server B does not ...
0
votes
1answer
55 views

Point Nginx reverse proxy to virtual host on different VM

I have 1 VM running Nginx to distribute incoming requests for different domains (subdomains)on the same IP to different Virtual machines. my Nginx config file for one example is very basic for now. ...
0
votes
0answers
29 views

Apache URL redirect using RewriteMap [duplicate]

I am struggling with the last part, writing proper RewriteRule (maybe I also need RewriteCond?). I have this mapping.txt: apple 30/products/apple.png xerox 38/products/xerox-300.png dell 3021/...
0
votes
0answers
32 views

Enable mod_security only for specific directory

Current settings: - mod-security 2.9 Mod-security itself work as expected if enabled globally with SecRuleEngine on on main config but I need to enable it only for one specific folder for testing ...
0
votes
1answer
138 views

My Web application gives CORS error after adding HTTPS using Let's Encrypt

This is my application : https://cfslpro.com/student_portal/ Front end is done by AngularJS and back end is done by Node.JS. Hosted in Apache server. ( Digital ocean Linux 16.04 ) You can try login , ...
0
votes
0answers
27 views

Disable SSLCompression in Apache <2.2.24 in Gentoo

Thanks a lot beforehand. I need to disable SSL Compression in Apache 2.2.16 in Gentoo in order to mitigate TLS CRIME. I've been searching for a long time and I've found out that it's possible to ...
2
votes
1answer
24 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
0answers
14 views

VirtualHost entry for a ServerName that's a folder directory rather than a complete domain

Is it possible to create a VirtualHost entry for a ServerName that's a folder directory rather than a complete domain? I'm installing Craft 3 and want to run it from my current VirtualHost (rich.dev) ...
0
votes
1answer
31 views

how to use apache reverse proxy to mask the uRL

I need some help on using the reverse proxy in apache. what i want to achieve is that suppose my apache webserver intercepts requests like. https://myweb-application1-secret.domain1.com/...
0
votes
0answers
66 views

QS_SrvMinDataRate: unexpected connection status in apache mod_qos

The mod_qos works for about 24 hours, then something happens and it triggers the following: QS_SrvMinDataRate: unexpected connection status! Connections=258, cal. request rate=1182, max. limit=1200. ...
0
votes
0answers
7 views

Set Response Type To XML Pages

Under web server, I am having below configuration to set response header for HTML pages. When we hit the page from browser say www.mysite.com/en/myfile.xml Due to rewrite rule, It mapped to server as ...
0
votes
1answer
58 views

Apache destination virtual host certificate when using mod_rewrite or ProxyPass

I am trying to use mod_rewrite or ProxyPass to redirect (PT) the client's request from virtual host A on 443 to different virtual host B on port 4434, also with SSL. Like that: SSLProxyEngine on ...
0
votes
1answer
20 views

“com/index.php” without slash in apache

Finally I have finished install SSL Certificate and finish to config the redirect from my old site to my new one, but right now when I try to entering from the old site, it send to me to new sit but ...
1
vote
1answer
38 views

give apache ID permissions to list and CRUD files as OS users

I wasn't sure if this question belongs here or on SO. I can move it there if needed. In any decent Apache configuration, Apache will run as its own ID; www-data for example. And this ID will not have ...
0
votes
0answers
15 views

Exclude Proxy paths not working

I am trying to setup reverse proxy for a wordpress site. The problem is that I am trying to exclude wordpress rest api paths and the .xml files but having no success. The exclude rules for wp-admin, ...
0
votes
1answer
71 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
0answers
26 views

Security Scan causing weird logs

So some time ago, I coded a website(PHP) and wanted to check for common web security vulnerability. I used Nessus and Burp Suite to scan for vulnerabilities in my website. The scan result showed no ...