AW: [users@httpd] Execution order of directives within Apache 2.4

2015-02-23 Thread Andre.Wendel
Yes, you are completely right and all configurations, which are based on 
executions orders are hackish and I don't try to implement such configurations. 
There just have been some internal questions about the execution order of 
configurations inside apache and I was not fully aware of and so I asked.

The information about the sections topic 
(http://httpd.apache.org/docs/2.4/sections.html), helped me at that point. 

Thanks & cheers,
André

-Ursprüngliche Nachricht-
Von: Nick Kew [mailto:n...@webthing.com] 
Gesendet: Freitag, 20. Februar 2015 14:13
An: users@httpd.apache.org
Betreff: Re: [users@httpd] Execution order of directives within Apache 2.4

On Fri, 20 Feb 2015 12:33:32 +
 wrote:

> 
> Hello everybody,
> 
> I was searching for a description of the exection order of directives and 
> configurations within the apache and I wasn't able to find the documentation 
> about that? E.g. I know that ReverseProxy rules will be executed in the order 
> from top down, also virtual hosts and filters, but I wasn't able to find out 
> what the execution order is if I have e.g. virtual hosts configured and 
> rewrite rules within the main configuration?
> 
> Are there general rules, like the overall order inside the httpd.conf, or the 
> execution is based on the order the single corresponding modules are loaded?

If that kind of esoterica matters to you, it suggests you're
attempting something very hackish and likely to be hard to
maintain.  Best advice is don't.  Failing that, try it and see.

The specific question you put is described in mod_rewrite documentation
(and note that any use of mod_rewrite hints at the likelihood of a hack
that might easily have been necessary in the 1990s, but has long since
become redundant).  Rewrite directives at top level are indeed processed
early, before context-sensitive config.


-- 
Nick Kew

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Support for http/2 in Apache HTTPD?

2015-02-23 Thread Jim Jagielski
> Chrome and IE are pushing for HTTP/2 sooner rather than later. Hopefully it 
> will be quick to come to apache because it certainly sounds like a major 
> improvement.

"major" is a bit of an exaggeration :) 


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Support for http/2 in Apache HTTPD?

2015-02-23 Thread Carmel NY
On Sun, 22 Feb 2015 19:16:34 -0500, Andre-John mas stated:

> Hi,
> 
> Can anyone tell me whether Apache supports http/2 and if not what the
> roadmap is? I am having trouble finding any useful information on the
> subject - I did do a search. 

This is probably not what you are looking for; however, it does indicate that
Microsoft is serious about http2.0

https://msopentech.com/blog/2013/07/29/start-testing-with-first-implementation-of-ietf-http2-0-draft-from-ms-open-tech/

-- 
Carmel

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread André-John Mas
> On 22 Feb 2015, at 20:42, @lbutlr  wrote:
> 
>> On 22 Feb 2015, at 17:16 , Andre-John mas  wrote:
>> Can anyone tell me whether Apache supports http/2
> 
> No. I just asked this a couple of weeks ago.
> 
>> and if not what the roadmap is? I am having trouble finding any useful 
>> information on the subject - I did do a search.
> 
> Yeah, there’s not much out there.
> 
> Chrome and IE are pushing for HTTP/2 sooner rather than later. Hopefully it 
> will be quick to come to apache because it certainly sounds like a major 
> improvement.

I didn't find an enhancement ticket with regards to this, unless I am searching 
badly? Considering whether to open a ticket to track this, if there is 
confirmation one doesn't exist. 

Regards

Andre-John
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread Eric Covener
On Mon, Feb 23, 2015 at 9:07 AM, André-John Mas  wrote:
> I didn't find an enhancement ticket with regards to this, unless I am 
> searching badly? Considering whether to open a ticket to track this, if there 
> is confirmation one doesn't exist.

I can't recall one being open, seems like a good idea.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread Andre-John mas

> On Feb 23, 2015, at 09:10, Eric Covener  wrote:
> 
>> On Mon, Feb 23, 2015 at 9:07 AM, André-John Mas  
>> wrote:
>> I didn't find an enhancement ticket with regards to this, unless I am 
>> searching badly? Considering whether to open a ticket to track this, if 
>> there is confirmation one doesn't exist.
> 
> I can't recall one being open, seems like a good idea.

