[users@httpd] Unconfirme​d BUG

2014-02-18 Thread Виталий Фадеев
Good day! I found strange behaviour of Apache. Apache is installed and configured to run on the same host that is running NFS server. We used Gentoo and Apache 2.4.7 Since Apache does not give any content based on the NFS I enable in the configuration file mmap, as well as, sendfile. My colleagu

[users@httpd] Unconfirme​d BUG

2014-02-18 Thread Виталий Фадеев
Good day! I found strange behaviour of Apache. Apache is installed and configured to run on the same host that is running NFS server. We used Gentoo and Apache 2.4.7 Since Apache does not give any content based on the NFS I enable in the configuration file mmap, as well as, sendfile. My colleague f

[users@httpd] Unconfirme​d BUG

2014-02-18 Thread Виталий Фадеев
Good day! I found strange behaviour of Apache. Apache is installed and configured to run on the same host that is running NFS server. We used Gentoo and Apache 2.4.7 Since Apache does not give any content based on the NFS I enable in the configuration file mmap, as well as, sendfile. My colleague f

Re: [users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread David Mehler
Hello, My thanks to everyone who helped. What I did was set up an additional virtual host which points to the https one with a rewrite. It's probably not the best way, but it does work. Here's my config: ServerAdmin xxx ServerName webmail.example.com ServerAlias webmail.example.c

Re: [users@httpd] php5 module

2014-02-18 Thread Michael Streeter
On 2/18/2014 9:32 PM, Roman Gelfand wrote: I just built apache 2.4.7 from source. I would like to build php5 module. Where can I download just the php5 module source from? I tried to download from php site, but all they have is complete source download. The complete source from the php site is

[users@httpd] php5 module

2014-02-18 Thread Roman Gelfand
I just built apache 2.4.7 from source. I would like to build php5 module. Where can I download just the php5 module source from? I tried to download from php site, but all they have is complete source download. Thanks in advance

Re: [users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread Eric Covener
On Tue, Feb 18, 2014 at 4:27 PM, David Mehler wrote: > That hostname instead of * or an IP is almost always the source of these errors. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mai

Re: [users@httpd] Rewrite problem solved

2014-02-18 Thread Eggert Ehmke
In the end I managed to solve the problem only with rewrite rules. The solution might not be perfect, but it works. # send back requests from the old server RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} ^http://123.123.123.123:8080/site/ [NC] RewriteRule ^/(.

Re: [users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread Michel Labarre
Must works with this RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Le 18/02/2014 22:27, David Mehler a écrit : Hello, I'm running Apache 2.4 on an FC20 box. It's running several name based virtual hosts. I've set up one name based virtual host o

Re: [users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread Yehuda Katz
That implies that you are not hitting the VirtualHost that you expect. This is the exact configuration I use on one of my servers: RewriteEngine On RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Can you look at your access logs and see which VirtualHost you are accessing? You can use

[users@httpd] Redirecting virtual host to https in Apache 2.4

2014-02-18 Thread David Mehler
Hello, I'm running Apache 2.4 on an FC20 box. It's running several name based virtual hosts. I've set up one name based virtual host on port 443 I'll call it webmail.example.com. When a user goes to https://webmail.example.com the connection encrypts, the page is displayed. Here's the original ve

[users@httpd] Unconfirmed BUG

2014-02-18 Thread Виталий Фадеев
Good day! I found strange behaviour of Apache. Apache is installed and configured to run on the same host that is running NFS server. We used Gentoo and Apache 2.4.7 Since Apache does not give any content based on the NFS I enable in the configuration file mmap, as well as, sendfile. My colleague f

[users@httpd] Problems installing 2.4.7

2014-02-18 Thread Will Nordmeyer
Hi, I searched the archives and tried some solutions I saw there... but here's my issue... I have Apache 2.4.3 installed on CentOS6 and I'm trying to build/install 2.4.7. I downloaded and installed APR 1.5.0 and APR-UTIL 1.5.3 to /usr/local/apache2 I downloaded httpd 2.4.7 and configured with t

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Tom Evans
On Tue, Feb 18, 2014 at 3:00 PM, Richard Mixon wrote: > Jonas/Yehuda, > > The example I chose was a bad one, just rushing to get the mail out I guess. > The vast majority of the requests have a return of 200, with a few 503. > Yes, your configuration is not right - you are configuring a reverse

Re: [users@httpd] SERVER_ADDR "does not exist"

2014-02-18 Thread Eric Covener
Kind of makes sense -- the CGI-related environment variables are set very late in processing -- so maybe reqenv() is not so useful for these because it runs relatively early. I think what you actually need is an enhancement to the expression parser to make "SERVER_ADDR" available. Can you open an

Re: [users@httpd] SERVER_ADDR "does not exist"

2014-02-18 Thread Adrian Lester
Thanks for that Eric, the similarity of the expression parser's variables to the environment variables had caused me to see straight past the fact that they are two separate things - my bad. Unfortunately, I seem now to be banging my head against another brick wall... I have changed my syntax to:

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Igor Cicimov
I use this to block relay proxy attempts: RewriteCond %{THE_REQUEST} ^[A-Z]+\ /?https?:// [NC] RewriteCond %{THE_REQUEST} !^[A-Z]+\ /?https?://([^.]+\.)?mydomain\.com RewriteRule .* - [F] On Wed, Feb 19, 2014 at 2:00 AM, Richard Mixon wrote: > Jonas/Yehuda, > > The example I chose was a bad on

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Richard Mixon
Jonas/Yehuda, The example I chose was a bad one, just rushing to get the mail out I guess. The vast majority of the requests have a return of 200, with a few 503. I hope this reply goes through - I've waited a few days. Earlier replies to the list keep getting rejected due to SPAM scores - I ke

Re: [users@httpd] SERVER_ADDR "does not exist"

2014-02-18 Thread Eric Covener
On Tue, Feb 18, 2014 at 5:55 AM, Adrian Lester wrote: > Please accept my apologies for popping up on the list with an immediate > question, and even more so if it turns out that I am being stupid, but > this one really does have me confused. I have read the manuals and > searched and searched, but

[users@httpd] SERVER_ADDR "does not exist"

2014-02-18 Thread Adrian Lester
Please accept my apologies for popping up on the list with an immediate question, and even more so if it turns out that I am being stupid, but this one really does have me confused. I have read the manuals and searched and searched, but can't seem to find any reference to anyone else having the sam

Re: [users@httpd] Rewrite problem

2014-02-18 Thread Eggert Ehmke
Hello, I tried this approach: ProxyPass /oldserver/ http://123.123.123.123:8080/site/ ProxyPassReverse /oldserver/ http://123.123.123.123:8080/site/ # rewrite for zope RewriteCond %{REQUEST_URI} !^/oldserver/ RewriteRule ^/(.*) (rewrite for local zope server)

Re: [users@httpd] Rewrite problem

2014-02-18 Thread Vincenzo D'Amore
Hi, I'm not sure I got your problem, but you could try to modify the HTML before return it to the user. There are at least a couple of module able to do it. I suggest take a look at mod substitute or maybe mod proxy HTML. Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 18/feb/2014,

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Jonas Eckerman
Just commenting on you're logged request, not your config... What was it that made you think you had an open proxy? Was it only requests like the one below? Where they all answered with status 403? Richard Mixon wrote: > After that we started getting flooded with requests such as the followin