[users@httpd] Registration open for Community Over Code North America

2023-08-28 Thread Rich Bowen
Hello! Registration is still open for the upcoming Community Over Code
NA event in Halifax, NS! We invite you to  register for the event
https://communityovercode.org/registration/

Apache Committers, note that you have a special discounted rate for the
conference at US$250. To take advantage of this rate, use the special
code sent to the committers@ list by Brian Proffitt earlier this month.

If you are in need of an invitation letter, please consult the
information at https://communityovercode.org/visa-letter/

Please see https://communityovercode.org/ for more information about
the event, including how to make reservations for discounted hotel
rooms in Halifax. Discounted rates will only be available until Sept.
5, so reserve soon!

--Rich, for the event planning team

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



Final reminder: ApacheCon North America call for presentations closing soon

2022-05-19 Thread Rich Bowen
[Note: You're receiving this because you are subscribed to one or more
Apache Software Foundation project mailing lists.]

This is your final reminder that the Call for Presetations for
ApacheCon North America 2022 will close at 00:01 GMT on Monday, May
23rd, 2022. Please don't wait! Get your talk proposals in now!

Details here: https://apachecon.com/acna2022/cfp.html

--Rich, for the ApacheCon Planners



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



[users@httpd] Final reminder: ApacheCon North America call for presentations closing soon

2022-05-19 Thread Rich Bowen
[Note: You're receiving this because you are subscribed to one or more
Apache Software Foundation project mailing lists.]

This is your final reminder that the Call for Presetations for
ApacheCon North America 2022 will close at 00:01 GMT on Monday, May
23rd, 2022. Please don't wait! Get your talk proposals in now!

Details here: https://apachecon.com/acna2022/cfp.html

--Rich, for the ApacheCon Planners



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



Call for Presentations now open, ApacheCon North America 2022

2022-03-30 Thread Rich Bowen
[You are receiving this because you are subscribed to one or more user
or dev mailing list of an Apache Software Foundation project.]

ApacheCon draws participants at all levels to explore “Tomorrow’s
Technology Today” across 300+ Apache projects and their diverse
communities. ApacheCon showcases the latest developments in ubiquitous
Apache projects and emerging innovations through hands-on sessions,
keynotes, real-world case studies, trainings, hackathons, community
events, and more.

The Apache Software Foundation will be holding ApacheCon North America
2022 at the New Orleans Sheration, October 3rd through 6th, 2022. The
Call for Presentations is now open, and will close at 00:01 UTC on May
23rd, 2022.

We are accepting presentation proposals for any topic that is related
to the Apache mission of producing free software for the public good.
This includes, but is not limited to:

Community
Big Data
Search
IoT
Cloud
Fintech
Pulsar
Tomcat

You can submit your session proposals starting today at
https://cfp.apachecon.com/

Rich Bowen, on behalf of the ApacheCon Planners
apachecon.com
@apachecon

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



[users@httpd] Call for Presentations now open, ApacheCon North America 2022

2022-03-30 Thread Rich Bowen
[You are receiving this because you are subscribed to one or more user
or dev mailing list of an Apache Software Foundation project.]

ApacheCon draws participants at all levels to explore “Tomorrow’s
Technology Today” across 300+ Apache projects and their diverse
communities. ApacheCon showcases the latest developments in ubiquitous
Apache projects and emerging innovations through hands-on sessions,
keynotes, real-world case studies, trainings, hackathons, community
events, and more.

The Apache Software Foundation will be holding ApacheCon North America
2022 at the New Orleans Sheration, October 3rd through 6th, 2022. The
Call for Presentations is now open, and will close at 00:01 UTC on May
23rd, 2022.

We are accepting presentation proposals for any topic that is related
to the Apache mission of producing free software for the public good.
This includes, but is not limited to:

Community
Big Data
Search
IoT
Cloud
Fintech
Pulsar
Tomcat

You can submit your session proposals starting today at
https://cfp.apachecon.com/

Rich Bowen, on behalf of the ApacheCon Planners
apachecon.com
@apachecon

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



ApacheCon starts tomorrow!

2021-09-20 Thread Rich Bowen
ApacheCon @Home starts tomorrow! Details at 
https://www.apachecon.com/acah2021/index.html


(Note: You're receiving this because you are subscribed to one or more 
user lists for Apache Software Foundation projects.)


We've got three days of great content lined up for you, spanning 14 
project communities. And we're very excited about the keynotes, with 
presentations from David Nalley, Ashley Wolfe, Mark Cox, Alison Parker, 
and Michael Weinberg. And we'll be hearing from our Platinum sponsors in 
their keynotes as well! (Schedule is at 
https://www.apachecon.com/acah2021/tracks/)


You can still register today, at 
https://www.apachecon.com/acah2021/register.html


We especially want to thank our sponsors, who have made this event possible:

Strategic sponsor: Google
Platinum sponsors: Huawei, Tencent, Instaclustr, and Apple
Gold sponsors: AWS, Aiven, Gradle, Replicated, Red 
Hat, Baidu, Fiter, Cerner, Dremio, and Didi
Silver sponsors: Bamboo, SpereEx, Microsoft, Imply, Securonix, DataStax, 
and Crafter Software

Bronze sponsor: Technical Arts

Please join us on our Slack for discussion before, during, and after the 
event! http://s.apache.org/apachecon-slack


And follow us on Twitter - https://twitter.com/apachecon - for tips and 
announcements during the event.


See you tomorrow!


--
Rich Bowen, VP Conferences
The Apache Software Foundation
https://apachecon.com/
@apachecon

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



[users@httpd] ApacheCon starts tomorrow!

2021-09-20 Thread Rich Bowen
ApacheCon @Home starts tomorrow! Details at 
https://www.apachecon.com/acah2021/index.html


(Note: You're receiving this because you are subscribed to one or more 
user lists for Apache Software Foundation projects.)


We've got three days of great content lined up for you, spanning 14 
project communities. And we're very excited about the keynotes, with 
presentations from David Nalley, Ashley Wolfe, Mark Cox, Alison Parker, 
and Michael Weinberg. And we'll be hearing from our Platinum sponsors in 
their keynotes as well! (Schedule is at 
https://www.apachecon.com/acah2021/tracks/)


You can still register today, at 
https://www.apachecon.com/acah2021/register.html


We especially want to thank our sponsors, who have made this event possible:

Strategic sponsor: Google
Platinum sponsors: Huawei, Tencent, Instaclustr, and Apple
Gold sponsors: AWS, Aiven, Gradle, Replicated, Red 
Hat, Baidu, Fiter, Cerner, Dremio, and Didi
Silver sponsors: Bamboo, SpereEx, Microsoft, Imply, Securonix, DataStax, 
and Crafter Software

Bronze sponsor: Technical Arts

Please join us on our Slack for discussion before, during, and after the 
event! http://s.apache.org/apachecon-slack


And follow us on Twitter - https://twitter.com/apachecon - for tips and 
announcements during the event.


See you tomorrow!


--
Rich Bowen, VP Conferences
The Apache Software Foundation
https://apachecon.com/
@apachecon

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



[users@httpd] ApacheCon is just 3 weeks away!

2021-09-03 Thread Rich Bowen
[You are receiving this email because you are subscribed to the user 
list of one or more Apache project.]


Dear Apache enthusiast,

ApacheCon is our annual convention, featuring content related to our 
many software projects. This year, it will be held on September 21-23.


Registration is free this year, and since it’s online, you can attend 
from the comfort of your home or office.


Details about the event, including the schedule and registration, are 
available on the event website at https://apachecon.com/acah2021/


We hope you’ll consider attending this year, where you’ll see content in 
14 tracks, including: API & Microservice; Big Data: Ozone; Big Data: 
SQL/NoSQL; Big Data: Streaming; Cassandra; Community; Content Delivery; 
Content Management; Federated Data; Fineract & Fintech; Geospatial; 
Groovy; Highlights; Incubator; Integration; Internet of Things; 
Observability; Search; Tomcat.


We will also feature keynotes from Ashley Wolf, Mark Cox, Alison Parker 
and Michael Weinberg.


Details on the schedule, and these keynotes, can be found at 
https://www.apachecon.com/acah2021/tracks/


We look forward to seeing you at this year’s ApacheCon!

– Rich Bowen, for the Apachecon Planners

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



ApacheCon is just 3 weeks away!

2021-09-03 Thread Rich Bowen
[You are receiving this email because you are subscribed to the user 
list of one or more Apache project.]


Dear Apache enthusiast,

ApacheCon is our annual convention, featuring content related to our 
many software projects. This year, it will be held on September 21-23.


Registration is free this year, and since it’s online, you can attend 
from the comfort of your home or office.


Details about the event, including the schedule and registration, are 
available on the event website at https://apachecon.com/acah2021/


We hope you’ll consider attending this year, where you’ll see content in 
14 tracks, including: API & Microservice; Big Data: Ozone; Big Data: 
SQL/NoSQL; Big Data: Streaming; Cassandra; Community; Content Delivery; 
Content Management; Federated Data; Fineract & Fintech; Geospatial; 
Groovy; Highlights; Incubator; Integration; Internet of Things; 
Observability; Search; Tomcat.


We will also feature keynotes from Ashley Wolf, Mark Cox, Alison Parker 
and Michael Weinberg.


Details on the schedule, and these keynotes, can be found at 
https://www.apachecon.com/acah2021/tracks/


We look forward to seeing you at this year’s ApacheCon!

– Rich Bowen, for the Apachecon Planners

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



Re: [users@httpd] time based not working

2021-03-19 Thread Rich Bowen




On 3/18/21 3:06 AM, Jens Kallup wrote:

Hello,
how can I time based open times?
The script below seems not work.
All pages are the same.

     RewriteEngine On
     LogLevel warn rewrite:trace3


What does the trace log say when you make the request?



     # -
     # compress file(.ext) on server side, beofre delivery  ...
     # on MS-Windows; you should have the GNU-Tools installed !
     # -
     RewriteCond %{HTTP:Accept-encoding} gzip
     RewriteCond %{REQUEST_FILENAME}\.gz -s
     RewriteRule ^(.*)\.(css|js|txt) $1\.$2\.gz [QSA]

     # -
     # shortners ...
     # -
     Alias "/pub"    "${APACHE_WEB}/443/pub"
     Alias "/edu"    "${APACHE_WEB}/443/edu"

     # store variable values with dummy rewrite rules
     RewriteRule . - [E=req_scheme:%{REQUEST_SCHEME}]
     RewriteRule . - [E=http_host:%{HTTP_HOST}]
     RewriteRule . - [E=req_uri:%{REQUEST_URI}]

     # -
     # out of office time rule ...
     # from 07:00 - 20:00
     # -
     RewriteCond %{TIME_HOUR} >=09 [OR]
     RewriteCond %{TIME_HOUR} <=10
     RewriteRule /pub/.* - [E=HTTP_OFFICE_HEADER:1]
     RewriteRule /pub/.* - [E=HTTP_OFFICE_HEADER:0]
     RewriteRule ^$ /pub/.* [R=301,L]


In PHP:



Jens


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



--
Rich Bowen - rbo...@rcbowen.com
@rbowen

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



Re: [users@httpd] Cannot write to the web directory

2021-03-19 Thread Rich Bowen




On 3/18/21 4:18 PM, Paul wrote:

Would like to upload a file to have wordpress functionality working or be able 
to upload a file. User permissions are set at 777 owner is www, os is freebsd, 
the freebsd mailing list claims it’s not their issue but tried to assert 
assistance nevertheless. What can I do so I can upload a file via httpd is 
there something in the configuration directory?


In addition to angel's advice (never, ever, set anything to 777) the 
next question is, what does the error log say?


The error log will tell you why it failed. Or, possibly since it's 
wordpress, your php error log (if php is logging somewhere else, for 
example, if you're running php-fpm).


--Rich

--
Rich Bowen - rbo...@rcbowen.com
@rbowen

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



Re: [users@httpd] Is NGINX faster than Apache?

2021-03-11 Thread Rich Bowen




On 3/11/21 12:33 PM, Jason Long wrote:

Hello,
Is it true that NGINX is faster than Apache?

https://www.hostingadvice.com/how-to/nginx-vs-apache/

In which environment, Apache must use?



No, it is not true.

However, it is also not false.

It depends on so many factors that it's disingenuous to answer your 
question either way. To simplify, it depends on what your content is, 
and how you've configured each server, but even that is too simplistic 
an answer.


The real answer, as we say on the #httpd IRC channel, is TIAS - Try It 
And See. Test them for your content and see which one is best.


It's also a good rule that any time you see an article that says X is 
faster/better/stronger than Y, you can rest assured that the person 
running it is an expert on X and not on Y, and that an expert on Y (and 
not X) could probably configure things such that the reverse was true.


Use the one you're more comfortable with, more experienced with. If you 
choose Apache httpd, we'll be here to help you configure it.


--
Rich Bowen - rbo...@rcbowen.com
@rbowen

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



[users@httpd] Call for Presentations for ApacheCon 2021 now open

2021-03-08 Thread Rich Bowen
[Note: You are receiving this because you are subscribed to a users@ 
list on one or more Apache Software Foundation projects.]


The ApacheCon Planners and the Apache Software Foundation are pleased to 
announce that ApacheCon@Home will be held online, September 21-23, 2021. 
Once again, we’ll be featuring content from dozens of our projects, as 
well as content about our community, how Apache works, business models 
around Apache software, the legal aspects of open source, and many other 
topics.


Last year’s virtual ApacheCon@Home event was a big success, with 5,745 
registrants from more than 150 countries, spanning every time zone, with 
the virtual format delivering content to attendees who would never have 
attended an in-person ApacheCon (83% of post-event poll responders in 
2020 indicated this was their first ApacheCon ever)!


Given the great participation and excitement for last year’s event, we 
are announcing the Call for Presentations is now open to presenters from 
around the world until May 1st. Talks can be focused on the topics 
above, as well as any of our amazing projects. Submit your talks today!


https://www.apachecon.com/acah2021/cfp.html

We look forward to reviewing your contribution to one of the most 
popular open source software events in the world!



Rich, for the ApacheCon Planners

--
Rich Bowen, VP Conferences
The Apache Software Foundation
https://apachecon.com/
@apachecon

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



Call for Presentations for ApacheCon 2021 now open

2021-03-08 Thread Rich Bowen
[Note: You are receiving this because you are subscribed to a users@ 
list on one or more Apache Software Foundation projects.]


The ApacheCon Planners and the Apache Software Foundation are pleased to 
announce that ApacheCon@Home will be held online, September 21-23, 2021. 
Once again, we’ll be featuring content from dozens of our projects, as 
well as content about our community, how Apache works, business models 
around Apache software, the legal aspects of open source, and many other 
topics.


Last year’s virtual ApacheCon@Home event was a big success, with 5,745 
registrants from more than 150 countries, spanning every time zone, with 
the virtual format delivering content to attendees who would never have 
attended an in-person ApacheCon (83% of post-event poll responders in 
2020 indicated this was their first ApacheCon ever)!


Given the great participation and excitement for last year’s event, we 
are announcing the Call for Presentations is now open to presenters from 
around the world until May 1st. Talks can be focused on the topics 
above, as well as any of our amazing projects. Submit your talks today!


https://www.apachecon.com/acah2021/cfp.html

We look forward to reviewing your contribution to one of the most 
popular open source software events in the world!



Rich, for the ApacheCon Planners

--
Rich Bowen, VP Conferences
The Apache Software Foundation
https://apachecon.com/
@apachecon

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



Announcing ApacheCon @Home 2020

2020-06-29 Thread Rich Bowen

Hi, Apache enthusiast!

(You’re receiving this because you’re subscribed to one or more dev or 
user mailing lists for an Apache Software Foundation project.)


The ApacheCon Planners and the Apache Software Foundation are pleased to 
announce that ApacheCon @Home will be held online, September 29th 
through October 1st, 2020. We’ll be featuring content from dozens of our 
projects, as well as content about community, how Apache works, business 
models around Apache software, the legal aspects of open source, and 
many other topics.


Full details about the event, and registration, is available at 
https://apachecon.com/acah2020


Due to the confusion around how and where this event was going to be 
held, and in order to open up to presenters from around the world who 
may previously have been unable or unwilling to travel, we’ve reopened 
the Call For Presentations until July 13th. Submit your talks today at 
https://acna2020.jamhosted.net/


We hope to see you at the event!
Rich Bowen, VP Conferences, The Apache Software Foundation

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



[users@httpd] Announcing ApacheCon @Home 2020

2020-06-29 Thread Rich Bowen

Hi, Apache enthusiast!

(You’re receiving this because you’re subscribed to one or more dev or 
user mailing lists for an Apache Software Foundation project.)


The ApacheCon Planners and the Apache Software Foundation are pleased to 
announce that ApacheCon @Home will be held online, September 29th 
through October 1st, 2020. We’ll be featuring content from dozens of our 
projects, as well as content about community, how Apache works, business 
models around Apache software, the legal aspects of open source, and 
many other topics.


Full details about the event, and registration, is available at 
https://apachecon.com/acah2020


Due to the confusion around how and where this event was going to be 
held, and in order to open up to presenters from around the world who 
may previously have been unable or unwilling to travel, we’ve reopened 
the Call For Presentations until July 13th. Submit your talks today at 
https://acna2020.jamhosted.net/


We hope to see you at the event!
Rich Bowen, VP Conferences, The Apache Software Foundation

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



Re: [users@httpd] Debugging apache configs

2020-05-01 Thread Rich Bowen
On Fri, May 1, 2020, 18:11 @lbutlr  wrote:

> On 01 May 2020, at 15:38, Rich Bowen  wrote:
> > On the other hand, adding a bunch of additional debug level prints in
> the URL mapping modules would serve the same purpose. But, again, that
> doesn't exist at this time, as far as I'm aware.
>
> The login in apache is… well, terrible? Appalling? Almost entirely a waste
> of disk space?


You can configure it to whatever level suits you. That's your choice.

>
> I mean, 86%% of my error log (yes, I checked and did the calculation) is
> ever so helpful lines like this:
>
> [Fri May 01 15:53:14.704934 2020] [ssl:info] [pid 17522] [client
> 65.121.55.45:46411] AH01964: Connection to child 1 established (server
> www.covisp.net:443)
>
> Really? That’s an ERROR? In what universe is that an error? And how they
> hell is it even HELPFUL since it is entirely a stand-alone line devoid of
> any context whatsoever?
>

No. It's an info. Says right there in the message.


> [Fri May 01 15:26:31.491833 2020] [ssl:info] [pid 17508] AH01914:
> Configuring server www.covisp.net:443 for SSL protocol
>
> Yep, that is an error I need to be aware of. Sure.
>

Also an info


> And the access logs are no better.
>
> [Fri May 01 05:43:27.032221 2020] [cgid:error] [pid 95842] [client
> 150.136.214.147:54436] AH01264: script not found or unable to stat:
> /usr/local/www/apache24/cgi-bin/luci
>
> Is that a configuration error, or some idiot trying to hack something
> that’s not there?


I'm completely unclear what the purpose of this comment is. If you're
asking what the error message means I can probably help you with that, but
it kind of sounds like you're picking a fight here. Did you have an actual
question?

>
>


Re: [users@httpd] Odd 302s in the logs

2020-05-01 Thread Rich Bowen
That's what we call referrer spam. I've never really understood what the
point was, but they make requests with bogus information in the referral
field, which then ends up in your log files. Somehow this makes them feel
good about themselves.

https://en.m.wikipedia.org/wiki/Referrer_spam

Rich


On Fri, May 1, 2020, 17:37 @lbutlr  wrote:

> Seeing a Loy of lines like this in the logs (mixed in with all the
> attemepts to accesses wordprex/admin-login types of URLS, of course)
>
> 46.118.227.27 - - [01/May/2020:15:10:37 -0600] "GET / HTTP/1.1" 302 213 "
> https://french-poetry.com/; "Mozilla/4.7 (compatible; OffByOne; Windows
> 2000) Webster Pro V3.4" 162 397
> 46.118.227.27 - - [01/May/2020:15:10:37 -0600] "GET / HTTP/1.1" 302 213 "
> https://studentguide.ru/; "Mozilla/4.7 (compatible; OffByOne; Windows
> 2000) Webster Pro V3.4" 160 397
> 46.118.227.27 - - [01/May/2020:15:10:37 -0600] "GET / HTTP/1.1" 302 213 "
> https://french-poetry.com/; "Mozilla/4.7 (compatible; OffByOne; Windows
> 2000) Webster Pro V3.4" 162 397
> 46.118.227.27 - - [01/May/2020:15:10:38 -0600] "GET / HTTP/1.1" 302 213 "
> https://studentguide.ru/; "Mozilla/4.7 (compatible; OffByOne; Windows
> 2000) Webster Pro V3.4" 160 397
> 46.118.227.27 - - [01/May/2020:15:10:38 -0600] "GET / HTTP/1.1" 302 213 "
> https://french-poetry.com/; "Mozilla/4.7 (compatible; OffByOne; Windows
> 2000) Webster Pro V3.4" 162 397
>
> Don’t think my server is redirecting to studentguide.ru, but what is
> happening here?
>
>
>
> --
> 'You know the worst of it?' said Rincewind. 'Oook?' 'I don't even
> remember walking under a mirror.' —Mort
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] Debugging apache configs

