Version 2.4 of the Apache HTTPd Server

learn more… | top users | synonyms (1)

1
vote
0answers
12 views

Use different client IPs with mod_rewrite and mod_remoteip

I have a reverse proxy that my site points to to help with DDoS protection. I have mod_rewrite set to use a specific header provided by the reverse proxy in order to pull the actual client IPs instead ...
0
votes
0answers
13 views

How can I fix recurring PHP 503 Errors on my Apache-mod_proxy_fcgi-PHP-FPM Server?

i'm having trouble with my php-fpm setup. Maybe you guys can point me in the right direction. First off, everything is working fine. But every now and then, I'll get 503 Errors. Those errors are gone ...
2
votes
1answer
29 views

Ubuntu Server - Configuring BIND9 and Apache to serve domain and subdomains

First off, let me apologise for a perhaps vague question. I need some pointers on how to configure the setup describe below. I'm not asking for finished configuration file, but I'm failing to piece ...
-1
votes
1answer
14 views

apache: prepend a string literal to a TestString in a RewriteCond for mod_rewrite [duplicate]

So I can clearly do this: RewriteCond %{REQUEST_FILENAME}\.php -f But I cannot do this: RewriteCond some_directory/%{REQUEST_FILENAME}\.php -f Furthermore, this also fails: RewriteCond ...
0
votes
1answer
20 views

Sharing developing site on VM with 3rd computer within local network

I'm trying to figure out the correct url I should type to show my subsite1 by browsing through an inner network computer. The only site I've been able to view was the mainsite. I don't really ...
-1
votes
0answers
11 views

AH02039: Certificate Verification: Error (7): certificate signature failure

Created rootCA.pem and rootCA.key on commandline setted up apache to use this certificate. Now generating client certificates using a perl script. Generating works fine, but when I'm using them to ...
0
votes
1answer
22 views

Apache works with domain, but not subdomain

I can set up a proxy like so NameVirtualHost *:80 <VirtualHost *:80> ServerName example.ca ProxyPreserveHost On ProxyVia Full #ProxyRequests off # setup the proxy <Proxy ...
-3
votes
1answer
31 views

redirect ssl http to https issue in apache

i am a newbie with apache. need some advise regarding redirecting http to https. It looks like everything in the ssl.conf is copasetic, once i logged on to ssl environment, every links i clicked seem ...
-2
votes
1answer
20 views

Apache to automatically invalidate sessions after X period of time [on hold]

Are there settings in apache that we can config so that it will invalidate sessions after X period of time. (esp. on situation when user did not logout)
0
votes
0answers
4 views

How do I disable MultiViews for Apache

Currently, the apache httpd.conf file contains Options Indexes FollowSymLinks Includes ExecCGI However, the appscan software say that I have MultiViews enabled. How do I go about to disable ...
1
vote
0answers
9 views

Httpd RewriteMap using QueryString

I'm trying to redirect the following request http://host.com/foo?bar=xxx+aGVsbG8K&other=value to http://host.com/hello?bar=xxx&other=value Where aGVsbG8K is base64 encode version of hello I ...
0
votes
0answers
12 views

Tortoise SVN: Initial connect timeout

I have a problem when connecting Tortoise SVN to my SVN server. The first connect seems to run into a timeout (SVN hangs about 20 seconds) and the second (automatic) try works instantly. I.e. every ...
1
vote
1answer
16 views

varnish configuration with apache domains

I have istalled Varnish on Debian. I have a website running on Apache on http://example.com Here's my /etc/varnish/default vcl 4.0; backend default { .host = "example.com"; .port = "8080"; ...
0
votes
1answer
31 views

mod_wsgi keeps using system python

I installed apache 2.4 on ubuntu 14.04 with mod_wsgi 4.4 from source and pyenv to use python 2.7.9. I set up the apache configuration to work with pyenv. I'm getting the following error when I run ...
0
votes
0answers
49 views

KeepAlive in Apache 2.4 interfering with form submissions

I have just upgraded a server to Debian Jessie, which includes Apache 2.4.10 (was 2.2), and PHP 5.6. Now, SSL sites won't submit forms in some circumstances on IE11 and iPad Safari (not sure about ...
1
vote
1answer
37 views

SQL Query overloading server

I have one php file which is getting called very often for a session check of an external application. I don't know how many calls there are every second, but I think it may be like 20-100 calls every ...
0
votes
1answer
32 views

PHP-FPM is not working with htaccess

