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)

learn more… | top users | synonyms (2)

0
votes
1answer
12 views

Cannot see folder created by another user

Hello I've installed apache2 on my new raspberry pi, so I'm actually learning how to setup all. I've a problem with ftp, in particular I've the user "pi" and the "root" user. Now if I upload the php ...
0
votes
0answers
5 views

How to enable ssl session caching on apache for proxypass connections to a tomcat app server

Suppose I'm using apache 2.2 as reverse proxy to a tomcat app server. The mod_proxy connection to backend tomcat is over ssl. How do I enable ssl session caching for apache not only on client side, ...
0
votes
0answers
8 views

mod_proxy_balancer and stickysession in URL

I know how to make load balancing based on JSESSIONID in cookie and jsessionid as the last parameter in URL delimieted by semicolon: ProxyPass "/test" "balancer://mycluster" stickysession=JSESSIONID|...
4
votes
1answer
22 views

Is there a potential risk, that something gets broken when enabling an apache module?

Is it safe to assume, that nothing gets broken after enabling an apache module? For example, I want to enable mod_headers on production server, but I'm afraid it can break something, perhaps because ...
0
votes
1answer
17 views

When using Apache as a reverse proxy server, can environment variables that were set using SetEnvIf be accessed when processing a response?

In other words, a user sends a request to my application which is behind a reverse proxy. The reverse proxy intercepts the request and sets an environment variable aaa using SetEnvIf. The reverse ...
0
votes
2answers
28 views

Disable RC4 cipher for Apache 2.2

I'm currently running Apache 2.2 on a Centos 6.7 machine. I need to disable the usage of the RC4 cipher under openSSL. Here is my current SSL config: SSL Protocol support: # List the enable protocol ...
-1
votes
0answers
12 views

Why does my URL rewrite rules aren't working? [duplicate]

I have a site with URLs like this: http://www.domain.com/en/product-category/deodorant-x/ And I want to remove "product-category" segment so that end result looks like: http://www.domain.com/...
0
votes
0answers
13 views

Apache make folder accessible from subfolder

I am currently having the following problem I can't seem to find a working solution for; I have "installed" a theme for the default apache directory browser. This theme requires the theme folder to be ...
0
votes
0answers
3 views

apache 2.4 with custom mod_python Auth

My auth-system broke while updating from apache 2.2 to 2.4 The following config part is the problem <Location "/secured/"> # enable mod_python AddHandler mod_python .py # require ...
0
votes
0answers
7 views

Can you enable Server-wide web.xml settings for tomcat?

I see a lot of questions out there with a lot of suggestions, yet no one has definitively proven that you can enable a global setting via the web.xml that sits in tomcat/conf/web.xml. So my question ...
0
votes
0answers
8 views

Adding client certificate to RequestHeader in Apache load balancer, but get “401 Full authentication required”

I have a network that looks like this: |------------| |---------------|/ ---------- | Client | --- https --> | Load Balancer | ---- https --> | server | |--------...
3
votes
1answer
112 views

Is it safe to store shell scripts into /var/www?

I have my apache host under /var/www/html and I put few small git deploy scripts into /var/www directory for simplicity. Is www a public folder? Is it safe to store scripts in there? If so, are there ...
0
votes
0answers
5 views

Apache Web Server 2.2 exclude Locations from 2-Way SSL

I have been reading the forum on how to include a location to a 2-WAY SSL, but not the other way around. What I need to do is have the whole site under 2-WAY SSL, and exclude the /monitor Location. ...
-1
votes
0answers
10 views

Lighttpd & proxying all outgoing http/https requests