Now done: Bug 57624 - https://bz.apache.org/bugzilla/show_bug.cgi?id=57624


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Otis Dewitt - NOAA Affiliate
Can someone please tell what I am doing wrong here, I am using Apache
reverse proxy. I have been having this issue for sometime.

#WORKS
1. If I use the Internal url directly to the server.
  a. https://example.com:20201/class/page/createpdf.jsp?requestId=7
  b. I get a pdf to download.

# FAILS
2. If I use the External url I get "might be temporarily down or it may
have moved permanently to a new web address."
  a. https://www.docu.com/class/page/createpdf.jsp?requestId=7
  b. "Web Page Not Available" - "The webpage at
https://www.docu.com/class/page/createpdf.jsp?requestId=7 might be
temporarily down or it may have moved permanently to a new web address.
Error code: ERR_INVALID_RESPONSE"


# Class Directive (443) #EXAMPLE
RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]


SetOutputFilter   proxy-html
ProxyPassReverse  https://example.com:20201/class
ProxyHTMLEnable   On
ProxyHTMLExtended On
ProxyHTMLURLMap   http://example.com:20201/class  /class
RequestHeader unset  Accept-Encoding



Thanks,
Otis


Re: [users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Eric Covener
> # Class Directive (443) #EXAMPLE
> RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]
>
> 
> SetOutputFilter   proxy-html
> ProxyPassReverse  https://example.com:20201/class
> ProxyHTMLEnable   On
> ProxyHTMLExtended On
> ProxyHTMLURLMap   http://example.com:20201/class  /class
> RequestHeader unset  Accept-Encoding
> 

Missing ProxyPass?  I don't see why this would be proxied.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Otis Dewitt - NOAA Affiliate
oops yeah missed adding that to the email.

Its in the config:

# Class Directive (443) #EXAMPLE
RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]

ProxyPass /class https://example.com:20201/class


SetOutputFilter   proxy-html
ProxyPassReverse  https://example.com:20201/class
ProxyHTMLEnable   On
ProxyHTMLExtended On
ProxyHTMLURLMap   http://example.com:20201/class  /class
RequestHeader unset  Accept-Encoding


Thanks,
Otis


On Mon, Feb 23, 2015 at 1:11 PM, Eric Covener  wrote:

> > # Class Directive (443) #EXAMPLE
> > RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]
> >
> > 
> > SetOutputFilter   proxy-html
> > ProxyPassReverse  https://example.com:20201/class
> > ProxyHTMLEnable   On
> > ProxyHTMLExtended On
> > ProxyHTMLURLMap   http://example.com:20201/class  /class
> > RequestHeader unset  Accept-Encoding
> > 
>
> Missing ProxyPass?  I don't see why this would be proxied.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Otis Dewitt - NOAA Affiliate
Everything works on this site except this url:
https://www.docu.com/class/page/createpdf.jsp?requestId=7

weird problem.

Thanks,
Otis

On Mon, Feb 23, 2015 at 1:15 PM, Otis Dewitt - NOAA Affiliate <
otis.dew...@noaa.gov> wrote:

> oops yeah missed adding that to the email.
>
> Its in the config:
>
> # Class Directive (443) #EXAMPLE
> RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]
>
> ProxyPass /class https://example.com:20201/class
>
> 
> SetOutputFilter   proxy-html
> ProxyPassReverse  https://example.com:20201/class
> ProxyHTMLEnable   On
> ProxyHTMLExtended On
> ProxyHTMLURLMap   http://example.com:20201/class  /class
> RequestHeader unset  Accept-Encoding
> 
>
> Thanks,
> Otis
>
>
> On Mon, Feb 23, 2015 at 1:11 PM, Eric Covener  wrote:
>
>> > # Class Directive (443) #EXAMPLE
>> > RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]
>> >
>> > 
>> > SetOutputFilter   proxy-html
>> > ProxyPassReverse  https://example.com:20201/class
>> > ProxyHTMLEnable   On
>> > ProxyHTMLExtended On
>> > ProxyHTMLURLMap   http://example.com:20201/class  /class
>> > RequestHeader unset  Accept-Encoding
>> > 
>>
>> Missing ProxyPass?  I don't see why this would be proxied.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>


