Skip to main content

Questions tagged [apache]

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

apache
35,774 questions with no upvoted or accepted answers
18 votes
1 answer
22k views

X-Frame-Options to support different subdomain of same domain

I want to know whether it's possible to support X-Frame-Options for a different subdomain of same domain.
user1268130's user avatar
17 votes
0 answers
2k views

Service worker uses incorrect (cached) Content Security Policy

I've discovered an interesting issue when attempting to use Content Security Policy to secure my site and also ServiceWorker to speed it up and let it run offline. It's a standard Wordpress site and ...
Zelda's user avatar
  • 2,104
16 votes
0 answers
800 views

Random 403 error with apache 2.2 and Plesk 12.5

I face strange random 403 error on a Debian serveur with Plesk 12.5 and apache 2.2. There are several domains on the server but only one domain faces this. Rondomly, it seems that it tries to display ...
JazZ's user avatar
  • 4,559
11 votes
1 answer
1k views

Vagrant share producing a 400 bad request

I'm using Vagrant with apache2 and specifically the command vagrant share --https 443 It all starts fine and provides a URL. When I access that URL I'm presented with a 400 error: Bad Request ...
Wasim's user avatar
  • 5,033
10 votes
0 answers
1k views

What is the rationale behind apache's two remoteip directives; RemoteIPTrustedProxy vs remoteipinternalproxy

RemoteIPTrustedProxy does not accept internal addresses like 10.0.0.0/8. remoteipinternalproxy accepts all addresses. When should you use one or the other. The rationale is, as far as I can tell, ...
hbogert's user avatar
  • 4,303
10 votes
0 answers
2k views

RouteSpecificPool timeout Occuring processing HTTP request while using NIO

We have an application in which we are making an asynchronous request to get the Servlet Response.For making asynchronous Request we are using apache nio https://hc.apache.org/httpcomponents-core-ga/...
svs teja's user avatar
  • 997
10 votes
1 answer
926 views

Run local Apache Web Server + Tomcat as part of Gradle Build

Our current environment has Tomcat containers sitting behind an Apache Web Server. Basically the web server has ProxyPass rules that we use to decide which Tomcat instance to route to based on the ...
75inchpianist's user avatar
9 votes
1 answer
729 views

is_writable returns false for NFS-share, even though it is writable for the user www-data

I have a relative folder 'files/crm-upload', where i want to upload files. My code checks, whether is_writable() is true and only proceeds if this is the case. The folder is mounted as a NFS share ...
Sentenza's user avatar
  • 1,279
9 votes
0 answers
1k views

In OSGi, ServiceLoader.load fails to find an implementation

We have been trying to get SPI Fly to work with openstack4j-core and one of the openstack4j connectors (openstack4j-httpclient). It is org.openstack4j.core.transport.HttpExecutorService that require ...
JozinSBazin's user avatar
9 votes
0 answers
739 views

How to host Angular 4 multi-language on Apache?

I have a website that uses both English and French. I use the following command to build the application: ng build --output-path=dist/fr --aot --prod --bh /fr/ --i18n-file=src/locale/messages.fr.xlf -...
DanielZ's user avatar
  • 323
9 votes
2 answers
3k views

React-router urls don't match using Apache reverse proxy

I'm trying to set up a reverse proxy in Apache to serve up a React/Redux/webpack bundle. I have an Express server file serving my static files and index.html as follows: const express = require('...
tayden's user avatar
  • 580
9 votes
1 answer
2k views

Mitigate BREACH attacks without saying goodbye to compression

Everywhere I look for solutions to mitigate this vulnerability, I find something like: Just disable http compression. Well, that's a pain, because compression save a lot of bandwidth and also make ...
Gui-Don's user avatar
  • 1,376
9 votes
1 answer
7k views

Steam Post Request - Failed to load resource: the server responded with a status of 400 (Bad Request)

I'm trying to send a post request like this: xhr.open("POST", "/steamapi/actions/RemoveFriendAjax", false); var params = "sessionID="+session_id+"&steamid="+id; xhr.onreadystatechange = ...
Varun Iyer's user avatar
9 votes
1 answer
4k views

Override single setting in default Apache <VirtualHost> block

In debian's default apache2 configuration, /etc/apache2/sites-enabled/000-default contains a lot of settings for the default VirtualHost: <VirtualHost *:80> # Many good settings here, among ...
Peter V. Mørch's user avatar
9 votes
0 answers
11k views

Apache Httpd as SSL termination proxy

I would like to setup my Httpd as SSL termination proxy for my embedded Jetty. I found this article, however, it is not working for my configurations. With the following in my httpd-vhosts.conf, I ...
S.N's user avatar
  • 409

15 30 50 per page
1
2 3 4 5
2385