Stack Exchange Network

Stack Exchange network consists of 175 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.4]

Version 2.4 of the Apache HTTPd 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
3answers
1k views

Apache 2.4 subdomain setup fails

I am struggling with this all the day, no answer i found here as well. Please advice how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2....
1
vote
0answers
787 views

Apache ScriptAlias and access error?

First of all after much pain i figured out how to make it work in Apache 2.4 windowz. Here is my configuration that seems to work successfully for git clone and push and everything. Problem First of ...
3
votes
3answers
9k views

Authenticate users with LDAP and Apache 2.4

i would like to setup a LDAP Authentication with Apache 2.4. LDAP Sever is a Windows 2008. My .htaccess looks like: AuthType Basic AuthName "Login" AuthBasicProvider ldap AuthLDAPBindDN ...
0
votes
2answers
119 views

Can I have Authentication without authorization checks with apache 2.4?

When I do not provide a require directive, apache 2.4 seems to ignore authentication and just lets the user access the url. Is there way to turn off Authorization checks and only worry about ...
4
votes
1answer
2k views

Apache LDAP auth: denied all time

There is my config (httpd 2.4): <AuthnProviderAlias ldap zzzldap> LDAPReferrals Off AuthLDAPURL "ldaps://ldap.zzz.com:636/o=zzz.com?uid?sub?(objectClass=*)" AuthLDAPBindDN "uid=zzz,ou=...
0
votes
1answer
15k views

Unable to find valid certification path to requested target while CAS authentication

I'm trying to configure CAS authentication. It requires both CAS and client application to use HTTPS protocol. Unfortunately we should use self-signed certificate (with CN that doesn't have anything ...
8
votes
3answers
5k views

Difference between “Redirect permanent” vs. mod_rewrite RewriteRule

This is an Apache httpd 2.2 server. We require that access to this webserver be encrypted by HTTPS. When web clients visit my site at http://www.example.org/$foo (port 80), I want to redirect their ...
1
vote
1answer
478 views

Apache 2.4: combine dbd and mod_auth_form, how to encrypt the passwords?

If I'm using mod_auth_form and the dbd backend, how am I supposed to encrypt the passwords?
3
votes
1answer
8k views

How to upgrade Apache 2 from 2.2 to 2.4 for Ubuntu 10.04

I was in the process of doing a test upgrade from Apache 2.2 to 2.4.3. I'm using Ubuntu 10.04. I would have upgraded to 12.04 for this to see if the upgrade would go a lot smoother. Unfortunately, I ...
2
votes
3answers
5k views

apache 2.4 redirect within virtualhost