I have a webserver that is currently running TurnKeyLinux version of lighttpd (https://www.turnkeylinux.org/lighttpd-php-fastcgi). What I'm looking to do is route all outgoing traffic/requests from ...
0
votes
0answers
10 views

Apache mod_rewrite proxy and plus (+) symbol encoded as %2B

I have a 3rd party application where I'm trying to access the path /a+b/file.txt. The URI for this must be http://server.example.com/a%2Bb/file.txt. If I use http://server.example.com/a+b/file.txt ...
0
votes
0answers
20 views

Apache virtualhost server only works intermittently [closed]

I have an apache 2.2 instance serving two sites using virtualhost. apachectl -S returns syntax okay. Querying each ServerName with dig [ServerName] points to the correct ip address and hostname. ...
0
votes
1answer
16 views

NameVirtualHost does not work: only loads default host

I have configured Apache 2.2 so that I can have 2 hosts. The problem is when I connect using the second host, the default one is loaded. This is the vhosts.conf file: NameVirtualHost *:80 <...
-1
votes
0answers
13 views

Apache on the win10 laptop works too slow [closed]

Have a problem with local webserver performance of my laptop. Hardware specs: Gigabyte p17f laptop win10 Home x64 Core i7-4710MQ 8GB RAM Toshiba MQ01ABD100 1TB HDD Userbenchmark says that PC ...
0
votes
1answer
35 views

Can i redirect only my mainpage to www

When i past this code, it redirects my whole website. But when i want to go to ticket.mysite.com it gives me the 404 because it redirects me to www.ticket.mysite.com but i don't want this with a ...
0
votes
0answers
19 views

Frequent “socket timeout after 10 seconds” service alerts with check_mk on check_http checks - how to debug?

I've set up a monitoring server with Check_MK Raw Edition on Ubuntu 14.04 Server. It doesn't really check a lot of services. There are currently 5 servers (that also use Ubuntu 14.04 Server as OS) ...
0
votes
1answer
27 views

apache server hangs php-cgi, how can i debug further

We have Windows Server 2012 R2, Apache 2.2.31 and Php 5.6.18, Zend Server Version: 8.5.3 Apache seems to be hanging more and more frequently, a restart of apache seems to fix the problem most times. ...
-1
votes
0answers
15 views

Convert apache rewrite to nginx, (if file exist in cache directory serve it from there) [closed]

How to convert this rewrite rules to nginx: RewriteCond %{DOCUMENT_ROOT}/cached/%{HTTP_HOST}/index.html -f RewriteRule ^/*$ cached/%{HTTP_HOST}/index.html [L] RewriteCond %{DOCUMENT_ROOT}/cached-...
0
votes
0answers
38 views

RewriteRule return 404

I just setup apache on my raspberry PI. I've enabled the Rewrite Mode for shunk all the api request on the index.php. In my project root (of my rest api) I've configured the .htaccess as following: ...
0
votes
0answers
30 views

Diagnosing slow server networking

So, I have 3 servers all networking together to run a single high traffic website all of which use Cloudflare for reverse proxy purposes. Two are webservers (which are identical) and one is a ...
0
votes
1answer
34 views

The request was aborted: Could not create SSL/TLS secure channel

I have seen a few of these questions around but they are related to IIS or something similar. I am using Apache with Nginx reverse proxy and cloudflare enabled with full (strict) SSL and the PEM and ...
-1
votes
1answer
35 views

Amazon EC2 - Forcing redirect of non-www http and https domains to “https://www” domain in httpd.conf [duplicate]

First and foremost, thank you for your time with my question. I am attempting to forward all traffic from http:// and https:// to "https://www.[domain].com/[etc]" I am currently able to ...
0
votes
0answers
24 views

3 server 1 domain with apache loadbalancing

I have 3 online Ubuntu servers, one as Apache load balancer and two as Apache web server with web site www.example.com When I ask for www.example.com it appear in address bar (www.example.com) but ...
0
votes
1answer
22 views

SSL Handshake Optimisation

My server seems to take a very long time (half the time of page load) to go through the initial ssl handshake process. I've tested the SSL load times using https://www.wormly.com/test_ssl it's telling ...
0
votes
1answer
45 views

Amazon Web Server EC2 - changes don't seem to stick

We have a Wordpress site hosted on an Amazon Web Services EC2 instance using elastic load balancing. I'm running into a frustrating problem where it seems like every time I refresh the browser, ...
0
votes
1answer
25 views

How to prevent other Apache 2.2 multiple VirtualHosts domains from accessing https (SSL_ERROR_BAD_CERT_DOMAIN) using SNI?

I am running Apache 2.2 on Ubuntu 14.04.4 LTS on a Linode server. I have multiple domains hosted on this machine (with only 1 IP address). I have a domain tbw.com hosted here for which I have an SSL ...
-1
votes
1answer
30 views

Possibility of rewriting response bodies in different webservers (nginx, apache, iis, etc.)

I'm doing a personal research on the differences between commonly used web servers. I'm struggling to find clear answers when it comes to particular features and most importantly for me: ability to ...
0
votes
0answers
30 views

Use RegEx to redirect all of website EXCEPT one URL

I've been directed here by support at WPengine, but I'm not sure whether this question should be asked here or over on Overflow... I'm using RegEx to redirect all paths and pages of a sub-domain to ...
0
votes
0answers
15 views

Reverse Proxy with Dynamic Ports

I have a silly web application that I have to run for our organization. I say its silly because it behaves in the following manner: Customized web server listens on port 80. User goes to login page ...
2
votes
1answer
16 views

Ubuntu VMware (Windows Host) - Apache only routeable by LocalHost

I am a Windows based, python developer, who is currently working with configuring his first linux VM. I am able to get the VM set up, with internet access. I can apt-get with no issues. After ...
0
votes
1answer
35 views

including files from /var/www in apache virtualhost subdomain

I've been having this problem for a while and still can't come up with a proper solution - I want to include files from directories within /var/www from my Apache server. This isn't a problem whenever ...
0
votes
0answers
10 views

Possible to transfer session between 2 apache php instances [migrated]

I have two identical VMs, containing Ubuntu 16.04, Apache 2.4, and PHP 7.0.4 running on different IPs. In both the VMs I have a script doing some simple session procedures. <?php session_start(); ...
0
votes
1answer
12 views

Apache : Actual Version Released Date vs Server Built Date?

In my Linux, i have httpd (Apache2), and i was curious about it's version released date. So i did: # httpd -v Server version: Apache/2.2.15 (Unix) Server built: Dec 15 2015 15:50:14 But when i ...
0
votes
1answer
18 views

Error establishing a database connection on wordpress new installation

I am running Apache on CentOS release 6.8 on a vps and am trying to install wordpress. I editied the wp-config with the correct credentials to the database. Those same credentials work in phpmyadmin ...
0
votes
1answer
46 views

How do I repair DROWN vulnerability on Centos 6.4 server?

I am running Centos 6.4 with Apache 2.2. According to CA Security Council SSL Report I am receiving an F grade due to DROWN vulnerability. The report states Vulnerable (same key with SSL v2) In ...
1
vote
1answer
69 views

Preventing Apache from logging HAProxy requests

I have two HAProxy VMs and two Apache VMs (vagrant machines) as follows. 192.168.50.11 HAPROXY VM1 192.168.50.12 HAPROXY VM2 192.168.50.21 APACHE VM1 192.168.50.22 APACHE VM2 The problem I'm having ...
-1
votes
0answers
16 views

How to append PYTHONPATH on web server?

I have requests module installed and I have tested through virtual python environment this program and it works(as in prints the right answer). import requests payload = {'key1': 'value1', 'key2': ['...
0
votes
1answer
36 views

LAMP/Apache2: How to set webhook API PHP file as public but outside of project root directory?

I have an AWS EC2 LAMP server (using Apache 2.0 and mod_php5) with a basic directory structure like this: var |-- www | `-- api_folder (NOT public) | | |-- sensitive files (NOT ...
0
votes
1answer
36 views

Apache configuration - Why I get redirect loop?

I have Apache server and JBoos server with my application on my local computer. This is my Apache configuration: httpd.conf ServerRoot "C:/opt/Apache" Listen 80 LoadModule actions_module modules/...
1
vote
0answers
25 views

How make Nginx to show different pages for site down and apache down?

How to make nginx to show page "Site down" when VirtualHost site opens for a minute or more (because of bad site code), and page "Apache down" when its ddos (server load average is >100) or Apache is ...
-1
votes
1answer
33 views

PHP: how to write a file when no permissions are granted to www-data user [closed]

I have a WEB-page on Apache/2.2.9 (Debian) server located in .../public_html I am a user with no root preveligies. I rewrote my site in PHP and noticed that it cannot write files in ../public_html I ...
0
votes
0answers
17 views

How to forward specific domain queries to different dns server using dnsmasq?

I want that all http requests on the browser be directed to my local apache server but direct some https queries like facebook.com to google's dns 8.8.8.8 using dnsmasq. I've already tried adding an ...
0
votes
1answer
12 views

Apache location directive - PCRE negative combinations (match all but..)

Yes, I'm stuck still using apache2.2 on a system and I'm trying to use a PCRE with the apache Location directive looking for any URL not containing any images or similar. Here's some things I've ...
0
votes
0answers
44 views

Apache not sending POST data to PHP?

I have written a simple command line program that opens a browser and posts data to a given url. For some reason once the request gets to my apache server, apache see's the post data, but fails to ...
0
votes
2answers
27 views

Server unresponsive: Is it Munin?

We have a dedicated machine that mostly serves as a webserver. It is running Plesk for several domains, our webservers and the munin central node that is connecting to around 10 other machines that ...
0
votes
1answer
54 views

Passenger could not spawn process for application. Rails, ubuntu, passenger and apache

My application is crashing again and again. I am using the hosting services of digital ocean the status of the server are also displayed in the image (It start working when I restart the server but ...