I have a VirtualHost: <VirtualHost *:80> DocumentRoot "/var/www/html/example.com" ServerName example.com ServerAlias *.example.com <Directory "/var/www/html/example.com"> Require all ...
0
votes
1answer
19 views

Mod Rewrite Errors Filling Apache Error Log

My Apache error logs are blowing up with the following error but I'm not sure what it means. [Fri Aug 21 16:29:02.433153 2015] [rewrite:trace2] [pid 1389] mod_rewrite.c(468): [client ...
0
votes
0answers
23 views

PHP can't find pdo_mysql driver [closed]

For some reason my PHP cannot find the pdo_mysql driver when I do have that file in my ext directory and I have also uncommented the below lines from my php.ini file: extension=php_mysql.dll ...
-1
votes
2answers
19 views

How to generate .key and .crt file from JKS file for httpd apache server

I have the mycert.jks file only. Now i need to extract and generate .key and .crt file and use it in apache httpd server. SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt ...
1
vote
1answer
24 views

Conditionally serving files from a directory outside of the document root with Apache2

I have inherited a web application written in PHP. The code is not the best and I want to start using the Symfony framework. It will be a gradual migration through several releases so I need the ...
0
votes
0answers
13 views

Apache 2.4.7 processes pages but data takes 1 minute to get delivered

We are having a very peculiar issue with a simple, new Ubuntu 64 bits LTS 14.04 LAMP VPS installation. It features only one website (under construction), which is based on WordPress. I have installed ...
-1
votes
0answers
27 views

VPS slow after hard disk installation [closed]

I had my hard drive increased 50 GB on a centOS 6.7 VPS. Immediately after reboot the response time to the web server has increased 200%. Top shows a large number of PHP processes with low memory ...
0
votes
1answer
12 views

Virtualhost Document Root changing web root for entire server

I currently have example.com pointing to Server one. I wanted to server example.com from a different directory ( /WebData ) I did this by editing httpd.conf http://pastebin.com/UjHhRNTX I this ...
1
vote
1answer
32 views

How can I get LDAP to pass the currently logged-in user's credentials to a local Apache server?

I'm trying to get SSO (single-sign on) working on a local osTicket installation. I found the HTTP passthru plugin on the osTicket website and have installed it in osTicket. I've made sure the plugin ...
1
vote
0answers
43 views

Websockets behind Apache and Nginx proxy connection not upgraded

I have a problem. Apache listens on a white ip and proxies all requests /ssd on nginx that proxies requests /city-dashboard to another server with websockets. In apache config: ProxyPass /ssd/ ...
-2
votes
0answers
22 views

Nagios in webroot

I have just setup a test Nagios system on a Ubuntu 14 VM. For those of you familiar with Nagios, you know it defaults to /usr/share/nagios3/htdocs and when you browse to it, you use ...
1
vote
1answer
17 views

How to get the remote user from httpd basic authentication in my tomcat servlet?

I've successfully configured mod_proxy_ajp from my httpd to Tomcat, with httpd performing the SSL and basic authentication. I need the remote user in my tomcat application, so I thought using AJP ...
0
votes
0answers
26 views

apache 2.2 to 2.4 sporadic performance drop

I updated apache from 2.2 to 2.4 and php from 5.3 to 5.4. For some reason I am experiencing huge performance drops in around 5% of requests to the server. On average, sites load in less than 2 seconds ...
2
votes
0answers
17 views

SSL - Apache and Node.js on the same Amazon EC2 instance

I hosted my website on an EC2 instance, using Apache. SSL was also set up properly, running on HTTPS, port 443. Currently, I just added a chat application to the website using Node.js + socket.io. ...
0
votes
0answers
11 views

apache2 returning 403 for DELETE requests

I ran into a strange error with apache2 server. I have multiple virtualhosts configured for my web-app, and I am using context path to differentiate between different apps. All of a sudden, most ...
-1
votes
0answers
19 views

Apache Ant is not configured properly on OSX Yosemite 10.10.3 [closed]