Re: [users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Eric Covener
On Mon, Feb 23, 2015 at 1:15 PM, Otis Dewitt - NOAA Affiliate
 wrote:
> oops yeah missed adding that to the email.


What does the error log say?  I'd also suggest testing with a
command-line browser like wget/curl for a more meaningful error
message.

-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] ProxyReverse Issue on - httpd-2.2.29

2015-02-23 Thread Rainer Jung

Am 23.02.2015 um 19:18 schrieb Otis Dewitt - NOAA Affiliate:

Everything works on this site except this url:
https://www.docu.com/class/page/createpdf.jsp?requestId=7

weird problem.

Thanks,
Otis

On Mon, Feb 23, 2015 at 1:15 PM, Otis Dewitt - NOAA Affiliate
mailto:otis.dew...@noaa.gov>> wrote:

oops yeah missed adding that to the email.

Its in the config:

# Class Directive (443) #EXAMPLE
RewriteRule ^/class$(.*) https://www.docu.com/class$1 [L,NC]


What is the "$" in the left side of the rule supposed to do?

If you remove the dollar sign, or we just ignore it for a moment, I 
would suspect a redirect loop here. Is this the config from the http or 
https VHost? If http, then redirecting to https would be fine, but I 
woudn't understand why it should also proxy. If https, then the 
RweriteRule looks suspect.



ProxyPass /class https://example.com:20201/class


 SetOutputFilter   proxy-html
 ProxyPassReverse https://example.com:20201/class
 ProxyHTMLEnable   On
 ProxyHTMLExtended On
 ProxyHTMLURLMap http://example.com:20201/class  /class
 RequestHeader unset  Accept-Encoding



Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Unsubscribe

2015-02-23 Thread samaneh berenjian
​please unsubscribe me.

Re: [users@httpd] Unsubscribe

2015-02-23 Thread Sayan Hazra
Please unsubscribe me too. Thanks.


On Mon, Feb 23, 2015 at 10:34 PM, samaneh berenjian <
sama.scient...@aut.ac.ir> wrote:

> ​please unsubscribe me.
>


Re: [users@httpd] Unsubscribe

2015-02-23 Thread rabisankar sahu
Please unsubscribe me too.
Thanks,Rabi
 To Do What U Like, is Freeness
To Like What U do, is Happiness 

 On Monday, February 23, 2015 1:58 PM, Sayan Hazra  
wrote:
   

 Please unsubscribe me too. Thanks.

On Mon, Feb 23, 2015 at 10:34 PM, samaneh berenjian  
wrote:

​please unsubscribe me.



   

Re: [users@httpd] Unsubscribe

2015-02-23 Thread André-John Mas
Please use the users-unsubscr...@httpd.apache.org address, from the e-mail 
account you use for this list, to do this. 

Regards

André-John

Sent from my phone. Envoyé depuis mon téléphone. 

> On 23 Feb 2015, at 17:19, rabisankar sahu  
> wrote:
> 
> Please unsubscribe me too.
> 
> Thanks,
> Rabi
>  
> To Do What U Like, is Freeness
> To Like What U do, is Happiness
> 
> 
> On Monday, February 23, 2015 1:58 PM, Sayan Hazra  
> wrote:
> 
> 
> Please unsubscribe me too. Thanks.
> 
> 
> On Mon, Feb 23, 2015 at 10:34 PM, samaneh berenjian 
>  wrote:
> ​please unsubscribe me.
> 
> 
> 


[users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread @lbutlr
On Feb 23, 2015, at 4:34 AM, Jim Jagielski  wrote:
>> Chrome and IE are pushing for HTTP/2 sooner rather than later. Hopefully it 
>> will be quick to come to apache because it certainly sounds like a major 
>> improvement.
> 
> "major" is a bit of an exaggeration :) 

I don’t think so, major may be underselling it. It represents a dramatic 
increase in speed thanks to compression, smart prioritization of streams, and 
other features from SPDY.

-- 
And what rough beast, its hour come round at last,
Slouches towards Bethlehem to be born.


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



RE: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread curtis






 Original message 
From: "@lbutlr"  
Date:02/23/2015  7:14 PM  (GMT-05:00) 
To: users@httpd.apache.org 
Cc:  
Subject: [users@httpd] Re: Support for http/2 in Apache HTTPD? 