2020-05-01 Thread Rich Bowen
On Fri, May 1, 2020, 17:21 @lbutlr  wrote:

> On 01 May 2020, at 08:52, Rich Bowen  wrote:
> > On 4/30/20 6:08 PM, @lbutlr wrote:
> >> I'm trying to troubleshoot a Domain that is loading the wrong content
> (Well, I am sure it is loading the RIGHT content, but not the INTENED
> content) and was wondering if there is a flag for apachectl that will show
> me what apache thinks the document root is for each vhost? And possibly a
> way of piping in a URL and having apache spit back where that URL points to
> locally and the steps taken to get there (redirect, proxy, lookup,
> whatever).
> >> A trace, essentially.
> >
> >
> > Not directly, but
> >
> > httpd -t -D DUMP_VHOSTS
> >
> > is a good start. It at least tells you what names are handled by what
> bits of the configuration file(s).
>
> Yeah, but it dodoesn’t show the path that apache takes to load a page,
> which is what I am looking for.
>
> For example, the issue that I had turned out to be that since
> DirectoryIndex globally contains index.php, the fcgi was triggering even
> when there was no index.php file present instead of loading the index.html.
> Either setting DirectoryIndex locally or disabling the fcgi resulted in the
> expected page loading.
>
> That wasn’t discoverable by looking at the configuration until I thought,
> “Huh, I wonder…”
>
> Seems there would be some tool out there that would do this as it must be
> someone else has thought of for troubleshooting,
>

While that would be incredibly cool, I'm not aware of any such tool.

On the other hand, adding a bunch of additional debug level prints in the
URL mapping modules would serve the same purpose. But, again, that doesn't
exist at this time, as far as I'm aware.

>


Re: [users@httpd] Problem new virtual host

2020-05-01 Thread Rich Bowen
On Fri, May 1, 2020, 17:22 @lbutlr  wrote:

> On 01 May 2020, at 08:55, Rich Bowen  wrote:
> > The fact that you can "ping" it seems to point to options 2 or 3 in that
> list.
>
> Maybe. Ping doesn’t require DNS.
>

Sure. If you have the mapping in your host file as indicated. That was more
shorthand for "the ip address is wrong" which seems not to be the case.


Re: [users@httpd] Problem new virtual host

2020-05-01 Thread Rich Bowen




On 4/30/20 3:39 PM, Stephen wrote:

I have a standard LAMP for development.

I set up a new virtual host about once every two years and always struggle.

I have added the web site to my hosts file and direct to my server. I 
have a dozen entries.


I have updated my virtual hosts Apache file

I can ping the new virtual host just fine.


...


  This site can’t be reached

*www.roissystudiotest.ca*refused to connect.



These error messages don't indicate an Apache configuration problem, but 
a network problem. That is, "refused to connect" means the problem 
exists *before* it ever talked to Apache.


So the problem is (almost certainly) one of the following:

* Name doesn't map to right IP address
* Server is not running on that particular IP address (ie, is shut down, 
on wrong port)

* Firewall doesn't permit connecting to :80 on that particular IP address

The fact that you can "ping" it seems to point to options 2 or 3 in that 
list.


--
Rich Bowen - rbo...@rcbowen.com
http://rcbowen.com/
@rbowen

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



Re: [users@httpd] Debugging apache configs

2020-05-01 Thread Rich Bowen




On 4/30/20 6:08 PM, @lbutlr wrote:

I'm trying to troubleshoot a Domain that is loading the wrong content (Well, I 
am sure it is loading the RIGHT content, but not the INTENED content) and was 
wondering if there is a flag for apachectl that will show me what apache thinks 
the document root is for each vhost? And possibly a way of piping in a URL and 
having apache spit back where that URL points to locally and the steps taken to 
get there (redirect, proxy, lookup, whatever).

A trace, essentially.



Not directly, but

httpd -t -D DUMP_VHOSTS

is a good start. It at least tells you what names are handled by what 
bits of the configuration file(s).


--
Rich Bowen - rbo...@rcbowen.com
http://rcbowen.com/
@rbowen

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



Re: [users@httpd] localhost api

2020-04-04 Thread Rich Bowen



On 4/1/20 1:37 PM, John Smith wrote:
> When trying to update data with POST, there comes:
> 
> Can\'t connect to someserver.net:8092 <http://someserver.net:8092>
> (Connection timed out)
> 
> No markings in apache's logs. Apache and application run in lxc container.
> If I call 127.0.0.1 or localhost instead of someserver, result is:
> 
> 'Can\'t connect to localhost:8092 (Connection refused)

> 
> 
> Service works well, if it is called outside

That *probably* indicates one of two things:

1) You're not 'Listen'ing on that address (check your Listen directive
to see if it specifies only specific IP addresses)

2) Your firewall is not configured to allow this connection


> 
> On Wed, Apr 1, 2020 at 6:57 PM Rich Bowen  <mailto:rbo...@rcbowen.com>> wrote:
> 
> Please provide the error message, from the error log.
> 
> On 4/1/20 9:47 AM, John Smith wrote:
> > Hello,
> >
> > When calling restapi (https://someserver.net/api/dosomething PUT
> or GET)
> > from localhost, it says Connection not allowed. From outside it works
> > well. A perl script is doing the calling. This might be an apache
> > configuration issue, or?
> > Regards,
> > John
> 
>     -- 
> Rich Bowen - rbo...@rcbowen.com <mailto:rbo...@rcbowen.com>
> http://rcbowen.com/
> @rbowen
> 

-- 
Rich Bowen
rbo...@rcbowen.com

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



Re: [users@httpd] localhost api

2020-04-01 Thread Rich Bowen

Please provide the error message, from the error log.

On 4/1/20 9:47 AM, John Smith wrote:

Hello,