After installing Apache Ant using homebrew (I've also used the .tar file from the main site and in both cases added the bin location to my bash_profile PATH), I get an error. At the moment I'm using ...
2
votes
1answer
14 views

Apache-Served CA vs Local Root CA - Which Wins?

I currently have two Apache servers running here and here, both use SSL certs signed by StartSSL. Apache SSL configuration below: ## SSL directives SSLEngine on SSLCertificateFile ...
1
vote
1answer
30 views

Issues with running Apache on one IP

I currently have a machine with multiple IPs, however I wish to limit Apache to just one of them. I understand this question has been asked already here however I have run into issues following it: ...
0
votes
0answers
8 views

Configure Apache with session logic

I am using Apache 2.4 on CentOS 6. Trying to run external program (via rewritemap) only on the first request by the user. So for each session just run it once and then ignore it until session expires ...
0
votes
1answer
9 views

How to forbid access to admin URL path in Apache config by IP subnet?

I want to only allow a private IP range to be able to access the administrator panel on my site. I found an article explaining how to do it for a specific directory path, such as /var/www/admin/, ...
0
votes
1answer
16 views

Using proxypass with cacti breaks in page layout

I'm trying to setup proxypass to map http://status.site.com/cacti to http://othersite.com:8080/cacti, but without mapping the whole /. Here the conf: <VirtualHost *:80> ServerName ...
2
votes
1answer
19 views

Virtualhosts names not working on apache on Yosemite 10.10.4

I'm dropping MAMP in favor of native Yosemite apache. I have troubles defining and accessing my vhosts, they seems to be unreachable. I've followed this gist: ...
0
votes
0answers
22 views

Apache 24 on windows 2008 stops responding to some clients

I have deployed a South Tactic (python) web server using apache. Tactic runs more than one python processes for multi-threading on the server, which apache uses for load balancing. The problem is ...
0
votes
0answers
42 views

Multiple Domains on Apache windows

[From stackoverflow] so I have my website [www.example.net] and [www.example.com] I'm running windows, and I installed it myself, without xampp or whatever. I also installed php alongside. My domain ...
0
votes
0answers
22 views

CGI document downloads instead of executing on Apache2 Mac OS X

I am new to manually configuring Apache servers and I'm trying to set up a an Apache 2.4 server on a Mac OS X. I am experimenting with a C++ and CGI and I'm trying to generate an html page via the C++ ...
2
votes
2answers
62 views

Apache - drawback to high number of httpd processes always running

Is there any issue with having a high number of spare httpd processes always running? I ran a test where I increased StartServers and MinSpareServers by 1,000 and measured the increase in memory ...
0
votes
1answer
11 views

How can I get the phpmyadmin alias to match instead of this default Apache virtual host?

If do a brand new install of Apache 2.4 PHP Phpmyadmin on Ubuntu 14.04 server. And I use all default "out of the box" settings I can browse to x.x.x.x/phpmyadmin and phpmyadmin will load - ...
2
votes
1answer
40 views

SELinux not enforcing apache write restrictions despite being enabled

Problem in a nutshell: SELinux does not protect files and directories labeled as httpd_sys_content_t from being written, deleted or changed when new/custom document root is created. I have ...
1
vote
2answers
37 views

How to block Ip in .httaccess on Apache 2.4

I've upgraded Apache 2.4 and would like to block an Ip this could be done by using the following in the .httaccess on Apache 2.2 Order Deny,Allow Deny from 50.62.136.183 However how can I achieve ...
0
votes
0answers
11 views

Apache 2.4 mod_rewrite on vhost_alias

i have configured apache as dynamic mass virtual hosts. I have serval applications writen in symfony2 with .htaccess Vhost looks like this: <VirtualHost _default_:80> ServerAdmin ...
-2
votes
0answers
26 views

Apache2 “caching” my pages, while I don't have cache installed [migrated]

just to know, I am not a system admin (I mean this is not my job), and I try to configure my apache just to produce my projects. My system is Ubuntu 15.04 and I have installed Apache2 Apache/2.4.10 ...
0
votes
1answer
19 views

Some mod_rewrite syntax clarification

We inherited some code recently and I'm reviewing the .htaccess file of one of the sites. I understand what the end result of most of the rewrite rule sets are, I'm just unsure of some of the syntax. ...
0
votes
0answers
16 views

Kerberos key version number mismatch in Apache, even though kvno and klist -k return the same numbers

I don't know if anyone had this issue. I am trying to implement single-sign-on through Kerberos and I get the following Apache error: [Thu Aug 13 12:08:54.219420 2015] [auth_kerb:error] [pid 1829] ...
0
votes
0answers
23 views

cockpit over apache proxy

Today i tried to make a proxy for cockpit with apache mod_proxy and mod_wstunnel on Centos 7 without success. I configured cockpit without ssl and created this apache configuration: <VirtualHost ...