Questions tagged [apache2.2]

Use this tag for Apache version 2.2.x specific question.

Apache version 2.2.x. This version is an obsolete Apache HTTP Server version, with many security vulnerabilities.

Apache httpd 2.2 is End-of-Life since December 2017.

302 questions
42
votes
6 answers

How to accomplish "AuthType None" in Apache 2.2

http://httpd.apache.org/docs/trunk/mod/mod_authn_core.html#authtype talks about "AuthType None", and has an awesome example of exactly what I need to do - unfortunately, it appears to be new to 2.3/2.4. Is there any equivalent feature in 2.2? The…
Technorati
  • 521
  • 1
  • 4
  • 4
24
votes
6 answers

fabric appears to start apache2 but doesn't

I'm using fabric to remotely start a micro aws server, install git and a git repository, adjust apache config and then restart the server. If at any point, from the fabfile I issue either sudo('service apache2 restart') or run('sudo service apache2…
Dan
  • 1,536
  • 1
  • 10
  • 20
23
votes
4 answers

.htaccess: how to restrict access to a single file by IP?

I've look all over, but keeps running into same info that talks about directory level IP restriction, which usually looks something like this: Order Deny,Allow Deny from all Allow from 123.123.123.123 Is it possible to have same type of access…
HeadScratching
  • 263
  • 1
  • 2
  • 7
15
votes
0 answers

apache php - X-SendFile with Byte Range

I have Apache 2.2.8 installed on a server, and I'm trying to use X-SendFile to deliver video files. Unfortunately some devices, like iPads, seem to require Byte Range in order to serve the files, but I cannot get Accept-Ranges to work with…
gin drskvy
  • 305
  • 2
  • 11
15
votes
1 answer

Setting timeout for all the ProxyPass mappings in Apache Server mod_proxy directive

What I have and works: I'm using Apache HTTPD 2.2 for proxy requests. I have multiple ProxyPass mappings: ProxyRequests On AddDefaultCharset off Order deny,allow Allow from all ProxyPreserveHost Off ProxyPass /a…
Raul Rene
  • 10,014
  • 9
  • 53
  • 75
11
votes
3 answers

Django JWT Authentication behavior different between local & mod_wsgi servers with Django REST framework

I am trying to determine why authentication for protected resources using the Authorization: header behaves properly when using a local development server but not on my deployed apache 2.2 w/mod_wsgi implementation. I am using django 1.8 with…
cerd
  • 2,171
  • 1
  • 18
  • 28
9
votes
0 answers

mod_usertrack/mod_rewrite doesn't pass cookie to downstream apps on first request

I have apache configuration like CookieTracking On BalancerMember http://my-server:8084 loadfactor=1 ping=10 ttl=300 timeout=120 ProxyPass /mystuff balancer://my-cluster ProxyPassReverse /mystuff…
Harry Lime
  • 29,476
  • 4
  • 31
  • 37
8
votes
2 answers

Removal of the /var/www/icons alias from Apache config

I have a directory called /var/www/icons on my web server, which is also referenced as an alias in my Apache config as seen below: Alias /icons/ "/var/www/icons/" The directory contains a number of small PNGs and GIFs, which AFAIK are unused, along…
crmpicco
  • 16,605
  • 26
  • 134
  • 210
7
votes
3 answers

Apache 2.2 redirect to SSL *then* do auth (with solution < but is it crap?)

Seems to be the place for apache so here goes :) Age old problem: how so I redirect HTTP->HTTPS, then and only if HTTPS, do an auth? Oh - and I'd like most of it in a single snippet that can be Include-ed in multiple or
7
votes
2 answers

Fatal error: Call to undefined function sem_get()

I'm new to PHP and I'm trying to run code I got from someone else on my Windows development machine. I installed PHP 5 and Apache 2.2, but when I try to run it I get the error: Fatal error: Call to undefined function sem_get() The line it's being…
Adam
  • 43,763
  • 16
  • 104
  • 144
6
votes
5 answers

Giving PHP write permission in Apache

I'm relatively new to configuring Apache. I have a PHP script that writes a JSON file based on values retrieved from $_GET. I run that code by…
McKayla
  • 6,879
  • 5
  • 36
  • 48
6
votes
1 answer

Apache ErrorDocument with absolute path

I have a server with several virtual hosts. Now I want to set up the error documents for the whole server. I have located my error sites in /var/www/error/*, but with the ErrorDocument directive I am only able to set the error document relative to…
svenwltr
  • 17,002
  • 12
  • 56
  • 68
6
votes
2 answers

Tomcat7 status Stopping in windows service

I have Apache 2.2 and 4 Tomcat7 instance is running One of the tomcat is configured for 1500 threads and 1024 Mb of Java heap space as the web application require such a deal... So at time i face a lot of user traffic and the application gets slow,…
vivek
  • 309
  • 1
  • 2
  • 8
6
votes
2 answers

Why doesn't use warnings FATAL => 'all' seem to work?

This script: use warnings FATAL => 'all'; warn 'warning'; die 'death'; ...results in 'warning' getting logged, but doesn't die at that point, instead dying with 'death'. I have a mod_perl module that overrides $main::SIG{__DIE__} to basically spit…
Kev
  • 15,899
  • 15
  • 79
  • 112
6
votes
4 answers

oci_connect() works only from command line

OK, so I have this terrible problem with oci, apache, php and suse. First off, versions: PHP 5.3.15 (cli) Apache/2.2.22 (Linux/SUSE) OCI8 1.4.9 SUSE 12.2 32 bit Oracle client 10.2.0.4 Problem I have really simple php file:
maialithar
  • 3,065
  • 5
  • 27
  • 44
1
2 3
20 21