I have a couple http (port 80) vhosts that I want to redirect to http if an https request is made to them. Apparently some things have changed with Apache 2.4 (NameVirtualHost not used like it was in ...
1
vote
1answer
607 views

Compile PHP with Apache 2.4 handler

I'm trying to compile PHP 5.4 with Apache 2.4 handler since it's not officially available (I know that apachelounge.com supplies it unofficially, but I don't need it! I need to compile it myself ). I'...
7
votes
2answers
8k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
1
vote
0answers
667 views

Apache 2.4 webdav uploads without slash in filename

I have webdav running on apache 2.4.2 on Ubuntu 10.04 LTS virtual host config: ServerAdmin test@test.com ServerName test.com ServerAlias www.test.com ErrorLog "/usr/websites/logs/www.test.com-...
1
vote
1answer
7k views

Apache 2 and phpmyadmin on VirtualHost on custom port: you don't have permissions to access /phpmyadmin on this server

I googled a lot but I did not find a guide to set up phpmyadmin on a virtualHost on a custom port. Apache 2.4, this is my httpd-vhosts.conf Listen 0.0.0.0:66 <VirtualHost *:66> Alias /...
0
votes
1answer
2k views

Configuring Apache with Tomcat and phpmyadmin

We have a server with Apache 2.4, Tomcat 7 and phpmyadmin, all of them installed by source, no repository. I connected Apache with Tomcat through the jk connector by doing: JkMount /* worker1 and ...
4
votes
0answers
739 views

Apache 2.4 RPAFsethostname equivalent

We had a 2.2 server running with mod_rpaf with configuration directives like this: LoadModule rpaf_module modules/mod_rpaf-2.0.so RPAFenable On RPAFsethostname On RPAFheader X-Forwarded-For Now with ...
0
votes
1answer
1k views

How to use Apache with Windows DNS Server

I have recently bought a domain, and I have set up Windows DNS Server on my Server 2008 R2 machine to handle the DNS. To obtain the info you might need use this: http://www.intodns.com/gamersvision.co....
1
vote
3answers
4k views

Very slow first handshake Apache

Any one having any ideas where should I start to fix this issue, the first handshake take sometimes up to 20s, but refreshes after that takes only 0.9s. The setup, 100/10 Mbps Windows OS 4GB RAM ...
7
votes
3answers
8k views

Understanding apache 2.4 mod_proxy_fcgi and RewriteRules in htaccess

We've recently switched one of our web servers to apache 2.4 and running PHP via php-fpm and mod_proxy_fcgi. Most everything works quite well, but there is one problem that I don't understand yet. One ...
2
votes
2answers
3k views

mod_rpaf with apache error_log

I'm using mod-rpaf with Apache 2.4 and it's working properly (showing the real client IP's) in my Apache access_log... but not in my error_log. My error log just shows the client IP address of the ...
2
votes
2answers
8k views

Apache 2.4: First VirtualHost configuration loading for ServerNames of other vhosts

I have a problem with VirtualHosts which Apache 2.4. If I navigate to ty1.dev, I get the site for af2.dev instead If this was Apache 2.2, all I would need to add is NameVirtualHost *:80 but is ...
2
votes
2answers
45k views

Update to Apache 2.4 Missing Modules?

I have just updated to Apache 2.4 and have been hit by a massive wave of now missing modules, presumably they have been set to disabled by default. I have been getting errors in the format Invalid ...
0
votes
1answer
1k views

Keepalived with apache unable to bind interface on Backup server

I have two debian 6 servers running keepalived 1.1.20 with one server acting as a Master and the other as a Backup. Both servers host apache 2.4 that have a global Listener on all interfaces on port ...
0
votes
2answers
959 views

Apache 2.4 and SuExec configuration

If I want PHP and other scripts to run as their own user when accessed from a web browser, is this the right way to configure apache? ./configure --enable-so --enable-deflate --enable-expires --...
1
vote
1answer
1k views

Apache RewriteCond: inject string into URI between regex match groups

EDIT This works, needed to use % in place of $ for capture groups: RewriteRule (.*) http://localhost:8081/%1/%{TIME_YEAR}1101%2 [P] Having a hard time sorting this out. Need a date string ...
0
votes
1answer
103 views

Weird Pausing During HTTP Download ( Apache )

HTTP via Apache 2.4/Chrome over LAN: http://i.imgur.com/btwsH.png FTP via FileZilla Server/Chrome over LAN: http://i.imgur.com/rJvvV.png HTTP downloads seem to go slow via localhost too. I'm not ...
6
votes
2answers
11k views

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
1
vote
1answer
2k views

apache 2.4 on debian squeeze via apt

Is there a source like dotdeb.org which offers the apache 2.4 packages for Debian squeeze? I'm looking for Apache modules. I want to install the modules from this source and then the actual version of ...
3
votes
1answer
7k views

Missing mod_access_compat.so - how to compile

I upgraded to Apache 2.4 from 2.2 and noticed that I am missing the mod_access_compat.so file in the modules directory. My question is simple, how do I compile this file?
0
votes
2answers
3k views

where Redirect permanent rule need to be add

I want redirect my web site http request to https my web site is https://test my apache is version 2.4 and ssl configration is (ssl.conf) on separate file from httpd.conf and I am not using ....
2
votes
1answer
3k views

Apache MPM event in Apache 2.4+

For years I have been using the mpm-prefork module as it was my understanding that this was the preferred worker for Apache 2 and 1.3. Now I will be installing some fresh Apache servers and will be ...
0
votes
3answers
3k views

Apache 2.4 and PHP 5.4 getting connection reset errors in the browser

In the weekend I upgraded my development web server to Apache 2.4 and PHP 5.4. In my web application which was previously working great on Apache 2.2 and PHP 5.3 it now starts getting these messages ...
8
votes
3answers
7k views

Apache + PHP-FPM = random “Error parsing script headers” + Seg Faults

I have PHP-FPM setup with Apache 2.4 using proxy_fcgi, all works fine, but every one in 4-6 requests, Apache returns a blank page. This happens on my main site http://danielhe.com/, but not subdomain ...
2
votes
4answers
10k views

Apache 2.4 :: What happened to conf.d/ virtual hosts?

Getting local devel environment setup with Apache 2.4. Looks like things have changed compared to 2.2 In particular, conf.d/ directory is gone and now we have just conf/ directory with a single ...
0
votes
1answer
1k views

apache 2.4 with php on debian squeeze

I've just compiled and installed apache 2.4 on my debian squeeze machine. It was the first time I've compiled it on my own. My next step should be installing mod_php for the server. Now I was thinking ...
1
vote
3answers
7k views

Apache 2.4 Package

Does anyone know where I can get a apache 2.4 package for centos 5/6? When i run yum upgrade httpd it returns with version: 2.2.3-53.el5.centos I have these repo lists installed: base ...
1
vote
0answers
390 views

Apache 2.4 Web Based Console

I read in a news article about apache httpd 2.4 being released with the feature to configure servers via web console rather than text file. I looked in the documentation and couldnt find anything ...
3
votes
1answer
481 views

Apache 2.4 upgrade tips?

I'd like to upgrade my apache to 2.4 on a CentOS 5 VPS, for it's performance and reduced memory usage. Any experience/tips to share?
0
votes
2answers
817 views

Unable to open website in https even ssl is enabled

I want to open my website login page with https only, I check that SSL is enable on server here is basic information of server return by phpinfo(); PHP Version 5.2.14 Configure Command '--with-...
-1
votes
1answer
83 views

Apache reverse rewrite [duplicate]

Is it possible to make the URL index.php?view=something back into /something?
66
votes
5answers
110k views

How do I redirect subdomains to a different port on the same server?

I have some subdomains I want to redirect to specific ports on the same server. Say I have dev.mydomain.com I want dev.mydomain.com to transparently redirect to mydomain.com:8080 and I want to ...
5
votes
6answers
5k views

(13) Permission denied on Apache CGI attempt

I have recently upgraded my Apache2 server, and am now unable to run a CGI app. My logs are showing (13) Permission denied unable to connect to cgi deamon after multiple tries I understand that the ...