When calling restapi (https://someserver.net/api/dosomething PUT or GET) 
from localhost, it says Connection not allowed. From outside it works 
well. A perl script is doing the calling. This might be an apache 
configuration issue, or?

Regards,
John


--
Rich Bowen - rbo...@rcbowen.com
http://rcbowen.com/
@rbowen

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



[users@httpd] Call for presentations for ApacheCon North America 2020 now open

2020-01-21 Thread Rich Bowen

Dear Apache enthusiast,

(You’re receiving this message because you are subscribed to one or more 
project mailing lists at the Apache Software Foundation.)


The call for presentations for ApacheCon North America 2020 is now open 
at https://apachecon.com/acna2020/cfp


ApacheCon will be held at the Sheraton, New Orleans, September 28th 
through October 2nd, 2020.


As in past years, ApacheCon will feature tracks focusing on the various 
technologies within the Apache ecosystem, and so the call for 
presentations will ask you to select one of those tracks, or “General” 
if the content falls outside of one of our already-organized tracks. 
These tracks are:


Karaf
Internet of Things
Fineract
Community
Content Delivery
Solr/Lucene (Search)
Gobblin/Big Data Integration
Ignite
Observability
Cloudstack
Geospatial
Graph
Camel/Integration
Flagon
Tomcat
Cassandra
Groovy
Web/httpd
General/Other

The CFP will close Friday, May 1, 2020 8:00 AM (America/New_York time).

Submit early, submit often, at https://apachecon.com/acna2020/cfp

Rich, for the ApacheCon Planners

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



Call for presentations for ApacheCon North America 2020 now open

2020-01-21 Thread Rich Bowen

Dear Apache enthusiast,

(You’re receiving this message because you are subscribed to one or more 
project mailing lists at the Apache Software Foundation.)


The call for presentations for ApacheCon North America 2020 is now open 
at https://apachecon.com/acna2020/cfp


ApacheCon will be held at the Sheraton, New Orleans, September 28th 
through October 2nd, 2020.


As in past years, ApacheCon will feature tracks focusing on the various 
technologies within the Apache ecosystem, and so the call for 
presentations will ask you to select one of those tracks, or “General” 
if the content falls outside of one of our already-organized tracks. 
These tracks are:


Karaf
Internet of Things
Fineract
Community
Content Delivery
Solr/Lucene (Search)
Gobblin/Big Data Integration
Ignite
Observability
Cloudstack
Geospatial
Graph
Camel/Integration
Flagon
Tomcat
Cassandra
Groovy
Web/httpd
General/Other

The CFP will close Friday, May 1, 2020 8:00 AM (America/New_York time).

Submit early, submit often, at https://apachecon.com/acna2020/cfp

Rich, for the ApacheCon Planners

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



[users@httpd] ApacheCon North America 2019 Schedule Now Live!

2019-06-12 Thread Rich Bowen

Dear Apache Enthusiast,

(You’re receiving this message because you’re subscribed to one or more 
Apache Software Foundation project user mailing lists.)


We’re thrilled to announce the schedule for our upcoming conference, 
ApacheCon North America 2019, in Las Vegas, Nevada. See it now at 
https://www.apachecon.com/acna19/schedule.html  The event will be held 
September 9th through 12th at the Flamingo Hotel.  Register today at 
https://www.apachecon.com/acna19/register.html


Our schedule features keynotes by James Gosling, the father of Java; 
Samaira Mehta, founder and CEO of the Billion Kids Can Code project; and 
David Brin, noted science fiction author and futurist. And we’ll have a 
discussion panel featuring some of the founders of The Apache Software 
Foundation, talking about the past as well as their vision for the future.


ApacheCon is the flagship convention of the ASF, and features tracks 
curated by many of our project communities: Apache Drill, Apache Karaf, 
Big Data, TomcatCon, Apache Cloudstack, Integration, Apache Cassandra, 
Streaming, Geospatial software, Graph processing, Internet of Things, 
Community, Machine Learning, Apache Traffic Control, Apache Beam, 
Observability, OFBiz, and Mobile app development.


The Hackathon, which will run all day, every day, is the place to meet 
your project community, and get some serious work knocked out in a short 
focused time. The BarCamp is the place to discuss the topics that are 
important to you, with your colleagues, in an unconference format.


We offer financial assistance for travel and lodging for those who want 
to come to ApacheCon but are unable to afford it. Apply at 
http://apache.org/travel/ by June 21st to be considered for this.


If you’re unable to make it to North America, we’ll also be running 
ApacheCon Europe in Berlin in October. Details of that event are at 
https://aceu19.apachecon.com/


Follow us on Twitter - @ApacheCon - for all the latest updates. See you 
in Las Vegas!


Rich Bowen, VP Conferences, The ASF
rbo...@apache.org
http://apachecon.com/


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



ApacheCon North America 2019 Schedule Now Live!

2019-06-12 Thread Rich Bowen

Dear Apache Enthusiast,

(You’re receiving this message because you’re subscribed to one or more 
Apache Software Foundation project user mailing lists.)


We’re thrilled to announce the schedule for our upcoming conference, 
ApacheCon North America 2019, in Las Vegas, Nevada. See it now at 
https://www.apachecon.com/acna19/schedule.html  The event will be held 
September 9th through 12th at the Flamingo Hotel.  Register today at 
https://www.apachecon.com/acna19/register.html


Our schedule features keynotes by James Gosling, the father of Java; 
Samaira Mehta, founder and CEO of the Billion Kids Can Code project; and 
David Brin, noted science fiction author and futurist. And we’ll have a 
discussion panel featuring some of the founders of The Apache Software 
Foundation, talking about the past as well as their vision for the future.


ApacheCon is the flagship convention of the ASF, and features tracks 
curated by many of our project communities: Apache Drill, Apache Karaf, 
Big Data, TomcatCon, Apache Cloudstack, Integration, Apache Cassandra, 
Streaming, Geospatial software, Graph processing, Internet of Things, 
Community, Machine Learning, Apache Traffic Control, Apache Beam, 
Observability, OFBiz, and Mobile app development.


The Hackathon, which will run all day, every day, is the place to meet 
your project community, and get some serious work knocked out in a short 
focused time. The BarCamp is the place to discuss the topics that are 
important to you, with your colleagues, in an unconference format.


We offer financial assistance for travel and lodging for those who want 
to come to ApacheCon but are unable to afford it. Apply at 
http://apache.org/travel/ by June 21st to be considered for this.


If you’re unable to make it to North America, we’ll also be running 
ApacheCon Europe in Berlin in October. Details of that event are at 
https://aceu19.apachecon.com/


Follow us on Twitter - @ApacheCon - for all the latest updates. See you 
in Las Vegas!


Rich Bowen, VP Conferences, The ASF
rbo...@apache.org
http://apachecon.com/


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



4 Apache Events in 2019: DC Roadshow soon; next up Chicago, Las Vegas, and Berlin!

2019-03-06 Thread Rich Bowen
Dear Apache Enthusiast,

(You’re receiving this because you are subscribed to one or more user
mailing lists for an Apache Software Foundation project.)

TL;DR:
 * Apache Roadshow DC is in 3 weeks. Register now at
https://apachecon.com/usroadshowdc19/
 * Registration for Apache Roadshow Chicago is open.
http://apachecon.com/chiroadshow19
 * The CFP for ApacheCon North America is now open.
https://apachecon.com/acna19
 * Save the date: ApacheCon Europe will be held in Berlin, October 22nd
through 24th.  https://apachecon.com/aceu19


Registration is open for two Apache Roadshows; these are smaller events
with a more focused program and regional community engagement:

Our Roadshow event in Washington DC takes place in under three weeks, on
March 25th. We’ll be hosting a day-long event at the Fairfax campus of
George Mason University. The roadshow is a full day of technical talks
(two tracks) and an open source job fair featuring AWS, Bloomberg, dito,
GridGain, Linode, and Security University. More details about the
program, the job fair, and to register, visit
https://apachecon.com/usroadshowdc19/

Apache Roadshow Chicago will be held May 13-14th at a number of venues
in Chicago’s Logan Square neighborhood. This event will feature sessions
in AdTech, FinTech and Insurance, startups, “Made in Chicago”, Project
Shark Tank (innovations from the Apache Incubator), community diversity,
and more. It’s a great way to learn about various Apache projects “at
work” while playing at a brewery, a beercade, and a neighborhood bar.
Sign up today at https://www.apachecon.com/chiroadshow19/

We’re delighted to announce that the Call for Presentations (CFP) is now
open for ApacheCon North America in Las Vegas, September 9-13th! As the
official conference series of the ASF, ApacheCon North America will
feature over a dozen Apache project summits, including Cassandra,
Cloudstack, Tomcat, Traffic Control, and more. We’re looking for talks
in a wide variety of categories -- anything related to ASF projects and
the Apache development process. The CFP closes at midnight on May 26th.
In addition, the ASF will be celebrating its 20th Anniversary during the
event. For more details and to submit a proposal for the CFP, visit
https://apachecon.com/acna19/ . Registration will be opening soon.

Be sure to mark your calendars for ApacheCon Europe, which will be held
in Berlin, October 22-24th at the KulturBrauerei, a landmark of Berlin's
industrial history. In addition to innovative content from our projects,
we are collaborating with the Open Source Design community
(https://opensourcedesign.net/) to offer a track on design this year.
The CFP and registration will open soon at https://apachecon.com/aceu19/ .

Sponsorship opportunities are available for all events, with details
listed on each event’s site at http://apachecon.com/.

We look forward to seeing you!

Rich, for the ApacheCon Planners
@apachecon


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



[users@httpd] 4 Apache Events in 2019: DC Roadshow soon; next up Chicago, Las Vegas, and Berlin!

2019-03-06 Thread Rich Bowen
Dear Apache Enthusiast,

(You’re receiving this because you are subscribed to one or more user
mailing lists for an Apache Software Foundation project.)

TL;DR:
 * Apache Roadshow DC is in 3 weeks. Register now at
https://apachecon.com/usroadshowdc19/
 * Registration for Apache Roadshow Chicago is open.
http://apachecon.com/chiroadshow19
 * The CFP for ApacheCon North America is now open.
https://apachecon.com/acna19
 * Save the date: ApacheCon Europe will be held in Berlin, October 22nd
through 24th.  https://apachecon.com/aceu19


Registration is open for two Apache Roadshows; these are smaller events
with a more focused program and regional community engagement:

Our Roadshow event in Washington DC takes place in under three weeks, on
March 25th. We’ll be hosting a day-long event at the Fairfax campus of
George Mason University. The roadshow is a full day of technical talks
(two tracks) and an open source job fair featuring AWS, Bloomberg, dito,
GridGain, Linode, and Security University. More details about the
program, the job fair, and to register, visit
https://apachecon.com/usroadshowdc19/

Apache Roadshow Chicago will be held May 13-14th at a number of venues
in Chicago’s Logan Square neighborhood. This event will feature sessions
in AdTech, FinTech and Insurance, startups, “Made in Chicago”, Project
Shark Tank (innovations from the Apache Incubator), community diversity,
and more. It’s a great way to learn about various Apache projects “at
work” while playing at a brewery, a beercade, and a neighborhood bar.
Sign up today at https://www.apachecon.com/chiroadshow19/

We’re delighted to announce that the Call for Presentations (CFP) is now
open for ApacheCon North America in Las Vegas, September 9-13th! As the
official conference series of the ASF, ApacheCon North America will
feature over a dozen Apache project summits, including Cassandra,
Cloudstack, Tomcat, Traffic Control, and more. We’re looking for talks
in a wide variety of categories -- anything related to ASF projects and
the Apache development process. The CFP closes at midnight on May 26th.
In addition, the ASF will be celebrating its 20th Anniversary during the
event. For more details and to submit a proposal for the CFP, visit
https://apachecon.com/acna19/ . Registration will be opening soon.

Be sure to mark your calendars for ApacheCon Europe, which will be held
in Berlin, October 22-24th at the KulturBrauerei, a landmark of Berlin's
industrial history. In addition to innovative content from our projects,
we are collaborating with the Open Source Design community
(https://opensourcedesign.net/) to offer a track on design this year.
The CFP and registration will open soon at https://apachecon.com/aceu19/ .

Sponsorship opportunities are available for all events, with details
listed on each event’s site at http://apachecon.com/.

We look forward to seeing you!

Rich, for the ApacheCon Planners
@apachecon


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



[users@httpd] Speakers needed for Apache DC Roadshow

2018-09-11 Thread Rich Bowen
We need your help to make the Apache Washington DC Roadshow on Dec 4th a 
success.


What do we need most? Speakers!

We're bringing a unique DC flavor to this event by mixing Open Source 
Software with talks about Apache projects as well as OSS CyberSecurity, 
OSS in Government and and OSS Career advice.


Please take a look at: http://www.apachecon.com/usroadshow18/

(Note: You are receiving this message because you are subscribed to one 
or more mailing lists at The Apache Software Foundation.)


Rich, for the ApacheCon Planners

--
rbo...@apache.org
http://apachecon.com
@ApacheCon

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



Register now for ApacheCon and save $250

2018-07-09 Thread Rich Bowen

Greetings, Apache software enthusiasts!

(You’re getting this because you’re on one or more dev@ or users@ lists 
for some Apache Software Foundation project.)


ApacheCon North America, in Montreal, is now just 80 days away, and 
early bird prices end in just two weeks - on July 21. Prices will be 
going up from $550 to $800 so register NOW to save $250, at 
http://apachecon.com/acna18


And don’t forget to reserve your hotel room. We have negotiated a 
special rate and the room block closes August 24. 
http://www.apachecon.com/acna18/venue.html


Our schedule includes over 100 talks and we’ll be featuring talks from 
dozens of ASF projects.,  We have inspiring keynotes from some of the 
brilliant members of our community and the wider tech space, including:


 * Myrle Krantz, PMC chair for Apache Fineract, and leader in the open 
source financing space
 * Cliff Schmidt, founder of Literacy Bridge (now Amplio) and creator 
of the Talking Book project

 * Bridget Kromhout, principal cloud developer advocate at Microsoft
 * Euan McLeod, Comcast engineer, and pioneer in streaming video

We’ll also be featuring tracks for Geospatial science, Tomcat, 
Cloudstack, and Big Data, as well as numerous other fields where Apache 
software is leading the way. See the full schedule at 
http://apachecon.com/acna18/schedule.html


As usual we’ll be running our Apache BarCamp, the traditional ApacheCon 
Hackathon, and the Wednesday evening Lighting Talks, too, so you’ll want 
to be there.


Register today at http://apachecon.com/acna18 and we’ll see you in Montreal!

--
Rich Bowen
VP, Conferences, The Apache Software Foundation
h...@apachecon.com
@ApacheCon

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



[users@httpd] Register now for ApacheCon and save $250

2018-07-09 Thread Rich Bowen

Greetings, Apache software enthusiasts!

(You’re getting this because you’re on one or more dev@ or users@ lists 
for some Apache Software Foundation project.)


ApacheCon North America, in Montreal, is now just 80 days away, and 
early bird prices end in just two weeks - on July 21. Prices will be 
going up from $550 to $800 so register NOW to save $250, at 
http://apachecon.com/acna18


And don’t forget to reserve your hotel room. We have negotiated a 
special rate and the room block closes August 24. 
http://www.apachecon.com/acna18/venue.html


Our schedule includes over 100 talks and we’ll be featuring talks from 
dozens of ASF projects.,  We have inspiring keynotes from some of the 
brilliant members of our community and the wider tech space, including:


 * Myrle Krantz, PMC chair for Apache Fineract, and leader in the open 
source financing space
 * Cliff Schmidt, founder of Literacy Bridge (now Amplio) and creator 
of the Talking Book project

 * Bridget Kromhout, principal cloud developer advocate at Microsoft
 * Euan McLeod, Comcast engineer, and pioneer in streaming video

We’ll also be featuring tracks for Geospatial science, Tomcat, 
Cloudstack, and Big Data, as well as numerous other fields where Apache 
software is leading the way. See the full schedule at 
http://apachecon.com/acna18/schedule.html


As usual we’ll be running our Apache BarCamp, the traditional ApacheCon 
Hackathon, and the Wednesday evening Lighting Talks, too, so you’ll want 
to be there.


Register today at http://apachecon.com/acna18 and we’ll see you in Montreal!

--
Rich Bowen
VP, Conferences, The Apache Software Foundation
h...@apachecon.com
@ApacheCon

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



ApacheCon North America 2018 schedule is now live.

2018-05-01 Thread Rich Bowen

Dear Apache Enthusiast,

We are pleased to announce our schedule for ApacheCon North America 
2018. ApacheCon will be held September 23-27 at the Montreal Marriott 
Chateau Champlain in Montreal, Canada.


Registration is open! The early bird rate of $575 lasts until July 21, 
at which time it goes up to $800. And the room block at the Marriott 
($225 CAD per night, including wifi) closes on August 24th.


We will be featuring more than 100 sessions on Apache projects. The 
schedule is now online at https://apachecon.com/acna18/


The schedule includes full tracks of content from Cloudstack[1], 
Tomcat[2], and our GeoSpatial community[3].


We will have 4 keynote speakers, two of whom are Apache members, and two 
from the wider community.


On Tuesday, Apache member and former board member Cliff Schmidt will be 
speaking about how Amplio uses technology to educate and improve the 
quality of life of people living in very difficult parts of the 
world[4]. And Apache Fineract VP Myrle Krantz will speak about how Open 
Source banking is helping the global fight against poverty[5].


Then, on Wednesday, we’ll hear from Bridget Kromhout, Principal Cloud 
Developer Advocate from Microsoft, about the really hard problem in 
software - the people[6]. And Euan McLeod, ‎VP VIPER at ‎Comcast will 
show us the many ways that Apache software delivers your favorite shows 
to your living room[7].


ApacheCon will also feature old favorites like the Lightning Talks, the 
Hackathon (running the duration of the event), PGP key signing, and lots 
of hallway-track time to get to know your project community better.


Follow us on Twitter, @ApacheCon, and join the disc...@apachecon.com 
mailing list (send email to discuss-subscr...@apachecon.com) to stay up 
to date with developments. And if your company wants to sponsor this 
event, get in touch at h...@apachecon.com for opportunities that are 
still available.


See you in Montreal!

Rich Bowen
VP Conferences, The Apache Software Foundation
h...@apachecon.com
@ApacheCon

[1] http://cloudstackcollab.org/
[2] http://tomcat.apache.org/conference.html
[3] http://apachecon.dukecon.org/acna/2018/#/schedule?search=geospatial
[4] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/df977fd305a31b903
[5] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/22c6c30412a3828d6
[6] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/fbbb2384fa91ebc6b
[7] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/88d50c3613852c2de


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



[users@httpd] ApacheCon North America 2018 schedule is now live.

2018-05-01 Thread Rich Bowen

Dear Apache Enthusiast,

We are pleased to announce our schedule for ApacheCon North America 
2018. ApacheCon will be held September 23-27 at the Montreal Marriott 
Chateau Champlain in Montreal, Canada.


Registration is open! The early bird rate of $575 lasts until July 21, 
at which time it goes up to $800. And the room block at the Marriott 
($225 CAD per night, including wifi) closes on August 24th.


We will be featuring more than 100 sessions on Apache projects. The 
schedule is now online at https://apachecon.com/acna18/


The schedule includes full tracks of content from Cloudstack[1], 
Tomcat[2], and our GeoSpatial community[3].


We will have 4 keynote speakers, two of whom are Apache members, and two 
from the wider community.


On Tuesday, Apache member and former board member Cliff Schmidt will be 
speaking about how Amplio uses technology to educate and improve the 
quality of life of people living in very difficult parts of the 
world[4]. And Apache Fineract VP Myrle Krantz will speak about how Open 
Source banking is helping the global fight against poverty[5].


Then, on Wednesday, we’ll hear from Bridget Kromhout, Principal Cloud 
Developer Advocate from Microsoft, about the really hard problem in 
software - the people[6]. And Euan McLeod, ‎VP VIPER at ‎Comcast will 
show us the many ways that Apache software delivers your favorite shows 
to your living room[7].


ApacheCon will also feature old favorites like the Lightning Talks, the 
Hackathon (running the duration of the event), PGP key signing, and lots 
of hallway-track time to get to know your project community better.


Follow us on Twitter, @ApacheCon, and join the disc...@apachecon.com 
mailing list (send email to discuss-subscr...@apachecon.com) to stay up 
to date with developments. And if your company wants to sponsor this 
event, get in touch at h...@apachecon.com for opportunities that are 
still available.


See you in Montreal!

Rich Bowen
VP Conferences, The Apache Software Foundation
h...@apachecon.com
@ApacheCon

[1] http://cloudstackcollab.org/
[2] http://tomcat.apache.org/conference.html
[3] http://apachecon.dukecon.org/acna/2018/#/schedule?search=geospatial
[4] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/df977fd305a31b903
[5] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/22c6c30412a3828d6
[6] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/fbbb2384fa91ebc6b
[7] 
http://apachecon.dukecon.org/acna/2018/#/scheduledEvent/88d50c3613852c2de


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



Save the date: ApacheCon North America, September 24-27 in Montréal

2018-02-20 Thread Rich Bowen

Dear Apache Enthusiast,

(You’re receiving this message because you’re subscribed to a user@ or 
dev@ list of one or more Apache Software Foundation projects.)


We’re pleased to announce the upcoming ApacheCon [1] in Montréal, 
September 24-27. This event is all about you — the Apache project community.


We’ll have four tracks of technical content this time, as well as lots 
of opportunities to connect with your project community, hack on the 
code, and learn about other related (and unrelated!) projects across the 
foundation.


The Call For Papers (CFP) [2] and registration are now open. Register 
early to take advantage of the early bird prices and secure your place 
at the event hotel.


Important dates
March 30: CFP closes
April 20: CFP notifications sent
	August 24: Hotel room block closes (please do not wait until the last 
minute)


Follow @ApacheCon on Twitter to be the first to hear announcements about 
keynotes, the schedule, evening events, and everything you can expect to 
see at the event.


See you in Montréal!

Sincerely, Rich Bowen, V.P. Events,
on behalf of the entire ApacheCon team

[1] http://www.apachecon.com/acna18
[2] https://cfp.apachecon.com/conference.html?apachecon-north-america-2018

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



[users@httpd] Save the date: ApacheCon North America, September 24-27 in Montréal

2018-02-20 Thread Rich Bowen

Dear Apache Enthusiast,

(You’re receiving this message because you’re subscribed to a user@ or 
dev@ list of one or more Apache Software Foundation projects.)


We’re pleased to announce the upcoming ApacheCon [1] in Montréal, 
September 24-27. This event is all about you — the Apache project community.


We’ll have four tracks of technical content this time, as well as lots 
of opportunities to connect with your project community, hack on the 
code, and learn about other related (and unrelated!) projects across the 
foundation.


The Call For Papers (CFP) [2] and registration are now open. Register 
early to take advantage of the early bird prices and secure your place 
at the event hotel.


Important dates
March 30: CFP closes
April 20: CFP notifications sent
	August 24: Hotel room block closes (please do not wait until the last 
minute)


Follow @ApacheCon on Twitter to be the first to hear announcements about 
keynotes, the schedule, evening events, and everything you can expect to 
see at the event.


See you in Montréal!

Sincerely, Rich Bowen, V.P. Events,
on behalf of the entire ApacheCon team

[1] http://www.apachecon.com/acna18
[2] https://cfp.apachecon.com/conference.html?apachecon-north-america-2018

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



Last chance: ApacheCon is just three weeks away

2017-04-26 Thread Rich Bowen
ApacheCon is just three weeks away, in Miami, Florida, May 15th - 18th.
http://apachecon.com/

There's still time to register and attend. ApacheCon is the best place
to find out about tomorrow's software, today.

ApacheCon is the official convention of The Apache Software Foundation,
and includes the co-located events:
  * Apache: Big Data
  * Apache: IoT
  * TomcatCon
  * FlexJS Summit
  * Cloudstack Collaboration Conference
  * BarCampApache
  * ApacheCon Lightning Talks

And there's dozens of opportunities to meet your fellow Apache
enthusiasts, both from your project, and from the other 200+ projects at
the Apache Software Foundation.

Register here:
http://events.linuxfoundation.org/events/apachecon-north-america/attend/register-

More information here: http://apachecon.com/

Follow us and learn more about ApacheCon:
  * Twitter: @ApacheCon
  * Discussion mailing list:
https://lists.apache.org/list.html?apachecon-disc...@apache.org
  * Podcasts and speaker interviews: http://feathercast.apache.org/
  * IRC: #apachecon on the https://freenode.net/

We look forward to seeing you in Miami!

-- 
Rich Bowen - VP Conferences, The Apache Software Foundation
http://apachecon.com/
@apachecon



signature.asc
Description: OpenPGP digital signature


[users@httpd] Last chance: ApacheCon is just three weeks away

2017-04-26 Thread Rich Bowen
ApacheCon is just three weeks away, in Miami, Florida, May 15th - 18th.
http://apachecon.com/

There's still time to register and attend. ApacheCon is the best place
to find out about tomorrow's software, today.

ApacheCon is the official convention of The Apache Software Foundation,
and includes the co-located events:
  * Apache: Big Data
  * Apache: IoT
  * TomcatCon
  * FlexJS Summit
  * Cloudstack Collaboration Conference
  * BarCampApache
  * ApacheCon Lightning Talks

And there's dozens of opportunities to meet your fellow Apache
enthusiasts, both from your project, and from the other 200+ projects at
the Apache Software Foundation.

Register here:
http://events.linuxfoundation.org/events/apachecon-north-america/attend/register-

More information here: http://apachecon.com/

Follow us and learn more about ApacheCon:
  * Twitter: @ApacheCon
  * Discussion mailing list:
https://lists.apache.org/list.html?apachecon-disc...@apache.org
  * Podcasts and speaker interviews: http://feathercast.apache.org/
  * IRC: #apachecon on the https://freenode.net/

We look forward to seeing you in Miami!

-- 
Rich Bowen - VP Conferences, The Apache Software Foundation
http://apachecon.com/
@apachecon



signature.asc
Description: OpenPGP digital signature


[users@httpd] FINAL REMINDER: CFP for ApacheCon closes February 11th

2017-02-08 Thread Rich Bowen
Dear Apache Enthusiast,

This is your FINAL reminder that the Call for Papers (CFP) for ApacheCon
Miami is closing this weekend - February 11th. This is your final
opportunity to submit a talk for consideration at this event.

This year, we are running several mini conferences in conjunction with
the main event, so if you're submitting for one of those events, please
pay attention to the instructions below.

Apache: Big Data
* Event information:
http://events.linuxfoundation.org/events/apache-big-data-north-america
* CFP:
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp

Apache: IoT (Internet of Things)
* Event Information: http://us.apacheiot.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'IoT' in the Target Audience field)

CloudStack Collaboration Conference
* Event information: http://us.cloudstackcollab.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'CloudStack' in the Target Audience field)

FlexJS Summit
* Event information - http://us.apacheflexjs.org/
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'Flex' in the Target Audience field)

TomcatCon
* Event information - https://tomcat.apache.org/conference.html
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
(Indicate 'Tomcat' in the Target Audience field)

All other topics and projects
* Event information -
http://events.linuxfoundation.org/events/apachecon-north-america/program/about
* CFP -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp

Admission to any of these events also grants you access to all of the
others.

Thanks, and we look forward to seeing you in Miami!

-- 
Rich Bowen
VP Conferences, Apache Software Foundation
rbo...@apache.org
Twitter: @apachecon



(You are receiving this email because you are subscribed to a dev@ or
users@ list of some Apache Software Foundation project. If you do not
wish to receive email from these lists any more, you must follow that
list's unsubscription procedure. View the headers of this message for
unsubscription instructions.)

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



Re: [users@httpd] hello

2017-01-19 Thread Rich Bowen


On 01/19/2017 11:34 AM, David Miranda Aragón wrote:
> Good morning.
> I am looking for help on apache2 in debian 8, as I am trying to mount a
> website, which in debian 7 worked bin, but now in debian 8 it does not
> work for me.

You need to clarify what you mean by "does not work". In what way,
specifically, does it not work? What is happening, exactly, and in what
way does it differ from what you want or expect to be happening?



> But below I leave the configuration of my virtualhost
> 
> 
>  ServerName ftp.domain
>  ServerAdmin webmaster @ domain
>  DocumentRoot "/ srv / ftp"
> 
>  AddDefaultCharset UTF-8
>  DirectoryIndex /httpdirindex/httpdirindex.php
>  RemoveHandler .php .phps .pl .cgi
> 
>  ErrorLog logs / ftp.domain-error.log
>  CustomLog logs / ftp.domain-access.log common
>  ErrorDocument 404 /httpdirindex/httpdirindex.php
> 
>  
>  Options FollowSymLinks MultiViews
>  Order Allow, Deny
>  Allow From All
>  
> 
> 
> Is that I want to beautify my ftp that is mounted in apache with a
> utility called httpdirindex that is written in php5
> 
> 
> El 19/01/2017 a las 11:27 a. m., David Miranda Aragón escribió:
>> test
>> -- 
>> Documento sin título Nombre: Lic. David Miranda Aragón
>> Empresa: Unidad de Investigación para la Construcción Cienfuegos. ENIA
>> - MICONS
>> Ocupación: Administrador de Red
>> Email: da...@eniacfg.co.cu
>> Jabber: da...@jabber.eniacfg.co.cu
>> Teléfono: (043) 525128
>> Dirección: Ave 56 # 5101 (Altos), Cienfuegos - CUBA
> 
> -- 
> Documento sin título Nombre: Lic. David Miranda Aragón
> Empresa: Unidad de Investigación para la Construcción Cienfuegos. ENIA -
> MICONS
> Ocupación: Administrador de Red
> Email: da...@eniacfg.co.cu
> Jabber: da...@jabber.eniacfg.co.cu
> Teléfono: (043) 525128
> Dirección: Ave 56 # 5101 (Altos), Cienfuegos - CUBA


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


[users@httpd] ApacheCon CFP closing soon (11 February)

2017-01-18 Thread Rich Bowen
Hello, fellow Apache enthusiast. Thanks for your participation, and
interest in, the projects of the Apache Software Foundation.

I wanted to remind you that the Call For Papers (CFP) for ApacheCon
North America, and Apache: Big Data North America, closes in less than a
month. If you've been putting it off because there was lots of time
left, it's time to dig for that inspiration and get those talk proposals in.

It's also time to discuss with your developer and user community whether
there's a track of talks that you might want to propose, so that you
have more complete coverage of your project than a talk or two.

We're looking for talks directly, and indirectly, related to projects at
the Apache Software Foundation. These can be anything from in-depth
technical discussions of the projects you work with, to talks about
community, documentation, legal issues, marketing, and so on. We're also
very interested in talks about projects and services built on top of
Apache projects, and case studies of how you use Apache projects to
solve real-world problems.

We are particularly interested in presentations from Apache projects
either in the Incubator, or recently graduated. ApacheCon is where
people come to find out what technology they'll be using this time next
year.

Important URLs are:

To submit a talk for Apache: Big Data -
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
To submit a talk for ApacheCon -
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp

To register for Apache: Big Data -
http://events.linuxfoundation.org/events/apache-big-data-north-america/attend/register-
To register for ApacheCon -
http://events.linuxfoundation.org/events/apachecon-north-america/attend/register-

Early Bird registration rates end March 12th, but if you're a committer
on an Apache project, you get the low committer rate, which is less than
half of the early bird rate!

For further updated about ApacheCon, follow us on Twitter, @ApacheCon,
or drop by our IRC channel, #apachecon on the Freenode IRC network. Or
contact me - rbo...@apache.org - with any questions or concerns.

Thanks!

Rich Bowen, VP Conferences, Apache Software Foundation

-- 
(You've received this email because you're on a dev@ or users@ mailing
list of an Apache Software Foundation project. For subscription and
unsubscription information, consult the headers of this email message,
as this varies from one list to another.)

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



Re: [users@httpd] ** MOD_RELEASE ** Apache2.x (mod_fence) Flood/DOS/DDOS Protection + stuck detection

2017-01-09 Thread Rich Bowen
Being under the apache license does not imply any relationship with the
Apache Software Foundation. And in the case of mod_evasive there is none.
As far as I can tell, that module has been abandoned for a number of years.

On Dec 5, 2016 11:52 AM, "Stormy"  wrote:

> At 04:26 PM 12/5/2016 +0100, DaVieS wrote:
>
>> Hi Everyone!
>>
>> As a FullStack I had a very long headache with Apache, especially with
>> crappy and slowly pages, that the PHP stucks (FLOCK() && Session) the
>> processes over-time until the webserver become unavailable meanwhile
>> unfortunately slow pages (1-4 secs) will able to kill the whole webserver
>> with hammering F5 or with external help (with mod_evasive On and/or nginx
>> rate limiting).
>>
>
> On 3 November I posted a question about mod_evasive and here's another
> one. Could someone involved with Apache "background" please advise (on- or
> off-list) if such mods, distributed under the Apache license, have gone
> through any form of QA?
>
> tnx -- paul
>
>
> In the case described before we made a module that only mitigate requests
>> when unfinished jobs remaining in apache and its stopped my headache as
>> well and it is available for public,
>> "Licensed under the Apache License, Version 2.0".
>>
>>
>> (Links below does not contains any advertising)
>>
>> If you are interesting how is it works please visit:
>> https://web-flood-test.npulse.net/
>> If you are interested for source: https://devel.npulse.net/npuls
>> e-public/mod_fence
>> If you are interested for our article about the problem:
>> https://npulse.net/en/apache-php-stuck-session-bug-mod_fence
>> -protection-dos-ddos-protection
>>
>> Feel free to test / use / share and also pull requests are welcome.
>>
>> -
>> 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] URL redirection

2016-12-15 Thread Rich Bowen


On 12/15/2016 10:19 AM, John Williams wrote:
> I need to redirect the contents of a URL site from (say) zzz.com  to
> (say) yyy.com/somepage.html.  I need to have port 80 and port 443
> redirected.  So the requirement is:
> 
> http://zzz.com/ redirect to http://yyy.com/somepage.html:25999
> AND
> https://zzz.com/ <http://zzz.com/> redirect to
> https://yyy.com/somepage.html:25999
> 
> 
> Will the following rule work?
> 
> 
>   ServerName zzz.com
>   DocumentRoot /var/www/html/zzz
>   ServerAdmin webmas...@zzz.com
>   ServerAlias www.zzz.com
>   RewriteEngine On
>   RewriteRule ^/$ http://yyy/somepage.html [R=301,NC,L]

This redirects *only* the URL "/". That is, it will redirect
http://zzz.com/ but will not redirect http://zzz.com/something

>   ErrorLog /var/log/httpd/zzz.error.log
> 
> 
> I tested it for port 80 redirection. That worked fine.  Will that also
> work for SSL? 

No, it will not. For that, you'll need to put that rule also in the
https vhost.

> Also, what does the *[R=301,NC,L]* imply?  That is a
> googled rule and I don't quite know what it does.

R=301 means Redirect, status=301

NC means "case insensitive", which is nonsense in this particular context.

L means Last - Do it now. Which is unnecessary in this particular
context, unless you have other rewrite rules following.

Note also that the Redirect directive does what you're trying to do here
without all the song and dance of mod_rewrite

Further reading:

http://httpd.apache.org/docs/current/rewrite/flags.html

http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect

http://httpd.apache.org/docs/current/rewrite/remapping.html#canonicalhost



-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


Save the date: ApacheCon Miami, May 15-19, 2017

2016-11-30 Thread Rich Bowen
Dear Apache enthusiast,

ApacheCon and Apache Big Data will be held at the Intercontinental in
Miami, Florida, May 16-18, 2017. Submit your talks, and register, at
http://apachecon.com/  Talks aimed at the Big Data section of the event
should go to
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
while other talks should go to
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp


ApacheCon is the best place to meet the people that develop the software
that you use and rely on. It’s also a great opportunity to deepen your
involvement in the project, and perhaps make the leap to contributing.
And we find that user case studies, showcasing how you use Apache
projects to solve real world problems, are very popular at this event.
So, do consider whether you have a use case that might make a good
presentation.

ApacheCon will have many different ways that you can participate:

Technical Content: We’ll have three days of technical sessions covering
many of the projects at the ASF. We’ll be publishing a schedule of talks
on March 9th, so that you can plan what you’ll be attending

BarCamp: The Apache BarCamp is a standard feature of ApacheCon - an
un-conference style event, where the schedule is determined on-site by
the attendees, and anything is fair game.

Lightning Talks: Even if you don’t give a full-length talk, the
Lightning Talks are five minute presentations on any topic related to
the ASF, and can be given by any attendee. If there’s something you’re
passionate about, consider giving a Lightning Talk.

Sponsor: It costs money to put on a conference, and this is a great
opportunity for companies involved in Apache projects, or who benefit
from Apache code - your employers - to get their name and products in
front of the community. Sponsors can start any any monetary level, and
can sponsor everything from the conference badge lanyard, through larger
items such as video recordings and evening events. For more information
on sponsoring ApacheCon, see http://apachecon.com/sponsor/

So, get your tickets today at http://apachecon.com/ and submit your
talks. ApacheCon Miami is going to be our best ApacheCon yet, and you,
and your project, can’t afford to miss it.

-- 
Rich Bowen - rbo...@apache.org
VP, Conferences
http://apachecon.com
@apachecon


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



[users@httpd] Save the date: ApacheCon Miami, May 15-19, 2017

2016-11-30 Thread Rich Bowen
Dear Apache enthusiast,

ApacheCon and Apache Big Data will be held at the Intercontinental in
Miami, Florida, May 16-18, 2017. Submit your talks, and register, at
http://apachecon.com/  Talks aimed at the Big Data section of the event
should go to
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
while other talks should go to
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp


ApacheCon is the best place to meet the people that develop the software
that you use and rely on. It’s also a great opportunity to deepen your
involvement in the project, and perhaps make the leap to contributing.
And we find that user case studies, showcasing how you use Apache
projects to solve real world problems, are very popular at this event.
So, do consider whether you have a use case that might make a good
presentation.

ApacheCon will have many different ways that you can participate:

Technical Content: We’ll have three days of technical sessions covering
many of the projects at the ASF. We’ll be publishing a schedule of talks
on March 9th, so that you can plan what you’ll be attending

BarCamp: The Apache BarCamp is a standard feature of ApacheCon - an
un-conference style event, where the schedule is determined on-site by
the attendees, and anything is fair game.

Lightning Talks: Even if you don’t give a full-length talk, the
Lightning Talks are five minute presentations on any topic related to
the ASF, and can be given by any attendee. If there’s something you’re
passionate about, consider giving a Lightning Talk.

Sponsor: It costs money to put on a conference, and this is a great
opportunity for companies involved in Apache projects, or who benefit
from Apache code - your employers - to get their name and products in
front of the community. Sponsors can start any any monetary level, and
can sponsor everything from the conference badge lanyard, through larger
items such as video recordings and evening events. For more information
on sponsoring ApacheCon, see http://apachecon.com/sponsor/

So, get your tickets today at http://apachecon.com/ and submit your
talks. ApacheCon Miami is going to be our best ApacheCon yet, and you,
and your project, can’t afford to miss it.

-- 
Rich Bowen - rbo...@apache.org
VP, Conferences
http://apachecon.com
@apachecon


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



Re: [users@httpd] Question

2016-11-04 Thread Rich Bowen


On 11/01/2016 06:46 PM, Abdullah AbuHijleh wrote:
> We need to configure Apache HTTP Server Version 2.4 to work with
> Kerberos SSO ?
> 
> Please help

Looks like there's something called mod_auth_kerb
http://modauthkerb.sourceforge.net/ but it doesn't appear to be actively
maintained.

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] mod_rewrite bug fix question

