[users@httpd] Re: Retry connection to reverse proxy backend

2018-02-13 Thread @lbutlr
On 13 Feb 2018, at 13:35, Yves Goergen  wrote:
> Moving to modern and usable web platforms next time

Web platforms also require registration and such. They are also much lower to 
access and invariably have much worse search as well.

True, you can probably search them via google, but the chances are you will 
also find a lot of crap as well.

I prefer mailing lists because I can access the data anywhere I am, even at the 
command-line and I find web boards to be universally awful.

On the other hand, sites like stackoverflow are generally easier to find 
general answers that a specific mailing list, so there’s that.

-- 
Growing up leads to growing old, and then to dying/And dying to me don't
sound like all that much fun.


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



[users@httpd] Re: "apachectl -S" and DocumentRoot

2018-02-13 Thread @lbutlr
On 13 Feb 2018, at 10:24, Rose, John B  wrote:
> is a nice command. We are looking for something that outputs the 
> "DocumentRoot" for all virtual hosts
> 

grep -ir documentroot /usr/local/etc/httpd/

(Or wherever your https.conf lives)

DocumentRoot "/usr/local/www/apache24/data"
   DocumentRoot /usr/local/www/roundcube/
   DocumentRoot /usr/local/www/postfixadmin
   DocumentRoot /usr/local/www/phpMyAdmin
   DocumentRoot "/usr/local/www/examle.com"
   DocumentRoot "/usr/local/www/apache24/data"
   DocumentRoot /usr/local/www/www.example.net/wordpress/
   DocumentRoot /usr/local/www/anotherexample.tld/
   DocumentRoot /usr/local/www/someone’s gallery.tld/html/
   DocumentRoot /usr/home/msmith/Sites/
… etc etc


-- 
"If you can't do something smart, do something right."


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



[users@httpd] Re: Setting up Apache 2.4 with Letsencrypt

2018-02-13 Thread @lbutlr
On 13 Feb 2018, at 06:43, Marat Khalili  wrote:
> But I just get a failed to load error and I don't see anything helpful in the 
> logs.
>> 
>> I tried removing the links in the apache24 folder and copying the .pem files 
>> (privkey.pem to ssl.key), but still get an unable to establish secure 
>> connection error.
> 
> You did not post exact errors,

I found nothing logged. All I get is the browser saying it couldn’t establish a 
secure connection. Nothing in /var/log/httpd-error.log

Thanks for the post, that got me most of the way there. I bypassed the 
httpd-ssl conf file entirely and just put this SSL enable and certificate paths 
directly into virtual host and it appears to be working.

Not sure what UserStapling requires, but enabling it cause apache to not 
startup, so I removed that line for now.


-- 
The night is always old. He'd walked too often down dark streets in the
secret hours and felt the night stretching away, and known in his blood
that while days and kings and empires come and go, the night is always
the same age, always aeons deep. Terrors unfolded in the velvet shadows
and while the nature of the talons may change, the nature of the beast
does not. --Jingo


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



Re: [users@httpd] Retry connection to reverse proxy backend

2018-02-13 Thread Yves Goergen
Alright, I get the point. Making the connection more stable isn't going 
to work or happen inside of Apache. So my question is probably answered, 
you can close this case. (Oh, no case management in place, just a bunch 
of comments.)


More off-topic: Mailing list defenders usually can't come up with 
advantages while I can easily name several disadvantages. Getting 
on-board is the hardest. Lists may be convenient for regulars, but are 
horror for occasional help-seekers. Registration and organising things 
to actually find the response takes too many steps and minutes. Sadly, 
nobody cares. It was good in the 80s, no need to change that. Of course 
I'm not deleting messages of my own thread, just all the others I have 
no use for. Moving to modern and usable web platforms next time... Just 
thought the official channel would know more on the topic.


Yves



Von: Yann Ylavic
Gesendet: Mo, 2018-02-12 10:47 +0100
On Mon, Feb 12, 2018 at 10:24 AM, Yves Goergen
 wrote:

One more of those unpractical mailing lists... (I'm already deleting 99% of
what I receive to ask a single question. This is more than the spam.)


One more of those users who think their issues should be resolved the
way they think...



Dropping packets is a very hard measure and will affect the entire web
server, not just that single site. So it's not possible at all.


Waiting in the proxy/server to retry connections after a delay is also
going to affect an entire proxy/server (with limited resources).
The proxy/server doesn't look like the right place to retain
connections, this is more a "network" job IMHO.
I'd DROP before the proxy during maintainance though, browers know if
they can reconnect and/or resend requests on failure, proxy don't.


Feel free to => delete ;)

Regards,
Yann.

-
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] upgrade or new install

2018-02-13 Thread renee ko
Thanks Daniel. I am experimenting with a new install of 2.4.29 on my lab
machine.

I am planing with same approach as yours.

On Tue, Feb 13, 2018 at 10:34 AM, Daniel  wrote:

> First you should visit this webpage for a description of most relevant
> things that change from 2.2 to 2.4:
> http://httpd.apache.org/docs/2.4/upgrading.html
>
> If I were you, and that's what I did with my first upgrade is to
> install a new httpd 2.4.x server in a test machine and adapt a
> pre-existing configuration to the new syntax. Not too many things
> change, but some module names and directives do, so it is good to test
> before doing it on production and such.
>
> 2018-02-13 17:27 GMT+01:00 renee ko :
> > All,
> >
> > Looking for best practice upgrade method from Apache 2.2.29 to Apache
> > 2.4.29.
> >
> > Should i perform an in place upgrade or install a new version of Apache
> > 2.4.29?
>
>
>
> --
> Daniel Ferradal
> IT Specialist
>
> email dferradal at gmail.com
> linkedin es.linkedin.com/in/danielferradal
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