On Feb 23, 2015, at 4:34 AM, Jim Jagielski  wrote:
>> Chrome and IE are pushing for HTTP/2 sooner rather than later. Hopefully it 
>> will be quick to come to apache because it certainly sounds like a major 
>> improvement.
> 
> "major" is a bit of an exaggeration :) 

I don’t think so, major may be underselling it. It represents a dramatic 
increase in speed thanks to compression, smart prioritization of streams, and 
other features from SPDY.



A little research found that apache supports http/2 via the  mod_spdy module.

--Curtis

Re: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread Eric Covener
On Mon, Feb 23, 2015 at 7:39 PM, curtis  wrote:
> A little research found that apache supports http/2 via the  mod_spdy
> module.

I didn't think it even supported/advettised old http/2, much less kept
up to date with the evolution. Maybe there's some vibrant fork of it
outside of the one donated from google?

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread Victor Williams
 

That module is only meant for the 2.2 branch. There is no official (or
otherwise) support for the 2.4 branch (that I know of). 

On 2015-02-23 19:36, Eric Covener wrote: 

> On Mon, Feb 23, 2015 at 7:39 PM, curtis  wrote:
> 
>> A little research found that apache supports http/2 via the mod_spdy module.
> 
> I didn't think it even supported/advettised old http/2, much less kept
> up to date with the evolution. Maybe there's some vibrant fork of it
> outside of the one donated from google?
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org

 

[users@httpd] Re: Support for http/2 in Apache HTTPD?

2015-02-23 Thread @lbutlr
On Feb 23, 2015, at 5:39 PM, curtis  wrote:
> A little research found that apache supports http/2 via the  mod_spdy module.

No, that is not correct. SPDY is a precursor to HTTP/2 and is *not* HTTP/2. 
Also, SPDY does not work in Apache 2.4.

-- 
"Is that a star?" "Nah, that's Ted Danson."


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Changing Email Signatures

2015-02-23 Thread phil


Silly question i cant seem able to google up for some reason.
How do i get those email sigs that change every day or every email.
Just a push in the direction of the website would be most appreciated.

--
Regards,
Phil Steel-Wilson   |   [+61](0)447 64 55 34
Phil'll Fix It Computers|   http://philfixit.info
Linux user no.  |   #564977

If you are happy with my service and rates,
please recommend me to your family and friends.
Treat all email communication as confidential.
It is for the intended recipient only. If you have received
this and you are not the intended recipient please contact,
ad...@philfixit.info


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Changing Email Signatures

2015-02-23 Thread Yehuda Katz
Try a support list for your email client. HTTPD does not handle email.

- Y

On Mon, Feb 23, 2015 at 10:09 PM, phil  wrote:

>
> Silly question i cant seem able to google up for some reason.
> How do i get those email sigs that change every day or every email.
> Just a push in the direction of the website would be most appreciated.
>
> --
> Regards,
> Phil Steel-Wilson   |   [+61](0)447 64 55 34
> Phil'll Fix It Computers|   http://philfixit.info
> Linux user no.  |   #564977
>
> If you are happy with my service and rates,
> please recommend me to your family and friends.
> Treat all email communication as confidential.
> It is for the intended recipient only. If you have received
> this and you are not the intended recipient please contact,
> ad...@philfixit.info
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] Changing Email Signatures

2015-02-23 Thread phil


Sorry for the noise . . .


On 24/02/2015 2:12 PM, Yehuda Katz wrote:

Try a support list for your email client. HTTPD does not handle email.

- Y

On Mon, Feb 23, 2015 at 10:09 PM, phil mailto:p...@philfixit.info>> wrote:


Silly question i cant seem able to google up for some reason.
How do i get those email sigs that change every day or every email.
Just a push in the direction of the website would be most appreciated.

--
Regards,
Phil Steel-Wilson   |   [+61](0)447 64 55 34
Phil'll Fix It Computers| http://philfixit.info
Linux user no.  |   #564977

If you are happy with my service and rates,
please recommend me to your family and friends.
Treat all email communication as confidential.
It is for the intended recipient only. If you have received
this and you are not the intended recipient please contact,
ad...@philfixit.info 


--__--__-
To unsubscribe, e-mail: users-unsubscribe@httpd.__apache.org

For additional commands, e-mail: users-h...@httpd.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org