2016-11-04 Thread Rich Bowen


On 10/31/2016 11:38 AM, Rose, John B wrote:
> It looks like this bug was fixed in Apache 2.4.9
> 
>  
> 
> https://bz.apache.org/bugzilla/show_bug.cgi?id=53929
> 
>  
> 
> Red Hat 7 latest yum repository version is Apache 2.4.6
> 
>  
> 
> What are the options, if any, to address this bug in Red Hat 7 utilizing
> the repository provided Apache

Apache doesn't provide any repos. This is firmly in Red Hat's hands to
incorporate patches into their repos.

Meanwhile, Fedora has packages for this - F24 looks like it's on 2.4.23
right now. But of course RHEL is always going to be way behind that.
Possibly try EPEL?


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


[users@httpd] What are we working on at ApacheCon?

2016-10-27 Thread Rich Bowen
If you're going to be at ApacheCon, please join us in the
collaboration/hackathon space. If there's something that you'd like to
work on there, please add it to the etherpad at
https://public.etherpad-mozilla.org/p/aceu-2016-hackathon so that we can
be thinking ahead about things. This tends to make the time there much
more productive.

See you in Seville!

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



[users@httpd] ApacheCon is now less than a month away!

2016-10-19 Thread Rich Bowen
Dear Apache Enthusiast,

ApacheCon Sevilla is now less than a month out, and we need your help
getting the word out. Please tell your colleagues, your friends, and
members of related technical communities, about this event. Rates go up
November 3rd, so register today!

ApacheCon, and Apache Big Data, are the official gatherings of the
Apache Software Foundation, and one of the best places in the world to
meet other members of your project community, gain deeper knowledge
about your favorite Apache projects, learn about the ASF. Your project
doesn't live in a vacuum - it's part of a larger family of projects that
have a shared set of values, as well as a shared governance model. And
many of our project have an overlap in developers, in communities, and
in subject matter, making ApacheCon a great place for cross-pollination
of ideas and of communities.

Some highlights of these events will be:

* Many of our board members and project chairs will be present
* The lightning talks are a great place to hear, and give, short
presentations about what you and other members of the community are
working on
* The key signing gets you linked into the web of trust, and better
able to verify our software releases
* Evening receptions and parties where you can meet community
members in a less formal setting
* The State of the Feather, where you can learn what the ASF has
done in the last year, and what's coming next year
* BarCampApache, an informal unconference-style event, is another
venue for discussing your projects at the ASF

We have a great schedule lined up, covering the wide range of ASF
projects, including:

* CI and CD at Scale: Scaling Jenkins with Docker and Apache Mesos -
Carlos Sanchez
* Inner sourcing 101 - Jim Jagielski
* Java Memory Leaks in Modular Environments - Mark Thomas

ApacheCon/Apache Big Data will be held in Sevilla, Spain, at the Melia
Sevilla, November 14th through 18th. You can find out more at
http://apachecon.com/  Other ways to stay up to date with ApacheCon are:

* Follow us on Twitter at @apachecon
* Join us on IRC, at #apachecon on the Freenode IRC network
* Join the apachecon-discuss mailing list by sending email to
apachecon-discuss-subscr...@apache.org
* Or contact me directly at rbo...@apache.org with questions,
comments, or to volunteer to help

See you in Sevilla!

-- 
Rich Bowen: VP, Conferences
rbo...@apache.org
http://apachecon.com/
@apachecon

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



Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing

2016-10-03 Thread Rich Bowen


On 09/30/2016 09:55 AM, Christopher Schultz wrote:
>> > Background: I want to mirror the directory with lftp, and lftp can
>> > not read the given filesize correctly out of the index. So lftp has
>> > to make HEAD requests to get the file size for each file. The
>> > additional HEAD requests would be not necessary if the index
>> > returns the exact file size.
>> > 

> It sounds like this is a good candidate for a web service which
> returns exactly the information you need and no more. For example, if
> you were to return the list of files and their file sizes as a CSV or
> something simpler than an HTML document, you would be able to do it
> even more easily.

Or use rsync

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


Re: [users@httpd] apache on port 81

2016-09-28 Thread Rich Bowen


On 09/28/2016 12:18 PM, Fred Ethève wrote:
> **
> 
> Please! Hi, i've installed an apache httpd-2.4.23-win64-VC11.zip on port
> 81 windows10 professional 64b
> 
> with this procedure :
> 
> http://docs.3liz.com/fr/install/windows.html
> 
> I've already an another apache MS4W webserver on port 80 for my website
> that runs OK
> 
> The 2 services runs, as apache monitor is OK for both
> 
> But http://localhost:81/ returns :
> 
> "Error 500. A technical error has occured. Sorry for this trouble.
> 
> The application is not installed"