[users@httpd] "apachectl -S" and DocumentRoot

2018-02-13 Thread Rose, John B
Hello


apachectl -S


is a nice command. We are looking for something that outputs the "DocumentRoot" 
for all virtual hosts


Is there some way to do that with a single command?


Thanks


Re: [users@httpd] upgrade or new install

2018-02-13 Thread Daniel
First you should visit this webpage for a description of most relevant
things that change from 2.2 to 2.4:
http://httpd.apache.org/docs/2.4/upgrading.html

If I were you, and that's what I did with my first upgrade is to
install a new httpd 2.4.x server in a test machine and adapt a
pre-existing configuration to the new syntax. Not too many things
change, but some module names and directives do, so it is good to test
before doing it on production and such.

2018-02-13 17:27 GMT+01:00 renee ko :
> All,
>
> Looking for best practice upgrade method from Apache 2.2.29 to Apache
> 2.4.29.
>
> Should i perform an in place upgrade or install a new version of Apache
> 2.4.29?



-- 
Daniel Ferradal
IT Specialist

email dferradal at gmail.com
linkedin es.linkedin.com/in/danielferradal

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



[users@httpd] upgrade or new install

2018-02-13 Thread renee ko
All,

Looking for best practice upgrade method from Apache 2.2.29 to Apache
2.4.29.

Should i perform an in place upgrade or install a new version of Apache
2.4.29?


Re: [users@httpd] Spurious access denied errors

2018-02-13 Thread Marat Khalili

On Sun, Feb 11, 2018 at 4:56 AM, Daniel  wrote:


The error may come from a subrequest, which is an internal feature
where a module like mod_dir might use to probe if some URL exists.


Thank you for the suggestion. I tried to disable mod_dir, fortunately 
mediawiki seem to work fine without it, but the error is still there. 
Allowing access to DocumentRoot of course solves the problem, but I'm 
still curious...


--

With Best Regards,
Marat Khalili


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



Re: [users@httpd] E-commerce Rewrite Rule

2018-02-13 Thread Rajib Karmakar
Hello,

Yes, I need  4 URL to mod_rewrite.

Sincerely
-
Rajib Karmakar

Creative Web Logo Technologies
Website: http://www.creativeweblogo.com
Mobile: +919874704940
Skype: creative.web.logo
© 2008-2018 Creative Web Logo Technologies.

On Tue, Feb 13, 2018 at 7:51 PM, Eric Covener  wrote:

> On Tue, Feb 13, 2018 at 8:57 AM, Rajib Karmakar
>  wrote:
> > Good morning Team,
> >
> >
> > Below 4 URL in my e-commerce, please guide me right rewriterule for it.
> >
> >
> >
> > 1. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
> > Catagory] / T-Shirts [Sub Sub Catagory] / White Shirt [product_id=15]
> >
> >
> > 2. domain.com / Mens[Main Catagory] / Shirts[Sub Catagory] / T-Shirts
> [Sub
> > Sub Catagory] / White Shirt [product_id=15]
> >
> >
> > 3. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
> > Catagory] / White Shirt [product_id=15]
> >
> >
> > 4. domain.com / contact-us
> >
>
> What's the question? What have you tried?  Normally a question about
> mod_rewrite would involve a "to" and "from" URL.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [users@httpd] E-commerce Rewrite Rule

2018-02-13 Thread Eric Covener
On Tue, Feb 13, 2018 at 8:57 AM, Rajib Karmakar
 wrote:
> Good morning Team,
>
>
> Below 4 URL in my e-commerce, please guide me right rewriterule for it.
>
>
>
> 1. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
> Catagory] / T-Shirts [Sub Sub Catagory] / White Shirt [product_id=15]
>
>
> 2. domain.com / Mens[Main Catagory] / Shirts[Sub Catagory] / T-Shirts [Sub
> Sub Catagory] / White Shirt [product_id=15]
>
>
> 3. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
> Catagory] / White Shirt [product_id=15]
>
>
> 4. domain.com / contact-us
>

What's the question? What have you tried?  Normally a question about
mod_rewrite would involve a "to" and "from" URL.

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



[users@httpd] E-commerce Rewrite Rule

2018-02-13 Thread Rajib Karmakar
 Good morning Team,


Below 4 URL in my e-commerce, please guide me right rewriterule for it.



1. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
Catagory] / T-Shirts [Sub Sub Catagory] / White Shirt [product_id=15]


2. domain.com / Mens[Main Catagory] / Shirts[Sub Catagory] / T-Shirts [Sub
Sub Catagory] / White Shirt [product_id=15]


3. domain.com / Clothing[Department] / Mens[Main Catagory] / Shirts[Sub
Catagory] / White Shirt [product_id=15]


4. domain.com / contact-us



Sincerely
-
Rajib Karmakar

Creative Web Logo Technologies
Website: http://www.creativeweblogo.com
Mobile: +919874704940
Skype: creative.web.logo
© 2008-2018 Creative Web Logo Technologies.


Re: [users@httpd] Setting up Apache 2.4 with Letsencrypt

2018-02-13 Thread Marat Khalili

But I just get a failed to load error and I don't see anything helpful in the 
logs.

I tried removing the links in the apache24 folder and copying the .pem files 
(privkey.pem to ssl.key), but still get an unable to establish secure 
connection error.


You did not post exact errors, but just in case the following works here:


    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/example.com/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt/live/example.com/chain.pem
    SSLUseStapling On


--

With Best Regards,
Marat Khalili


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