That error message is not an Apache httpd error message. As far as I can
tell from Google, it is a 3liz error message. (Note that I've never
heard of 3liz before today, so I can't help you with that.) This would
indicate to me that Apache httpd is working fine, but 3liz itself is
having difficulty.

--Rich




> 
> The error log is :
> [Wed Sep 28 17:53:38.417700 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00424: Parent: Received restart signal -- Restarting the server.
> [Wed Sep 28 17:53:39.197769 2016] [ssl:warn] [pid 9676:tid 628] AH01873:
> Init: Session Cache is not configured [hint: SSLSessionCache]
> [Wed Sep 28 17:53:39.197769 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00455: Apache/2.4.23 (Win64) mod_fcgid/2.3.9 OpenSSL/1.0.2i configured
> -- resuming normal operations
> [Wed Sep 28 17:53:39.197769 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00456: Apache Lounge VC11 Server built: Jul  8 2016 11:33:36
> [Wed Sep 28 17:53:39.197769 2016] [core:notice] [pid 9676:tid 628]
> AH00094: Command line: 'C:\\webserver\\Apache24\\bin\\httpd.exe -d
> C:/webserver/Apache24'
> [Wed Sep 28 17:53:39.197769 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00418: Parent: Created child process 6256
> [Wed Sep 28 17:53:39.597795 2016] [ssl:warn] [pid 6256:tid 528] AH01873:
> Init: Session Cache is not configured [hint: SSLSessionCache]
> [Wed Sep 28 17:53:39.597795 2016] [mpm_winnt:notice] [pid 6256:tid 528]
> AH00354: Child: Starting 64 worker threads.
> [Wed Sep 28 17:53:40.428132 2016] [mpm_winnt:notice] [pid 5900:tid 528]
> AH00364: Child: All worker threads have exited.
> [Wed Sep 28 17:53:48.839570 2016] [fcgid:error] [pid 5900:tid 596]
> FastCGI process 9324 still did not exit, terminating forcefully
> [Wed Sep 28 17:54:52.422805 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00424: Parent: Received restart signal -- Restarting the server.
> [Wed Sep 28 17:54:53.302833 2016] [ssl:warn] [pid 9676:tid 628] AH01873:
> Init: Session Cache is not configured [hint: SSLSessionCache]
> [Wed Sep 28 17:54:53.302833 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00455: Apache/2.4.23 (Win64) mod_fcgid/2.3.9 OpenSSL/1.0.2i configured
> -- resuming normal operations
> [Wed Sep 28 17:54:53.302833 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00456: Apache Lounge VC11 Server built: Jul  8 2016 11:33:36
> [Wed Sep 28 17:54:53.302833 2016] [core:notice] [pid 9676:tid 628]
> AH00094: Command line: 'C:\\webserver\\Apache24\\bin\\httpd.exe -d
> C:/webserver/Apache24'
> [Wed Sep 28 17:54:53.302833 2016] [mpm_winnt:notice] [pid 9676:tid 628]
> AH00418: Parent: Created child process 9852
> [Wed Sep 28 17:54:53.712876 2016] [ssl:warn] [pid 9852:tid 572] AH01873:
> Init: Session Cache is not configured [hint: SSLSessionCache]
> [Wed Sep 28 17:54:53.712876 2016] [mpm_winnt:notice] [pid 9852:tid 572]
> AH00354: Child: Starting 64 worker threads.
> [Wed Sep 28 17:54:54.432995 2016] [mpm_winnt:notice] [pid 6256:tid 528]
> AH00364: Child: All worker threads have exited.
> [Wed Sep 28 17:55:02.844148 2016] [fcgid:error] [pid 6256:tid 536]
> FastCGI process 1176 still did not exit, terminating forcefully
> 
> here is my httpd.conf (PJ)
> 
> An idea, THANK YOU!!!
> -- 
> 
> Frédéric Ethève
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


Re: [users@httpd] Configuration Problem - VHosts on Apache 2.2

2016-09-27 Thread Rich Bowen


On 09/27/2016 04:06 PM, Rich Bowen wrote:
> Actually, I get a not found there, too. Note, however, that the HTML
> inks to http://www.minorityrecruiter.com/cgi-bin/testcgi while in your
> initial note you say that the correct file path is testcgi.pl
> 
> Adding a .pl on the end of url makes it work. Well, "work" in the sense
> that it calls the cgi program, generating a Server Error.

I'm getting an "it works" message now, so it looks like you figured
something out. Meanwhile, I do strongly recommend that you go ahead and
to to 2.4. 2.4 is 5 years old now, and 2.2 will be End Of Life very,
very soon.


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Configuration Problem - VHosts on Apache 2.2

2016-09-27 Thread Rich Bowen


On 09/26/2016 07:08 PM, Milt Spain wrote:
> CGI, itself, is not a problem. Getting the HTTPD and VHosts
> configurations set correctly so the cgi files are found is the problem.
> As noted before, everything works as intended with the Apache 1.3 server
> version but does not on Apache 2.3. Of note is the fact that specific
> authorization (placed within the Virtual Host) to access the cgi
> directory was not required in my Apache 1.3 application.
>  
> I wasn’t sure I could simply upgrade to 2.4 so I chose to go with 2.2.
> There are also some changes within 2.4 that require getting used to. At
> this point I had just as soon run 1.3 on the Windows 2012 server if I
> could get it to work and learn/practice with 2.2 or 2.4 on the side
> until I know everything is working properly (I will have four or more
> websites on the server when all is set up). I’ve tried every VHost
> configuration that I can think of and Apache 2.2 does not find the cgi
> file when called. On Apache 1.3 the file is found and executed.
> Something, somewhere, within Apache 2.2 config is incorrect. I haven’t
> been able to find it and I’ve looked at documentation from everyplace
> and everyone I can find or contact.
>  
> Presently the DNS for minorityrecruiter.com points to my old server and
> Apache 1.3. Go to www.minorityrecruiter.com
> <http://www.minorityrecruiter.com> and click CGI TEST PAGE. You will get
> a return --- It Works!!.

Actually, I get a not found there, too. Note, however, that the HTML
inks to http://www.minorityrecruiter.com/cgi-bin/testcgi while in your
initial note you say that the correct file path is testcgi.pl

Adding a .pl on the end of url makes it work. Well, "work" in the sense
that it calls the cgi program, generating a Server Error.


 When the DNS is pointed at the IP address of my
> new server that doesn’t happen. You get the index page but when the CGI
> TEST PAGE link is clicked you get an error –‘Systems cannot find the
> specified file’.
>  
> Would it be helped if I posted the entire HTTPD config file?
>  
> Thank for any and all assistance.
>  
> Milt Spain
>  
>  
> *From:* Jim Walls <mailto:j...@k6ccc.org>
> *Sent:* Monday, September 26, 2016 3:38 PM
> *To:* users@httpd.apache.org <mailto:users@httpd.apache.org>
> *Subject:* Re: [users@httpd] Configuration Problem - VHosts on Apache 2.2
>  

> On 9/26/2016 14:26, Milt Spain wrote:
>> I would much prefer to move on with Apache 2.2 but I can't get the
>> configurations to work and I have to get on with life. 
> 
> I'm gathering that you are trying to migrate from1.3 to 2.2. If this is
> the case, why are you not moving to 2.4?
> I don't do anything with cgi so I can't help you with that part.
> 
> -- 
> 73
> -----
> Jim Walls - K6CCC
> j...@k6ccc.org
> Ofc:  818-548-4804
> http://members.dslextreme.com/users/k6ccc/
> AMSAT Member 32537 - WSWSS Member 395
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Configuration Problem - VHosts on Apache 2.2

2016-09-27 Thread Rich Bowen


On 09/26/2016 05:26 PM, Milt Spain wrote:
> I have this Vhost configuration on Apache 2.2 loaded on Windows Server
> 2012.
> 
> 
> DocumentRoot E:/pinnacle/minorityrecruiter/htdocs
> ServerAdmin a...@diversitylink.com
> ServerName minorityrecruiter.com
> ServerAlias *.minorityrecruiter.com
> ScriptAlias /cgi-bin/ "E:/pinnacle/minorityrecruiter/cgi-bin/"
> 
> Options Indexes FollowSymLinks MultiViews Includes
> AllowOverride all
> Order allow,deny
> Allow from all
> 
> 
> 
> Options Indexes FollowSymLinks Multiviews Includes
> AllowOverride all
> Order allow,deny
> Allow from all
> 
> 
> 
> 
> The website name entered into a browser will yield a page which contains
> a link to a cgi program. When that link is clicked an error message
> shows stating the file cannot be found on this server. The path to the
> cgi program is E:/pinnacle/minorityrecruiter/cgi-bin/testcgi.pl.


What exactly does the error log say? (Not the message in the browser,
the error log.)

> 
> I have the same Vhost config ,minus the second , on a
> different machine (Microsoft Server 2003) with Apache 1.3 and the cgi
> program functions when called.
> 
> I have two questions:
> 
> 1)Any idea as to why the config works on Apache 1.3 and not on Apache 2.2?
> 
> 2)Can Apache 1.3 work with MS Server 2012? Any specific changes that
> have to be made?

You are *strongly* recommended to move off of 1.3, and on to 2.4. There
are many, many reasons for this.

> 
> I would much prefer to move on with Apache 2.2 but I can't get the
> configurations to work and I have to get on with life.
> 
> Any assistance will be greatly appreciated.

Well, let's start with those error logs.


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Change user for Apache web server to a non-privileged user?

2016-09-19 Thread Rich Bowen


On 09/19/2016 03:16 PM, Rich Bowen wrote:
> 

> You are *probably* encountering selinux permission problems.
> 

Or, as this appears to be a Debian/Ubuntu machine, AppArmor.


> No doubt, if you investigate that line, you'll find lots of people
> telling you to disable selinux, or set it to permissive. These people
> are evil, and should be ignored. Instead, you need to learn how to
> correctly give permission to the web content to your Apache user
> account. You're looking for the chcon command line utility.
> 
> See http://serverfault.com/questions/396036/apache-httpd-permissions for
> a possible starting place.
> 
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Change user for Apache web server to a non-privileged user?

2016-09-19 Thread Rich Bowen


On 09/14/2016 08:16 AM, Tom Hammond wrote:
> Hello everyone,
> 
> I have an Apache 2.2x server and would like to harden security so that
> hackers can't get in easily to the Apache webserver.  One suggestion is
> to change the user/group for Apache to a non-privileged account.  
> 
> Currently the user "fpp" is the default user for Apache which has access
> to the operating system via sudo commands.  
> 
> I entered these commands to create a non-privileged account:
> sudo groupadd http-web
> sudo useradd -d /opt/fpp/www/ -g http-web http-web
> 
> I then edited /etc/apache2/envvars to change these lines:
> export APACHE_RUN_USER=http-web
>
> export APACHE_RUN_GROUP=http-web
> 
> I also ran this command to change user/group permissions on this folder:
> sudo chown -R http-web:http-web /var/lock/apache2/
> sudo chown -R http-web:http-web /opt/fpp/www
> 
> Finally, I restarted the Apache service with this command:
> sudo service apache2 restart
> 
> When I try to access the website on this server, I receive the following
> message:
> 
> 
> Forbidden: You don't have permission to access / on this server.
> 
> 
> I've been scouring the Internet trying to figure out how to switch the
> default "fpp" Apache user to a non-privileged account and can't figure
> it out. Can someone shed some light on this?
> 


You are *probably* encountering selinux permission problems.

No doubt, if you investigate that line, you'll find lots of people
telling you to disable selinux, or set it to permissive. These people
are evil, and should be ignored. Instead, you need to learn how to
correctly give permission to the web content to your Apache user
account. You're looking for the chcon command line utility.

See http://serverfault.com/questions/396036/apache-httpd-permissions for
a possible starting place.


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



[users@httpd] ApacheCon Seville CFP closes September 9th

2016-08-30 Thread Rich Bowen
It's traditional. We wait for the last minute to get our talk proposals
in for conferences.

Well, the last minute has arrived. The CFP for ApacheCon Seville closes
on September 9th, which is less than 2 weeks away. It's time to get your
talks in, so that we can make this the best ApacheCon yet.

It's also time to discuss with your developer and user community whether
there's a track of talks that you might want to propose, so that you
have more complete coverage of your project than a talk or two.

For Apache Big Data, the relevant URLs are:
Event details:
http://events.linuxfoundation.org/events/apache-big-data-europe
CFP:
http://events.linuxfoundation.org/events/apache-big-data-europe/program/cfp

For ApacheCon Europe, the relevant URLs are:
Event details: http://events.linuxfoundation.org/events/apachecon-europe
CFP: http://events.linuxfoundation.org/events/apachecon-europe/program/cfp

This year, we'll be reviewing papers "blind" - that is, looking at the
abstracts without knowing who the speaker is. This has been shown to
eliminate the "me and my buddies" nature of many tech conferences,
producing more diversity, and more new speakers. So make sure your
abstracts clearly explain what you'll be talking about.

For further updated about ApacheCon, follow us on Twitter, @ApacheCon,
or drop by our IRC channel, #apachecon on the Freenode IRC network.

-- 
Rich Bowen
WWW: http://apachecon.com/
Twitter: @ApacheCon

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



ApacheCon Seville CFP closes September 9th

2016-08-30 Thread Rich Bowen
It's traditional. We wait for the last minute to get our talk proposals
in for conferences.

Well, the last minute has arrived. The CFP for ApacheCon Seville closes
on September 9th, which is less than 2 weeks away. It's time to get your
talks in, so that we can make this the best ApacheCon yet.

It's also time to discuss with your developer and user community whether
there's a track of talks that you might want to propose, so that you
have more complete coverage of your project than a talk or two.

For Apache Big Data, the relevant URLs are:
Event details:
http://events.linuxfoundation.org/events/apache-big-data-europe
CFP:
http://events.linuxfoundation.org/events/apache-big-data-europe/program/cfp

For ApacheCon Europe, the relevant URLs are:
Event details: http://events.linuxfoundation.org/events/apachecon-europe
CFP: http://events.linuxfoundation.org/events/apachecon-europe/program/cfp

This year, we'll be reviewing papers "blind" - that is, looking at the
abstracts without knowing who the speaker is. This has been shown to
eliminate the "me and my buddies" nature of many tech conferences,
producing more diversity, and more new speakers. So make sure your
abstracts clearly explain what you'll be talking about.

For further updated about ApacheCon, follow us on Twitter, @ApacheCon,
or drop by our IRC channel, #apachecon on the Freenode IRC network.

-- 
Rich Bowen
WWW: http://apachecon.com/
Twitter: @ApacheCon

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



Re: [users@httpd] Help On RewriteRule

2016-08-11 Thread Rich Bowen


On 08/07/2016 06:47 AM, Jayaram Ponnusamy wrote:
> Hi,
> 
> I made below rewriteRule to redirect URL from
> http://cmspweb1.com/sites/en_US/about/newsroom/2015/4 to
> http://cmspweb1.com/sites/en_US/about/newsroom?year=2015=4.
> Redirection is happening fine and In Address Bar we are getting From URL
> as expected.
> 
> We have filtering option to select year & Month to view news articles.
> The below rewriteRule help to manually enter the URL, but we would like
> to keep the same as dynamically.
> For example, if User selects year 2010 and month 6 then they should get
> the page with SEO friendly URL in the address bar
> http://cmspweb1.com/sites/en_US/about/newsroom/2010/6 instead of
> http://cmspweb1.com/sites/en_US/about/newsroom?year=2010=6
> 
> RewriteEngine On# Turn on the rewriting engine
> RewriteRule /sites/en_US/about/newsroom/([0-9]+)/([0-9]+)
> sites/en_US/about/newsroom?year=$1=$2 [P]
> 

I'm pretty sure you don't want [P] on this. Perhaps you meant [PT]?

I would also recommend that you just make 'newsroom' smarter. That is,
instead of having the 'newsroom' handler expect a QUERY_STRING, have it
read PATH_INFO as well (or instead). In that way, you don't have to
rewrite anything, ever, and you're less prone to error and rewrite failure.


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



signature.asc
Description: OpenPGP digital signature


[users@httpd] ApacheCon Europe Call For Papers Open

2016-07-12 Thread Rich Bowen
As you are no doubt already aware, we will be holding ApacheCon in
Seville, Spain, the week of November 14th, 2016. The call for papers
(CFP) for this event is now open, and will remain open until 
September 9th.

The event is divided into two parts, each with its own CFP. The first
part of the event, called Apache Big Data, focuses on Big Data
projects and related technologies.

Website: http://events.linuxfoundation.org/events/apache-big-data-europe
CFP: http://events.linuxfoundation.org/events/apache-big-data-europe/program/cfp

The second part, called ApacheCon Europe, focuses on the Apache
Software Foundation as a whole, covering all projects, community
issues, governance, and so on.

Website: http://events.linuxfoundation.org/events/apachecon-europe
CFP: http://events.linuxfoundation.org/events/apachecon-europe/program/cfp

ApacheCon is the official conference of the Apache Software
Foundation, and is the best place to meet members of your project and
other ASF projects, and strengthen your project's community.

If your organization is interested in sponsoring ApacheCon, contact me
at e...@apache.org  ApacheCon is a great place to find the brightest
developers in the world, and experts on a huge range of technologies.

I hope to see you in Seville!


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



Re: [users@httpd] Implement request white list in Apache

2016-07-08 Thread Rich Bowen
Well, yes, you could do it with mod_rewrite. You could also presumably use
a proxypassmatch as part of your tomcat setup if the whitelist is simple
enough to express it as one regex. I expect, though, that mod_security will
give you the biggest ! for your $ in a nontrivial scenario.
On Jul 8, 2016 08:28, "Marat Khalili"  wrote:

> You can do this with mod_rewrite:
>
> RewriteCond %{REQUEST_URI} !^allowed_url_1$
> RewriteCond %{REQUEST_URI} !^allowed_url_2$
> ...
> RewriteCond %{REQUEST_URI} !^allowed_url_N$
> RewriteRule .* - [F,L]
>
>
> --
>
> With Best Regards,
> Marat Khalili
>
>
> On 08/07/16 13:53, Joice Joseph wrote:
>
> Hi All,
>
> Can someone help me to make the Apache in such a way that It will block
> all the request filter by default and process only those specified requests
> to tomcat server.
>
> --
> ​​
> ​Cheers​
>
>
> *Joice Joseph *
>
>
>


Re: [users@httpd] Implement request white list in Apache

2016-07-08 Thread Rich Bowen
You're looking for mod_security
On Jul 8, 2016 06:54, "Joice Joseph"  wrote:

> Hi All,
>
> Can someone help me to make the Apache in such a way that It will block
> all the request filter by default and process only those specified requests
> to tomcat server.
>
> --
> ​​
> ​Cheers​
>
>
> *Joice Joseph*
>
>


Re: [users@httpd] Syntax checking an alternate configuration file

2016-07-06 Thread Rich Bowen


On 07/06/2016 12:17 PM, Darryl Philip Baker wrote:
> I want to syntax check an alternate configuration file in Apache 2.4 but
> I have hit a snag, “apachectl –t –f {full path name}” and “apachectl –f
> {full path name} configtest” give me an extra message which I don’t need
> and don’t want to see. I looked at the shell script that is apachectl
> and it looks like someone got lazy and if there is  a second argument it
> will always print the warning message. It may be a “feature” but it is a
> damn annoying one. Because I’m using RHEL I don’t want to just comment
> out the test in apachectl but I’m not sure it is a reportable bug. Opinions?

You should report this bug in Red Hat Bugilla, as that's where it's
likely to get addressed. Or possibly in Fedora Bugzilla, since that's
the upstream for the packages that land in RHEL. Or perhaps ask Joe
Orton directly. :-)

--Rich

> 
>  
> 
> [root@host build_conf]# apachectl -t -f /etc/httpd/build_conf/httpd.conf
> 
> Passing arguments to httpd using apachectl is no longer supported.
> 
> You can only start/stop/restart httpd using this script.
> 
> If you want to pass extra arguments to httpd, edit the
> 
> /etc/sysconfig/httpd config file.
> 
> httpd: “Here is the error message I am looking for”
> 
> [root@host build_conf]#
> 
>  
> 
> *Darryl Baker*
> 
> *Sr. System Administrator***
> 
> Distributed Application Platform Services (DAPS)
> 
> Project Management Office and Enabling Technologies (PMOET)
> 
> *Northwestern*| Information Technology(Formerly NUIT)
> 
> 1800 Sherman Ave., Suite 600
> 
> Evanston, IL  60201-3715
> 
> *(847) 467-6674*
> 
> www.it.northwestern.edu
> 
>  
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] TraceEnable off directive not work

2016-02-23 Thread Rich Bowen
Sorry, brain cramp there. Tomcat. I see.

I wonder if you've had an opportunity to try this on 2.4 httpd. 2.2.27 is
from nearly 3 years ago.
On Feb 23, 2016 08:30, "Rich Bowen" <rbo...@rcbowen.com> wrote:

> What the heck is Apache-Coyote/1.1
> On Feb 18, 2016 02:47, "吴昊" <wu...@7500.com.cn> wrote:
>
>> Hello,
>>
>>
>>
>> I Just experienced a weird behavior of TraceEnable directive.
>>
>>
>>
>> Before use this directive, i use mod_rewtire to disable trace and other
>> unwanted HTTP method. Since this directive been added, TRACE method start
>> getting 200 return.
>>
>> Ive tried both jmeter and telnet, the results are same, protection was
>> gone.
>>
>>
>>
>> Im running apache 2.2.27 on a Linux box, I add both TraceEnable directive
>> along with Rewrite directives together, thought it would be “more proper
>> way to dong this” and a double protection
>>
>>
>>
>> related configs in http.conf as follows:
>>
>>
>>
>> TraceEnable off
>>
>> RewriteEngine on
>>
>> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|PUT|DELETE)
>>
>> RewriteRule .* - [R=405,L]
>>
>>
>>
>> and results as follows:
>>
>>
>>
>> TRACE / HTTP/1.1
>>
>> HOST:www.domain.com.cn
>>
>>
>>
>> HTTP/1.1 200 OK
>>
>> Date: Thu, 18 Feb 2016 07:36:35 GMT
>>
>> Server: Apache-Coyote/1.1
>>
>> X-Frame-Options: SAMEORIGIN
>>
>> Pragma: No-cache
>>
>> Cache-Control: no-cache
>>
>> Expires: Thu, 01 Jan 1970 08:00:00 GMT
>>
>> Content-Type: text/html;charset=UTF-8
>>
>> Set-Cookie: JSESSIONID=739A627F3C3DE5933230BE579D7D1693; Secure; HttpOnly
>>
>> Transfer-Encoding: chunked
>>
>>
>>
>> in access_log, can clearly see
>>
>> [18/Feb/2016:15:36:29 +0800] "TRACE / HTTP/1.1" 200 10219
>> www.domain.com.cn
>>
>>
>>
>> after I removed this directive, just leave Rewrite directives, redirect
>> are normal.
>>
>>
>>
>> TRACE / HTTP/1.1
>>
>> HOST:www.domain.com.cn
>>
>>
>>
>> HTTP/1.1 405 TRACE method is not allowed
>>
>> Date: Thu, 18 Feb 2016 07:39:40 GMT
>>
>> Server: Apache-Coyote/1.1
>>
>> X-Frame-Options: SAMEORIGIN
>>
>> Allow: OPTIONS
>>
>> Content-Length: 0
>>
>> Content-Type: text/plain
>>
>>
>>
>> In access_log
>>
>> [18/Feb/2016:15:39:32 +0800] "TRACE / HTTP/1.1" 405 - www.domain.com.cn
>>
>>
>>
>>
>>
>> I think this could indicates that "TraceEnable off" is bugged/not working.
>>
>>
>>
>> Any thoughts? please advise.
>>
>> Thank you
>>
>>
>>
>> Cheers
>>
>>
>>
>> Chris
>>
>>
>>
>


Re: [users@httpd] TraceEnable off directive not work

2016-02-23 Thread Rich Bowen
What the heck is Apache-Coyote/1.1
On Feb 18, 2016 02:47, "吴昊"  wrote:

> Hello,
>
>
>
> I Just experienced a weird behavior of TraceEnable directive.
>
>
>
> Before use this directive, i use mod_rewtire to disable trace and other
> unwanted HTTP method. Since this directive been added, TRACE method start
> getting 200 return.
>
> Ive tried both jmeter and telnet, the results are same, protection was
> gone.
>
>
>
> Im running apache 2.2.27 on a Linux box, I add both TraceEnable directive
> along with Rewrite directives together, thought it would be “more proper
> way to dong this” and a double protection
>
>
>
> related configs in http.conf as follows:
>
>
>
> TraceEnable off
>
> RewriteEngine on
>
> RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|PUT|DELETE)
>
> RewriteRule .* - [R=405,L]
>
>
>
> and results as follows:
>
>
>
> TRACE / HTTP/1.1
>
> HOST:www.domain.com.cn
>
>
>
> HTTP/1.1 200 OK
>
> Date: Thu, 18 Feb 2016 07:36:35 GMT
>
> Server: Apache-Coyote/1.1
>
> X-Frame-Options: SAMEORIGIN
>
> Pragma: No-cache
>
> Cache-Control: no-cache
>
> Expires: Thu, 01 Jan 1970 08:00:00 GMT
>
> Content-Type: text/html;charset=UTF-8
>
> Set-Cookie: JSESSIONID=739A627F3C3DE5933230BE579D7D1693; Secure; HttpOnly
>
> Transfer-Encoding: chunked
>
>
>
> in access_log, can clearly see
>
> [18/Feb/2016:15:36:29 +0800] "TRACE / HTTP/1.1" 200 10219
> www.domain.com.cn
>
>
>
> after I removed this directive, just leave Rewrite directives, redirect
> are normal.
>
>
>
> TRACE / HTTP/1.1
>
> HOST:www.domain.com.cn
>
>
>
> HTTP/1.1 405 TRACE method is not allowed
>
> Date: Thu, 18 Feb 2016 07:39:40 GMT
>
> Server: Apache-Coyote/1.1
>
> X-Frame-Options: SAMEORIGIN
>
> Allow: OPTIONS
>
> Content-Length: 0
>
> Content-Type: text/plain
>
>
>
> In access_log
>
> [18/Feb/2016:15:39:32 +0800] "TRACE / HTTP/1.1" 405 - www.domain.com.cn
>
>
>
>
>
> I think this could indicates that "TraceEnable off" is bugged/not working.
>
>
>
> Any thoughts? please advise.
>
> Thank you
>
>
>
> Cheers
>
>
>
> Chris
>
>
>


Re: [users@httpd] Options for setting up Apache server cluster ...

2016-02-17 Thread Rich Bowen


On 02/11/2016 11:03 AM, Rose, John B wrote:
> Looking for recommendations for a good guide for setting up an Apache
> web server cluster

Probably the best thing we have for this is the documentation on
mod_proxy_balancer, and the various presos out there focusing on it.
Many of these are by JimJag, but there are also some by others.

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-14 Thread Rich Bowen


On 01/12/2016 04:21 PM, Rose, John B wrote:
> So for example using the default "event" mpm values
> (http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/extra/httpd-mp
> m.conf.in) below in Apache then PHP-FPM would be the same ...
> 
> StartServers 3 -> pm.start_servers = 3
> MinSpareThreads 75 -> pm.min_spare_servers = 75
> MaxSpareThreads 250 -> pm.max_spare_servers = 250
> MaxRequestWorkers 400 -> pm.max_requests = 400
> 
> I am not seeing any PHP-FPM equiv settings for ...
> 
> ThreadsPerChild 25
> 
> MaxConnectionsPerChild   0
> 
> 
> 
> Correct?
> 


Seems reasonable. What was it set to before?


> 
> On 1/12/16 3:41 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
> 
>>
>>
>> On 01/12/2016 02:26 PM, Rose, John B wrote:
>>> Is there a guide to properly matching your apache and PHP-FPM configs?
>>>
>>> Looking here Š
>>>
>>> https://wiki.apache.org/httpd/PHP-FPM
>>>
>>>
>> I am not seeing that information
>>>
>>
>> php-fpm is documented in the PHP docs at
>> http://php.net/manual/en/install.fpm.php  I'm far from an expert on it,
>> but the rule would be that if you're proxing from A to B, then B needs
>> to be able to handle as much traffic as A is forwarding to it. So I'd
>> expect that what you want is at least as many servers/workers/threads on
>> the php-fpm end as you are likely to proxy from the httpd end.
>>
>> --Rich
>>
>>> On 1/12/16 2:03 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
>>>
>>>>
>>>>
>>>> On 01/12/2016 01:58 PM, Rose, John B wrote:
>>>>> Can you elaborate on this a bit?
>>>>>
>>>>> "..the server pool is smaller than Apache's server pool, causing
>>>>> too much thrashing. (See the pm.min_spare_servers and so on)"
>>>>
>>>>
>>>> Sure. The way that php-fpm works is that there's a php-fpm daemon, and
>>>> requests for whatever.php are proxypass'ed over to it. So there must be
>>>> at least as many threads over on the php-fpm side as you have active
>>>> over on the httpd side, or there will be thrash in creating those
>>>> threads when the time comes.
>>>>
>>>> So basically you need to line up the php-fpm config with your httpd
>>>> config, or at least have more threads on the fpm side.
>>>>
>>>> pm.min_spare_servers (and max_spare and start_servers) are php-fpm
>>>> configurations, which you'll find somewhere in /etc/php-fpm.d or
>>>> whatever your particular distro calls it.
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 1/12/16 12:20 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 01/11/2016 04:51 PM, Rose, John B wrote:
>>>>>>> After switching to mod_php from php-fpm we are told the site is
>>>>>>> working
>>>>>>> 4x faster using mod_php instead of php-fpm.
>>>>>>>
>>>>>>> Any explanation?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> The cynic in me things that this is a case of old dogs being
>>>>>> unwilling
>>>>>> to learn new tricks.
>>>>>>
>>>>>> Other things that come to mind is that fpm is grossly misconfigured -
>>>>>> perhaps they allocated insufficient memory to it? Or are running it
>>>>>> on
>>>>>> another machine that has a faulty network connection between them? Or
>>>>>> possibly the server pool is smaller than Apache's server pool,
>>>>>> causing
>>>>>> too much thrashing. (See the pm.min_spare_servers and so on)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> From: William A Rowe Jr <wr...@rowe-clan.net
>>>>>>> <mailto:wr...@rowe-clan.net>>
>>>>>>> Reply-To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
>>>>>>> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
>>>>>>> Date: Saturday, January 9, 2016 1:58 PM
>>>>>>> To: &

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen


On 01/12/2016 01:58 PM, Rose, John B wrote:
> Can you elaborate on this a bit?
> 
> "..the server pool is smaller than Apache's server pool, causing
> too much thrashing. (See the pm.min_spare_servers and so on)"


Sure. The way that php-fpm works is that there's a php-fpm daemon, and
requests for whatever.php are proxypass'ed over to it. So there must be
at least as many threads over on the php-fpm side as you have active
over on the httpd side, or there will be thrash in creating those
threads when the time comes.

So basically you need to line up the php-fpm config with your httpd
config, or at least have more threads on the fpm side.

pm.min_spare_servers (and max_spare and start_servers) are php-fpm
configurations, which you'll find somewhere in /etc/php-fpm.d or
whatever your particular distro calls it.


> 
> 
> 
> On 1/12/16 12:20 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
> 
>>
>>
>> On 01/11/2016 04:51 PM, Rose, John B wrote:
>>> After switching to mod_php from php-fpm we are told the site is working
>>> 4x faster using mod_php instead of php-fpm.
>>>
>>> Any explanation?
>>
>>
>>
>>
>>
>> The cynic in me things that this is a case of old dogs being unwilling
>> to learn new tricks.
>>
>> Other things that come to mind is that fpm is grossly misconfigured -
>> perhaps they allocated insufficient memory to it? Or are running it on
>> another machine that has a faulty network connection between them? Or
>> possibly the server pool is smaller than Apache's server pool, causing
>> too much thrashing. (See the pm.min_spare_servers and so on)
>>
>>
>>
>>
>>> Thanks
>>>
>>> From: William A Rowe Jr <wr...@rowe-clan.net
>>> <mailto:wr...@rowe-clan.net>>
>>> Reply-To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
>>> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
>>> Date: Saturday, January 9, 2016 1:58 PM
>>> To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
>>> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
>>> Subject: Re: [users@httpd] Circumstances when mod_php would run faster
>>> than PHP-FPM?
>>>
>>> Mod_proxy_fcgi + php-fpm or mod_fcgid with php fcgi sapi should both be
>>> equivalent when tuned correctly.
>>>
>>> Your only option for running php in process efficiently is to use the
>>> non-threadsafe php in the httpd preform module.  Your only option for
>>> running httpd efficiently is the event, or at least the worker mpm.
>>>
>>> Since usually only a subset of the http requests are to a php resource,
>>> the answer is almost always 'no'.
>>>
>>> On Jan 8, 2016 16:48, "Rose, John B" <jbr...@utk.edu
>>> <mailto:jbr...@utk.edu>> wrote:
>>>
>>> Apache 2.4
>>>
>>> On the same system, same web site, are there circumstances when
>>> Apache using mod_php would run faster than Apache using PHP-FPM?
>>>
>>> Thanks
>>>
>>
>>
>> -- 
>> Rich Bowen - rbo...@rcbowen.com - @rbowen
>> http://apachecon.com/ - @apachecon
>>
>> -
>> 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
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen


On 01/12/2016 02:26 PM, Rose, John B wrote:
> Is there a guide to properly matching your apache and PHP-FPM configs?
> 
> Looking here Š
> 
> https://wiki.apache.org/httpd/PHP-FPM
> 
> 
I am not seeing that information
> 

php-fpm is documented in the PHP docs at
http://php.net/manual/en/install.fpm.php  I'm far from an expert on it,
but the rule would be that if you're proxing from A to B, then B needs
to be able to handle as much traffic as A is forwarding to it. So I'd
expect that what you want is at least as many servers/workers/threads on
the php-fpm end as you are likely to proxy from the httpd end.

--Rich

> On 1/12/16 2:03 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
> 
>>
>>
>> On 01/12/2016 01:58 PM, Rose, John B wrote:
>>> Can you elaborate on this a bit?
>>>
>>> "..the server pool is smaller than Apache's server pool, causing
>>> too much thrashing. (See the pm.min_spare_servers and so on)"
>>
>>
>> Sure. The way that php-fpm works is that there's a php-fpm daemon, and
>> requests for whatever.php are proxypass'ed over to it. So there must be
>> at least as many threads over on the php-fpm side as you have active
>> over on the httpd side, or there will be thrash in creating those
>> threads when the time comes.
>>
>> So basically you need to line up the php-fpm config with your httpd
>> config, or at least have more threads on the fpm side.
>>
>> pm.min_spare_servers (and max_spare and start_servers) are php-fpm
>> configurations, which you'll find somewhere in /etc/php-fpm.d or
>> whatever your particular distro calls it.
>>
>>
>>>
>>>
>>>
>>> On 1/12/16 12:20 PM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
>>>
>>>>
>>>>
>>>> On 01/11/2016 04:51 PM, Rose, John B wrote:
>>>>> After switching to mod_php from php-fpm we are told the site is
>>>>> working
>>>>> 4x faster using mod_php instead of php-fpm.
>>>>>
>>>>> Any explanation?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The cynic in me things that this is a case of old dogs being unwilling
>>>> to learn new tricks.
>>>>
>>>> Other things that come to mind is that fpm is grossly misconfigured -
>>>> perhaps they allocated insufficient memory to it? Or are running it on
>>>> another machine that has a faulty network connection between them? Or
>>>> possibly the server pool is smaller than Apache's server pool, causing
>>>> too much thrashing. (See the pm.min_spare_servers and so on)
>>>>
>>>>
>>>>
>>>>
>>>>> Thanks
>>>>>
>>>>> From: William A Rowe Jr <wr...@rowe-clan.net
>>>>> <mailto:wr...@rowe-clan.net>>
>>>>> Reply-To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
>>>>> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
>>>>> Date: Saturday, January 9, 2016 1:58 PM
>>>>> To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
>>>>> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
>>>>> Subject: Re: [users@httpd] Circumstances when mod_php would run faster
>>>>> than PHP-FPM?
>>>>>
>>>>> Mod_proxy_fcgi + php-fpm or mod_fcgid with php fcgi sapi should both
>>>>> be
>>>>> equivalent when tuned correctly.
>>>>>
>>>>> Your only option for running php in process efficiently is to use the
>>>>> non-threadsafe php in the httpd preform module.  Your only option for
>>>>> running httpd efficiently is the event, or at least the worker mpm.
>>>>>
>>>>> Since usually only a subset of the http requests are to a php
>>>>> resource,
>>>>> the answer is almost always 'no'.
>>>>>
>>>>> On Jan 8, 2016 16:48, "Rose, John B" <jbr...@utk.edu
>>>>> <mailto:jbr...@utk.edu>> wrote:
>>>>>
>>>>> Apache 2.4
>>>>>
>>>>> On the same system, same web site, are there circumstances when
>>>>> Apache using mod_php would run faster than Apache using PHP-FPM?
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>>
>>>> -- 
>>>> Rich Bowen - rbo...@rcbowe

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rich Bowen


On 01/11/2016 04:51 PM, Rose, John B wrote:
> After switching to mod_php from php-fpm we are told the site is working
> 4x faster using mod_php instead of php-fpm.
> 
> Any explanation?





The cynic in me things that this is a case of old dogs being unwilling
to learn new tricks.

Other things that come to mind is that fpm is grossly misconfigured -
perhaps they allocated insufficient memory to it? Or are running it on
another machine that has a faulty network connection between them? Or
possibly the server pool is smaller than Apache's server pool, causing
too much thrashing. (See the pm.min_spare_servers and so on)




> Thanks
> 
> From: William A Rowe Jr <wr...@rowe-clan.net <mailto:wr...@rowe-clan.net>>
> Reply-To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
> Date: Saturday, January 9, 2016 1:58 PM
> To: "users@httpd.apache.org <mailto:users@httpd.apache.org>"
> <users@httpd.apache.org <mailto:users@httpd.apache.org>>
> Subject: Re: [users@httpd] Circumstances when mod_php would run faster
> than PHP-FPM?
> 
> Mod_proxy_fcgi + php-fpm or mod_fcgid with php fcgi sapi should both be
> equivalent when tuned correctly.
> 
> Your only option for running php in process efficiently is to use the
> non-threadsafe php in the httpd preform module.  Your only option for
> running httpd efficiently is the event, or at least the worker mpm.
> 
> Since usually only a subset of the http requests are to a php resource,
> the answer is almost always 'no'.
> 
> On Jan 8, 2016 16:48, "Rose, John B" <jbr...@utk.edu
> <mailto:jbr...@utk.edu>> wrote:
> 
> Apache 2.4
> 
> On the same system, same web site, are there circumstances when
> Apache using mod_php would run faster than Apache using PHP-FPM?
> 
> Thanks
> 


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



[ANNOUNCE] CFP open for ApacheCon North America 2016

2015-11-25 Thread Rich Bowen
Community growth starts by talking with those interested in your
project. ApacheCon North America is coming, are you?

We are delighted to announce that the Call For Presentations (CFP) is
now open for ApacheCon North America. You can submit your proposed
sessions at
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
for big data talks and
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
for all other topics.

ApacheCon North America will be held in Vancouver, Canada, May 9-13th
2016. ApacheCon has been running every year since 2000, and is the place
to build your project communities.

While we will consider individual talks we prefer to see related
sessions that are likely to draw users and community members. When
submitting your talk work with your project community and with related
communities to come up with a full program that will walk attendees
through the basics and on into mastery of your project in example use
cases. Content that introduces what's new in your latest release is also
of particular interest, especially when it builds upon existing well
know application models. The goal should be to showcase your project in
ways that will attract participants and encourage engagement in your
community, Please remember to involve your whole project community (user
and dev lists) when building content. This is your chance to create a
project specific event within the broader ApacheCon conference.

Content at ApacheCon North America will be cross-promoted as
mini-conferences, such as ApacheCon Big Data, and ApacheCon Mobile, so
be sure to indicate which larger category your proposed sessions fit into.

Finally, please plan to attend ApacheCon, even if you're not proposing a
talk. The biggest value of the event is community building, and we count
on you to make it a place where your project community is likely to
congregate, not just for the technical content in sessions, but for
hackathons, project summits, and good old fashioned face-to-face networking.

-- 
rbo...@apache.org
http://apache.org/

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



[users@httpd] [ANNOUNCE] CFP open for ApacheCon North America 2016

2015-11-25 Thread Rich Bowen
Community growth starts by talking with those interested in your
project. ApacheCon North America is coming, are you?

We are delighted to announce that the Call For Presentations (CFP) is
now open for ApacheCon North America. You can submit your proposed
sessions at
http://events.linuxfoundation.org/events/apache-big-data-north-america/program/cfp
for big data talks and
http://events.linuxfoundation.org/events/apachecon-north-america/program/cfp
for all other topics.

ApacheCon North America will be held in Vancouver, Canada, May 9-13th
2016. ApacheCon has been running every year since 2000, and is the place
to build your project communities.

While we will consider individual talks we prefer to see related
sessions that are likely to draw users and community members. When
submitting your talk work with your project community and with related
communities to come up with a full program that will walk attendees
through the basics and on into mastery of your project in example use
cases. Content that introduces what's new in your latest release is also
of particular interest, especially when it builds upon existing well
know application models. The goal should be to showcase your project in
ways that will attract participants and encourage engagement in your
community, Please remember to involve your whole project community (user
and dev lists) when building content. This is your chance to create a
project specific event within the broader ApacheCon conference.

Content at ApacheCon North America will be cross-promoted as
mini-conferences, such as ApacheCon Big Data, and ApacheCon Mobile, so
be sure to indicate which larger category your proposed sessions fit into.

Finally, please plan to attend ApacheCon, even if you're not proposing a
talk. The biggest value of the event is community building, and we count
on you to make it a place where your project community is likely to
congregate, not just for the technical content in sessions, but for
hackathons, project summits, and good old fashioned face-to-face networking.

-- 
rbo...@apache.org
http://apache.org/

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



Re: [users@httpd] How to post to HTTPD Users List

2015-11-17 Thread Rich Bowen


On 11/17/2015 11:38 AM, Yehuda Katz wrote:
> I don't necessarily agree with everything in that document, but it is
> referenced on this mailing list page
> (http://httpd.apache.org/lists.html#http-users), so it is reasonable to
> reference it.

Good point. I'll try to fix that ASAP.

> If there are significant issues with it (I am not saying that there
> are), then I am sure someone can propose taking the link off the website
> or replacing it with something else.

I'm working on it - http://betterfm.org/smart-questions.html
Unfortunately, I haven't had a lot of time to work on it lately.

The issue that I have with it is that it assumes that it is the asker's
responsibility to put up with all manner of abuse, because that's just
how we roll in the Open Source world. (See
http://catb.org/~esr/faqs/smart-questions.html#keepcool for more detail
on that attitude.) I just happen to repudiate that particular point of view.

That, and the fact that the word "idiot" appears first in paragraph two,
and the arrogance get worse from there.

> 
> I actually do think that this document is way too long as a welcome to a
> new poster. A concise bulleted list might be better.

Yes, the document has grown from a useful little document ten years ago
to the victim-blaming monstrosity it is today, and it's time to burn it
down and start over.

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] How to post to HTTPD Users List

2015-11-16 Thread Rich Bowen


On 11/15/2015 12:17 PM, Yehuda Katz wrote:
> Also read the link on the mailing list description page: "How To Ask
> Questions The Smart Way"
> <http://www.catb.org/%7Eesr/faqs/smart-questions.html>

I ardently look forward to the day when people stop referencing that
document as though it's good advice.

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] php.conf and PHP-FPM

2015-11-13 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/13/2015 11:46 AM, Rose, John B wrote:
> mod_php is not enabled.
> 
> So you are saying if mod_php is NOT enabled and we are using
> PHP-FPM, then php.conf is not used?
> 
> Or we should rename it? Comment all the lines in it out?
> 
> What drew our attention to this is the "DirectoryIndex index.php"
> line in php.conf and was it conflicting with our "DiretcoryIndex"
> line in httpd.conf.


So ... possibly several different misunderstandings going on here.

First of all, "php.conf" is just an arbitrary file name. httpd doesn't
care what you name your configuration files, whether it's php.conf,
foo.bar.conf, or mylittlepony.conf. (And even the .conf is arbitrary.)
If a file is Include'ed, then it's used.

So if you have

Include *.conf

Then any file named anything.conf is loaded and "used".

Contrariwise, if you have

Include conf/*

then ANY file in that directory is included and used in your
configuration.

So, yeah, if you have a file named php.conf (or boogity.conf) and
you've Include'ed it, then it's "used".

As to whether you should rename/delete/comment the configuration file,
it depends entirely on what's in it, and whether you want that
configuration to be active. If what's in it is directives that enable
mod_php, then you are probably safe removing the file, in your
particular situation, where you're using php-fpm

On the other hand, if you're still using mod_php for something, then
you might still need that file, or, at least, the directives that are
contained in it.

Is that clearer?

- --Rich







> 
> Thanks
> 
> On 11/13/15 11:39 AM, "Rich Bowen" <rbo...@rcbowen.com> wrote:
> 
> 
> 
> On 11/13/2015 11:24 AM, Rose, John B wrote:
>>>> 
>>>> If we are using PHP-FPM with Apache. Is there any reason to
>>>> have conf.d/php.conf?
>>>> 
> 
> If you're asking if you need mod_php enabled, then, no, you don't
> need that when you're using php-fpm
> 
> 
> 
> 
>> 
>> -
>>
>> 
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
> 

- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlZGF+gACgkQXP03+sx4yJODqACeJzKiSoqgprcFtQnH25S8l4Z3
slMAoIr7Zzm8jAh5HidDGg+4AL7SBUdT
=El+s
-END PGP SIGNATURE-

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



Re: [users@httpd] php.conf and PHP-FPM

2015-11-13 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/13/2015 11:24 AM, Rose, John B wrote:
> 
> If we are using PHP-FPM with Apache. Is there any reason to have 
> conf.d/php.conf?
> 

If you're asking if you need mod_php enabled, then, no, you don't need
that when you're using php-fpm




- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlZGEkYACgkQXP03+sx4yJM0WQCg5JhTZc7kqsBM0d5kbRjGpf0k
X3sAoJrvf3lzkoOsW9X1xyVg5RjRWkab
=OgNt
-END PGP SIGNATURE-

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



Re: [users@httpd] php.conf and PHP-FPM

2015-11-13 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/13/2015 02:53 PM, Rose, John B wrote:
> do the settings such as  ...
> 
>  SetHandler application/x-httpd-php 
> 
> 
> 
> AddType text/html .php
> 
> Etc,
> 
> ...typically in the file named php.conf, matter if you do not have
> mod_php loaded and are only using PHP-FPM?
> 
> What PHP related setting would you possibly put in php.conf if you
> are only using PHP-FPM?
> 

Oh. Right. Yeah, you don't need that stuff at all any more, because
any *.php files are being proxied over to the php-fpm server, and will
never reach this FilesMatch block.

> In other words, by using PHP-FPM, and using ProxyPassMatch, none of
> those things are used. Right?
> 

That is correct.



> Except "DirectoryIndex"
> 
> Comment: It seems the default/uncommented placement of
> "DirectoryIndex index.php" in php.conf would
> undesirably/unexpectedly replace "DirectoryIndex index.html
> index.php etc." in the main body of your httpd.conf file. If you
> "Include" conf.d late in your httpd.conf file.


No. DirectoryIndex is cumulative. That is, see this section in the docs:

Note: Multiple DirectoryIndex directives within the same context will
add to the list of resources to look for rather than replace:

Which then gives the example of:

DirectoryIndex index.html
DirectoryIndex index.php

as being identical to

DirectoryIndex index.html index.php


- --Rich



- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlZGT5oACgkQXP03+sx4yJOXwQCeOUR18iTj1vajpJZA4ANw6RpL
R68AoIxyCTC6ITegSd4JMgCPUWx9mgSi
=TJJ/
-END PGP SIGNATURE-

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



Re: [users@httpd] mod_macro multiple virtual hosts and PHP-FPM question

2015-11-12 Thread Rich Bowen


On 11/06/2015 04:37 PM, Rose, John B wrote:
> In Apache, mod_macro is a nice tool with which to quickly add virtual
> host configs. 
> 
> However, I haven't seen a way to automatically create a separate PHP-FPM
> pool for each new virtual host. 
> 
> Any methods to accomplish quickly adding a PHP-FPM pool when you create
> a virtual host with mod_macro?

No. Because php-fpm has its own configuration, which is completely
separate from httpd. Perhaps you want to consider something like
Puppet/Ansible/Chef for this next level of automation.


-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Announcing mod_websocket v0.1.0

2015-11-12 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/10/2015 03:33 PM, Jacob Champion wrote:
> I'm happy to announce version 0.1.0 of mod_websocket:
> 
> https://github.com/jchampio/apache-websocket/releases/tag/0.1.0

Jacob,

First, congratulations on your release.

Next, I'd encourage you to take the discussion to the dev@ list, where
other httpd module developers may be interested in participating in
the effort, and may have a deeper understanding of what you're trying
to accomplish. Granted, many/most of those folks are also subscribed
here, but tend not to watch this list very closely.

- --Rich

> 
> mod_websocket is an Apache 2.x module that allows developers to
> write C- and C++-based WebSocket services. The intent is for
> mod_websocket-plugin writers to develop their WebSocket services
> completely independently of the Apache server API. Currently, both
> httpd 2.2 and 2.4 are supported.
> 
> I am not the original author of mod_websocket; it's been orphaned
> for a couple of years now, and I'm stepping in as a new primary
> maintainer. So if you're interested in the development or use of
> this module, now is an excellent time to get involved! Download and
> test the code, file issues (or try your hand at fixing one),
> star/fork the repo on GitHub, etc. Any and all feedback is
> appreciated.
> 
> = Major New Features/Fixes =
> 
> Since the last upstream commit in 2012, here are some of the major 
> changes in 0.1.0:
> 
> - Incoming handshakes are now validated and rejected if they do
> not conform to the WebSocket specification. This is the primary
> focus of the 0.1.0 release. - Cross-origin connections are now
> rejected by default, and a new WebSocketOriginCheck directive has
> been added to control this behavior. - A major rearchitecture of
> the threading model fixes occasional crashes when using mod_ssl. -
> Experimental CMake support has been added for Windows builds. - An
> autotest harness has been added, which uses the Autobahn
> TestSuite.
> 
> A full changelist can be seen at the release description on
> GitHub.
> 
> = Major Known Issues =
> 
> This is a pre-release, zero-dot module. There are known issues that
> may preclude its use in production systems. Please understand them
> and take steps to avoid them if you decide to deploy
> mod_websocket.
> 
> - mod_reqtimeout will prematurely close idle WebSocket connections
> if it is in use. - Apache worker threads are completely monopolized
> by WebSocket connections. This makes it possible for a large number
> of connections to DoS the server. - mod_websocket suffers from poor
> performance when receiving extremely fragmented messages (i.e. a
> large number of small frames). In an untrusted environment, this
> could also lead to a denial of service condition.
> 
> A more complete (but not necessarily exhaustive) list is available
> at the repo page on GitHub:
> 
> https://github.com/jchampio/apache-websocket/issues
> 
> = Binary Compatibility =
> 
> The plugin ABI is *not* yet stable, but the 0.1.x line is 
> binary-compatible with the original upstream fork. So if you
> already have mod_websocket plugins based on the original
> repository, no changes should be required for you to use them with
> this release. There *will* eventually be an ABI bump (0.2.x) to fix
> some known issues with the interfaces, but I'll do my best to
> consolidate those compatibility breaks and drive towards a 1.0 as
> soon as possible.
> 
> Thanks for your interest!
> 
> --Jacob Champion
> 
> -----
>
> 
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 


- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlZEpIsACgkQXP03+sx4yJPdCACg1RRNJWDqXNnkzwZuTSPRHqaK
OZwAmwYY6/NfIgP2KFSxgAIAqQ8lft9+
=1ZwL
-END PGP SIGNATURE-

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



Re: [users@httpd] Cannot find request by error log id

2015-11-12 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/03/2015 06:05 AM, Виталий Фадеев wrote:
> Hi!
> 
> I modify access and error log formats by add %L parameter.
> 
> In my error log i get this: [Tue Nov 03 02:55:33.635958 2015]
> [VjiEkn8AAAEAAHuBfzkAAABB] [-:error] [pid 31617:tid [client
> IP:PORT] PHP Warning: unlink(/tmp/file_name.txt): No such file or
> directory in /var/www/file_test.php on line 1, referer REFERER
> 
> If i try to find this ID in access logs - nothing found.
> 
> If i search request by referer, pid, ip and port combination -
> there is also no ID
> 
> Why? Is this some limitations?
> 
I've seen cases where requests encounter a problem in php-land and the
request never makes it to the logging phase, although I don't know
that I was ever able to track it down to a specific root cause.

That said, we'd probably need a *lot* more detail to begin to figure
out what's going on in your particular situation.

- --Rich


- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlZEpWYACgkQXP03+sx4yJOqwACfTyekfqxf1siyKU0crRCS4gDn
rYkAn3/spjMXdOKMZi59nNrcp+VJ/T31
=3z7b
-END PGP SIGNATURE-

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



Re: [users@httpd] mod_rewrite for multiple unknown directories question

2015-08-14 Thread Rich Bowen
Pardon me for answering a question with a question, but is it possible 
to just move the directory that you're pointing to to remove this confusion?


That is, I assume that the URL /user1 is Aliased to /home/user1/ 
somewhere in your configuration. Can you alias it to /home/user1/assets 
instead and eliminate the middle-man?


--Rich

On 08/13/2015 11:33 AM, Rose, John B wrote:

Hello

We are trying to create a RewriteRule that will allow us to drop a
component of the actual URL, and still reference the content deeper in
the directory structure for any number of subdirectories to that dropped
component of the URL.
*
*
For example let's say the content for each account is in ….

/home/user1/assets/images
/home/user1/assets/images/houses
/home/user1/assets/images/cars
/home/user1/assets/someotherdirectory/

/home/user2/assets/images
/home/user2/assets/images/pets
/home/user2/assets/anotherdirectory
/home/user2/assets/anotherdirectory/yetanotherdirectory

Etc.

*We want web developers to be able to reference that content WITHOUT the
assets component in the URL*

As in …
http://abc.com/user1/images/houses/1.jpg
http://abc.com/user2/anotherdirectory/yetanotherdirectory/test.js
Etc.

We seem to be able to do this if we explicitly name the directories
involved …

The image is in /home/user1/assets/image but we want to reference it
with /user1/image.


It worked with this:

...

RewriteEngine on

RewriteRule ^user1/image(/.*|)$ /home/user1/assets/image/$1 [L]...

...



But we need to make that more generic, there may be large number of user
areas with various subdirectories with content. We would like to be able
to have one rule, or set of rules that we can apply to each user area
without any edits needed by them.

We tried this ….

We want it to work regardless of what's after the /assets, it won't
always be /images, it might be /js, /css or whatever...

We tried the following, unsuccessfully:

...

RewriteEngine on

RewriteRule ^user1/([a-z0-9]+)/(.*|)$ /home/user1/assets/$1/$2 [L]
...

We tried to match image/someotherdirectory/anotherdirectory directories
using ([a-z0-9]+) and set it to $1.

This rewrite rule passed an htaccess tester we found online but failed
on real apache. I realize that doesn't necessarily mean anything.



Thanks






--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Apache and Wordpress file permissions options

2015-08-13 Thread Rich Bowen



On 08/12/2015 01:06 PM, Rose, John B wrote:

So my question is, while using prefork and php-fpm isn't ideally
efficient, it isn't a problem if we use prefork and php-fpm. That won't
break anything?


No, it won't *break* anything. Just that prefork is significantly less 
efficient than the alternatives.


Also, for much of this conversation I believe we were unaware that we're 
dealing with 2.2. mod_proxy_fcgi is a 2.4 module, and you have to go 
third-party in 2.2 for the same functionality. Not that that's a 
blocker, of course, just another step.


/Rich


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Apache and Wordpress file permissions options

2015-08-12 Thread Rich Bowen



On 08/11/2015 12:43 PM, Rose, John B wrote:

We are using Apache 2.2, so we are using prefork.

So no problems using PHp-fpm and prefork on Apache 2.2?


php-fpm is a separate service from apache httpd. Requests are proxied 
from Apache httpd to php-fpm. So while it doesn't matter which MPM 
you're running on the front-end server (or, indeed, if you're running 
Apache httpd at all), we do rather strongly recommend that you 1) 
upgrade to 2.4 if at all possible, and 2) don't use prefork unless 
there's some compelling reason to do so. In the old days, the compelling 
reason to use prefork was that you were using it in conjunction with 
mod_php, which had possible threading problems (to oversimplify). If 
you're using php-fpm instead of using mod_php, then there's really no 
reason any more to use prefork.



--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Apache and Wordpress file permissions options

2015-08-11 Thread Rich Bowen



On 08/11/2015 11:22 AM, Rose, John B wrote:

Any recommendations on the best method to accomplish individual users
Wordpress installations maintaining their owner:group instead of
changing to the owner:group of the Apache process?

Not a Wordpress multi-user installation. Each user installs their own
Wordpress.

Looking at the Wordpress site …

https://codex.wordpress.org/Changing_File_Permissions

Any pros/cons regarding these Apache modules?

  * suPHP http://www.suphp.org/Home.html, runs through php-cgi,
currently unmaintained since 2013.
  * mod_ruid2 https://github.com/mind04/mod-ruid2, apache module,
simple but effective.
  * mpm-itk http://mpm-itk.sesse.net/, apache module.


These first three are all essentially unmaintained.



  * PHP-FPM http://php-fpm.org/, a FastCGI server with more extensive
configuration.


This is the one.

I know that the PHP docs don't yet say that this is the preferred way to 
run PHP on Apache httpd - that has been on my ToDo list for quite a 
while now - but it *is* the preferred way to run PHP on Apache httpd, 
for all of the reasons - security, performance, ease of configuration, 
and so on.


So, yeah, we need the docs to catch up with reality. I promise, it's on 
my ToDo list.



--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] SSL not working for ServerAlias through load balancer

2015-05-12 Thread Rich Bowen



On 05/12/2015 10:40 AM, Rose, John B wrote:

Red Hat 7 Apache 2.4

We are using name based virtual hosts SSL configuration.

Which is working except not for one of our ServerAlias that goes thru a
load balancer

Not using SSL works fine. We can access all these via the browser …

http://baseserver.sub.abc.com
http://first.sub.abc.com
http://first.abc.com

Using SSL we can go to these successfully …

https://baseserver.sub.abc.com
https://First.sub.abc.com

But not this …

https://first.abc.com

Here is our config …

Have tried these ..
VirtualHost *.443
   and
VirtualHost first.sub.abc.com:443
   and
VirtualHost first.abc.com:443

 ServerName baseserver.sub.abc.com
 ServerAlias first.sub.abc.com
 ServerAlias first.abc.com

 SSLEngine on
 DocumentRoot /www/docs

   Directory /www/docs
 …
   /Directory


   ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/www/docs/
   DirectoryIndex index.php index.html

SSL Certificate stuff …

/VirtualHost


Any suggestions why the Load Balanced  SSL ServerAlias.
https://first.abc.com,  is not working?


Can you elaborate on not working? What exactly happens?


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] cookie and RewriteCond

2015-05-07 Thread Rich Bowen



On 05/06/2015 08:16 AM, MOKRANI Rachid wrote:

Hi,

I use apache 2.4 on centos.

I want toprotect the access to a page (/my_folder/secure)  with acookie
(in my exemple the cookie name is : my_cookie_name)

I would like that somemachine with IP 192.1.1.10 and 192.1.1.11 can
access the server without the cookie. This two IP adress d’on’t need to
have the cookie for access to /my_folder/secure)

And all other IP adress are redirect to adress
https://my_register_site.com if they don’t have the cookie.

How to write this ?

Some exemple, and of course it does not work.



Can you elaborate on does not work? Enable the rewritelog and see what 
it thinks is happening.


See http://httpd.apache.org/docs/current/mod/mod_rewrite.html#logging 
for details on rewrite logging.






Thanks in advance for any suggestions.

Regards.

 Directory /my_folder/secure 

Session On

RewriteEngineon

RewriteCond %{HTTP_COOKIE} !my_cookie_name

RewriteCond %{REMOTE_ADDR} !^192\.1\.1\.10$

RewriteCond %{REMOTE_ADDR} !^192\.1\.1\.11$

RewriteRule ^(.*)$ https://my_register_site.com [NC,L,R=301]

 /Directory

__

/Avant d'imprimer, pensez à l'environnement ! Please consider the
environment before printing ! /
/Ce message et toutes ses pièces jointes sont confidentiels et établis à
l'intention exclusive de ses destinataires. Toute utilisation non
conforme à sa destination, toute diffusion ou toute publication, totale
ou partielle, est interdite, sauf autorisation expresse. IFP Energies
nouvelles décline toute responsabilité au titre de ce message. This
message and any attachments are confidential and intended solely for the
addressees. Any unauthorised use or dissemination is prohibited. IFP
Energies nouvelles should not be liable for this message./
__




--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] slasharguments

2015-05-07 Thread Rich Bowen



On 05/06/2015 02:28 PM, Damien Hull wrote:

Can someone tell me how to configure slasharguments?

I'm trying to install Moodle version 2.8.5+ on Ubuntu 14.04. It wants
slasharguments. The moodle documentation says to add AcceptPathInfo On
to apache2.conf. That doesn't seem to work.

I'm hoping someone can point me in the right direction.



I presume you're talking about 
https://docs.moodle.org/28/en/Using_slash_arguments ?


Can you elaborate on doesn't seem to work? In particular, can you be 
as specific as possible with regard to what is happening, and in what 
way it differs from what you want to be happening? Most of us here are 
unfamiliar with Moodle and its terminology.


--Rich


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



[users@httpd] Happy 20th Birthday, httpd

2015-04-20 Thread Rich Bowen
For those that missed ApacheCon last week in Austin, I wanted to share a 
few things.


This year marks the 20th birthday of the Apache httpd project (or late 
last year, depending on how you count) and so we had a little 
celebration. The feather that was made for the Apache conference in 1998 
- https://www.flickr.com/photos/iamamoose/63963722/ - was at ApacheCon, 
and we tried to stage the same photo again, as much as was possible: 
https://plus.google.com/u/0/+RichBowen/posts/Gfs1Ek6MWqu


We also took pictures with all of the httpd committers who were present 
(although I expect we missed a few people.) : 
https://www.flickr.com/photos/rbowen/sets/72157651553317030/


And, we had a birthday cake

https://www.flickr.com/photos/linuxfoundation/17157208981/

https://www.flickr.com/photos/linuxfoundation/16537678153/

There's lots more ApacheCon photos here: 
https://www.flickr.com/photos/linuxfoundation/sets/72157651931911042


We're very proud of what we've accomplished over the last 20 years, and 
I'm pretty excited about the next 20. Thank you, every one of you, for 
being part of this journey, whether you've been here one day or the 
whole 20 years.


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Apache Performance Tuning document and minsparethreads maxsparethreads, etc.

2015-04-20 Thread Rich Bowen



On 04/10/2015 02:44 PM, Rose, John B wrote:

We have gone through the Performance Tuning document and it seems the
Process Creation section only addresses prefork MPM.

http://httpd.apache.org/docs/2.4/misc/perf-tuning.html

Is there a somewhat exhaustive Performance Tuning document addressing
Process Creation settings for the Event MPM in 2.4?

Also, for example, looking at the Apache MinSpareThreads documentation,
I am not seeing anything specific to Event MPM.

Any good resources for this information would be appreciated.



Yes, indeed, the performance tuning document is woefully out of date, 
and could use a lot of love, particularly from people with real-world 
recommendations. I'd love to see it completely rewritten, but, to date, 
I have never run a website where this kind of performance tuning was 
even necessary, so I lack the experience to do much more than describe 
the performance-related configuration directives.


--Rich


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



[users@httpd] ApacheCon North America, just 3 weeks away!

2015-03-20 Thread Rich Bowen

Dear Apache httpd enthusiast,

In just a few weeks, we'll be holding ApacheCon in Austin, Texas, and 
we'd love to have you in attendance. You can save $300 on admission by 
registering NOW, since the early bird price ends on the 21st.


Register at http://s.apache.org/acna2015-reg

ApacheCon this year celebrates the 20th birthday of the Apache HTTP 
Server, and we'll have Brian Behlendorf, who started this whole thing, 
keynoting for us, and you'll have a chance to meet some of the original 
Apache Group, who will be there to celebrate with us.


We've got 7 tracks of great talks, as well as BOFs, the Apache BarCamp, 
project-specific hack events, and evening events where you can deepen 
your connection with the larger Apache community. See the full schedule 
at http://apacheconna2015.sched.org/


And if you have any questions, comments, or just want to hang out with 
us before and during the event, follow us on Twitter - @apachecon - or 
drop by #apachecon on the Freenode IRC network.


Hope to see you in Austin!

--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

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



Re: [users@httpd] Red Hat 7 Apache 2.4

2014-10-30 Thread Rich Bowen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 10/29/2014 03:25 PM, Rose, John B wrote:
 We have installed Red Hat 7 and have been working on setting up
 some web sites for testing in that environment.
 
 It looks like the version bundled with RH7 has the issues mentioned
 in this
 
 https://bugzilla.redhat.com/show_bug.cgi?id=909703
 
 We have done a yum update but I guess what we have is the latest
 version available via that method.
 
 Here is what we are getting …
 
 service httpd graceful Passing arguments to httpd using apachectl
 is no longer supported. You can only start/stop/restart httpd using
 this script. If you want to pass extra arguments to httpd, edit
 the /etc/sysconfig/httpd config file.
 
 Doing a process listing gives httpd processes with this
 /usr/sbin/httpd –DFOREGROUND
 
 httpd -V Server version: Apache/2.4.6 (Red Hat)
 
 Any suggestions?


`service httpd` calls the Red Hat init scripts, rather than calling
either httpd or apachectl directly. As such, problems that you have
with it should be reported via Red Hat bugzilla, rather than via this
list, since we, here (even those of us that work at Red Hat) don't
have any visibility into what they do over there.



- -- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlRSe4EACgkQXP03+sx4yJPBSACgwuj/pGSJqlOtPXVdOoxtMbMZ
aGkAnjrtJBCylS8bHDPWd7w9d3s77KMf
=TsHs
-END PGP SIGNATURE-

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



Re: [users@httpd] (36)File name too long

2014-09-17 Thread Rich Bowen


On 09/16/2014 02:50 PM, mmccar...@tribloom.com wrote:
I am using RewriteRule and the proxy flag to proxy through Apache. 
When a long URL is passed through (longer than 255 characters), I get 
the error below (redacted). I understand that this is related to the 
maximum file name on the OS, in this case Ubuntu 14.04. My question is 
why is this happening when the URL is not related to a file on the 
file system? The URL is rewritten, then proxied to another server that 
works fine with long URLs.


[Mon Sep 15 11:42:04.211290 2014] [core:error] [pid 18302:tid 
140171735451392] (36)File name too long: [client xxx.xx.x.xxx:53717] 
AH00036: access to /long file path/_aliases failed (filesystem path 
'/long file path), referer: http://xx.xx.xx.xxx/index.html


Thanks,


That error message doesn't appear to be from the httpd server itself 
(ie, that message doesn't appear anywhere in the source code for trunk, 
2.4, 2.2, or 2.0), which leads me to believe that 1) it's in fact from 
your filesystem, and 2) there's no direct way to fix that in httpd 
configuration.


As thy why it matters when the file isn't on the filesystem, that's hard 
to tell without more context, but I presume that at some point in the 
process it is *looking* for the file in the filesystem.


For example, if this RewriteRule is in a .htaccess file, rather than in 
the main server config, it did in fact have to navigate to a filesystem 
directory before consulting that .htaccess file.


--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon


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



Re: [users@httpd] FancyIndexing NameWidth question

2014-09-12 Thread Rich Bowen
FancyIndexing isn't a directive, it's an argument to IndexOptions. Several
of the other options, including namewidth, require that fancy be turned on
for them to work. We can try to make this clearer in the docs.
On Sep 11, 2014 3:41 PM, Rose, John B jbr...@utk.edu wrote:

  Hey

  We had some long directory names being truncated and got it corrected
 using

  *IndexOptions FancyIndexing NameWidth=**

  based on example found searching the web.

  I was looking around in the Apache documentation for more info on
 FancyIndexing but either I am overlooking it or there isn't much. When I
 clicked on FancyIndexing link I got this …

  FancyIndexing This turns on fancy indexing of directories.

  And it isn't listed in the Directives list …

  http://httpd.apache.org/docs/2.4/mod/directives.html

  From what I found it seems to only have impact of making it able to sort
 based on column header chosen.

  However, when we tried only …

  IndexOptions NameWidth=*

  It did not work until we added FancyIndexing

  Why?

  No big deal, just curious.

  http://httpd.apache.org/docs/2.4/mod/mod_autoindex.html#indexoptions

  Thanks






Re: [users@httpd] enabling htaccess in vhosts

2014-09-08 Thread Rich Bowen


On 09/06/2014 10:35 AM, Matthew Smith wrote:

is this correct?  I am not getting the desired behaviour...

DocumentRoot C:/wwwroot

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the default to be a very restrictive set of
# features.
#
Directory /
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
/Directory


No, that is *not* correct.

You want AllowOverride None in Directory /

What you're looking for is

Directory C:/wwwroot
AllowOverride All
/Directory

Better yet, put your directives directly into that Directory block and 
don't use .htaccess files at all.


--Rich




On Sat, Sep 6, 2014 at 4:19 AM, Pete Houston p...@openstrike.co.uk 
mailto:p...@openstrike.co.uk wrote:


No need for Google, just go straight to the source:
http://httpd.apache.org/docs/2.4/howto/htaccess.html

Pete

On Fri, Sep 05, 2014 at 07:53:07PM -0600, Matthew Smith wrote:
 How do I do so?  I googled but can't figure it out.

--
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107




--
Regards,
chedder is bedder



--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



Re: [users@httpd] Issue on Redirection in Apache

2014-09-04 Thread Rich Bowen


On 09/04/2014 04:25 AM, ayaskanta.praha...@wipro.com wrote:


Hi,

My apache is successfully configured with invoking 
http://192.168.17.165:/cs http://192.168.17.165:/cs website


My redirection case :

1) Whenever the URL: http://192.168.17.165:/cs/ is invoked (After 
'/cs/' there would be nothing) it would be changed to 
http://192.168.17.165:/cs/idcplg?IdcService=GET_DOC_PAGEAction=GetTemplatePagePage=HOME_PAGEAuth=Internet


i.e. http://192.168.17.165:/cs changes to 
http://192.168.17.165:/cs/idcplg?IdcService=GET_DOC_PAGEAction=GetTemplatePagePage=HOME_PAGEAuth=Internet


2) But whetever the same URL is invoked with something after '/cs/' it 
would remain same.


i.e. http://192.168.17.165:/cs/index.html changes to 
http://192.168.17.165:/cs/index.html


For this i have done the follwoing configuration in httpd.conf but it 
does not work.Please help.


{

RewriteEngine On
RewriteRule http://192.168.17.165:/cs/ 
http://192.168.17.165:/cs/idcplg?IdcService=GET_DOC_PAGEAction=GetTemplatePagePage=HOME_PAGEAuth=Internet 
[R]
RewriteRule http://192.168.17.165:/cs 
http://192.168.17.165:/cs/idcplg?IdcService=GET_DOC_PAGEAction=GetTemplatePagePage=HOME_PAGEAuth=Internet 
[R]

}


So, there's a couple of problems with this.

1) The first argument to RewriteRule is a regular expression - so, a 
substring match, not a complete string equality.
2) The first argument to RewriteRule matches the URI starting after the 
hostname


So you want something more like:

RewriteRule ^/cs/?$ 
http://192.168.17.165:/cs/idcplg?IdcService=GET_DOC_PAGEAction=GetTemplatePagePage=HOME_PAGEAuth=Internet 
[R,L]


That should do it.

^/cs/?$ means starts with /cs, with optionally a slash after that, and 
then ends ($ indicates the end of a string match)


--Rich



--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



Re: [users@httpd] combining conflicting rewrite rules

2014-09-04 Thread Rich Bowen


On 09/04/2014 04:35 PM, Wei-min Lee wrote:


1 - all requests for .html?$, .aspx?$, etc, should be rewritten as $1.page
2 - exclude /folderx/(.*)\.html?$ from rule 1


That's what RewriteCond is for

RewriteCond %{REQUEST_URI} !^/folderx/(.*)\.html?$
RewriteRule Goes Here

A RewriteCond (or N RewriteConds) apply to the 1 RewriteRule following.

http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond

--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



Re: [users@httpd] Rewritemap External Rewriting Program

2014-09-03 Thread Rich Bowen


On 08/19/2014 10:39 AM, Rose, John B wrote:
Any experienced users of the external program prg mechanism  of 
Rewritemap who use a compiled binary file as opposed to interpreted 
language?


Is there an appreciable performance difference on a high volume site, 
even when the program is simple? Such as the *dash2under.pl *example 
on the Apache documentation page?


Or if the script has a single line executing a getent


Using prg on a high-volume site is discouraged, as all requests will be 
fed through a single instance of the prg, creating a significant 
bottleneck. The dash2under.pl example is just that - an example - and 
there are better ways to accomplish what it does ... as there are, 
usually, better ways to accomplish things that prg can be used for.


Consider mod_lua as an alternative way to do rewritemap-ish things

--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



[users@httpd] Apache httpd at ApacheCon Europe (November 17-21)

2014-08-28 Thread Rich Bowen

Apache httpd enthusiasts,

As you may be aware by now, ApacheCon Europe will be held in Budapest, 
November 17-21, and we'd love to see you there.


I did a little writeup of my own presentations at 
http://drbacchus.com/apache-httpd-at-apachecon-budapest and there's a 
full day of httpd and httpd-related content at the conference.


Relevant links:

* ApacheCon website - http://apachecon.eu
* ApacheCon Schedule - http://apacheconeu2014.sched.org/
* Register - 
http://events.linuxfoundation.org//events/apachecon-europe/attend/register


In addition to the httpd content, there's three full days of content 
related to many of the Apache Software Foundation projects. There will 
also be awesome parties given by our various sponsors, and great evening 
events like the traditional Lightning Talks, the Apache Jam Sessions, 
and the welcome reception and booth crawl, featuring the produce of 
various local breweries.


ApacheCon is the very best place to find out what's happening in the 
broader Apache Software Foundation, as well as the place to meet the 
people that work on the Apache http server, and the Hackathon is a great 
place to get involved yourself.


We hope to see you there!

--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon


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



Re: [users@httpd] Re: Rewrite and automount question

2014-08-08 Thread Rich Bowen


On 08/08/2014 11:59 AM, Rose, John B wrote:
mod_userdir does not seem to cause superfluous automounter attempts 
when an http request to a non-existent web address, 
http://website.com/~someuser, is received


Is there some way to implement that mechanism with 
http://website.com/someuser http requests for a nonexistent someuser?


What's automounter? Is that some process that mounts a user's home 
directory on a remote share or something?


I suppose you could query a list of valid users on server startup, and 
use that (via mod_macro or something?) to generate a list of Alias 
directives? Or possibly use a RewriteMap to do the same thing based on a 
list of users, although RewriteMap can be a bit of a performance bottleneck.


--Rich




From: Rose, John Rose jbr...@utk.edu mailto:jbr...@utk.edu
Date: Friday, August 8, 2014 9:51 AM
To: users@httpd.apache.org mailto:users@httpd.apache.org 
users@httpd.apache.org mailto:users@httpd.apache.org

Subject: Rewrite and automount question

We have experimented with using Rewrite to replace /~someuser with 
/someuser


However there is a problem with systems using automounter in the case 
of an http request for a non-existing http://someserver.com/someuser


Anyone have a way to implement the above without doing undesired 
automount attempts of a non-existent someuser?


Thanks




--
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon



  1   2   3   >