Re: [users@httpd] How to Proxy and Rewrite URLs and responses with multiple instances to replace in URL

2014-09-15 Thread mmccar...@tribloom.com
I actually found a solution myself. I'm sure it is not very efficient but it seems to work. My solution is to force a redirect when using the [N] flag: RewriteRule ^/(.*)logstash-([0-9]+.[0-9]+.[0-9]+)(.*)$ /$1logstash-%{LA-U:REMOTE_USER}-$2$3 [N,R] This avoids the subrequest problem with th

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
This might be better on a cPanel forum, since it seems that Apache is working as expected. If you have access to WHM, you could modify /var/cpanel/templates/apache2_4/vhost.default to remove the "SSILegacyExprParser On" and rebuild your config (/usr/local/cpanel/bin/build_apache_conf). - Y On Mon

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Simen Mangseth
I’ve copied that code into .htaccess (with the sitename change, of course), but it doesn’t appear to have an effect. Maybe you could use the live sites to find out if there’s anything wrong with them? http://dd.no/404.shtml http://dans.no/404.shtml http://ddcountry.no/404.shtml http://gullsk

[users@httpd] How to Proxy and Rewrite URLs and responses with multiple instances to replace in URL

2014-09-15 Thread mmccar...@tribloom.com
Hello. I have been attempting to restrict access to Kibana/ElasticSearch using Apache 2.4. Kibana, ElasticSearch, and Apache are all on the same server. Kibana is on port 9292, ElasticSearch is on port 9200, Apache is on 80. My approach has been to proxy request through Apache and rewrite UR

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
Except for the one "$side = ddcountry" which you missed converting... On Mon, Sep 15, 2014 at 12:03 PM, Yehuda Katz wrote: > EasyApache is the cPanel program that builds the Apache (and PHP) binaries > and config files, so if you use cPanel, you use EasyApache. > > I looked on my cPanel server a

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Yehuda Katz
EasyApache is the cPanel program that builds the Apache (and PHP) binaries and config files, so if you use cPanel, you use EasyApache. I looked on my cPanel server and found this directive: SSILegacyExprParser On You should be able to put SSILegacyExprParser Off in your .htacc

Re: [users@httpd] SSI / .shtml expressions /

2014-09-15 Thread Simen Mangseth
To take the good news first, I changed it to the echo element, and the encoding now works. Thanks. However, the expressions still refuses to work. I’m thinking maybe I already have the legacy filter on, because I read here that cPanel puts on that setting if you’re using EasyApache. I don’t kn

Re: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Hajo Locke
Hello, Am 15.09.2014 um 13:51 schrieb Eric Covener: On Mon, Sep 15, 2014 at 5:30 AM, Hajo Locke wrote: If i request this file by wget from the same machine, all is looking fine and readable. If i request this file from a other machine, then file seems to be corrupted. response-header and files

Re: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Hajo Locke
Hello, Am 15.09.2014 um 13:51 schrieb Eric Covener: On Mon, Sep 15, 2014 at 5:30 AM, Hajo Locke wrote: If i request this file by wget from the same machine, all is looking fine and readable. If i request this file from a other machine, then file seems to be corrupted. response-header and files

Re: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Eric Covener
On Mon, Sep 15, 2014 at 5:30 AM, Hajo Locke wrote: > If i request this file by wget from the same machine, all is looking fine > and readable. > If i request this file from a other machine, then file seems to be > corrupted. response-header and filesize are still ok. file contents looks > like i w

AW: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Fiedler Roman
> Von: Hajo Locke [mailto:hajo.lo...@gmx.de] > > Hello, > > Am 15.09.2014 um 11:57 schrieb Fiedler Roman: > > Hi, > > > >> Von: Hajo Locke [mailto:hajo.lo...@gmx.de] > >> > >> Hello, > >> > >> one of my machines i upgraded tu ubuntu 14.04 32bit. > >> there is a apache 2.2.27 running on it (non ubun

Re: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Hajo Locke
Hello, Am 15.09.2014 um 11:57 schrieb Fiedler Roman: Hi, Von: Hajo Locke [mailto:hajo.lo...@gmx.de] Hello, one of my machines i upgraded tu ubuntu 14.04 32bit. there is a apache 2.2.27 running on it (non ubuntu-repo). i have a textfile which is 512byte long, it contains just some chars, just

Re: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Pankaj Singh
There is no problem with the file size, you can keep the size as it is without reducing it. Transfer the file via wget using the ASCII mode. It will download the file without any corruptions. Thanks Pankaj Singh On Mon, Sep 15, 2014 at 3:27 PM, Fiedler Roman wrote: > Hi, > > > Von: Hajo L

AW: [users@httpd] strange 32bit apache-problem

2014-09-15 Thread Fiedler Roman
Hi, > Von: Hajo Locke [mailto:hajo.lo...@gmx.de] > > Hello, > > one of my machines i upgraded tu ubuntu 14.04 32bit. > there is a apache 2.2.27 running on it (non ubuntu-repo). > i have a textfile which is 512byte long, it contains just some chars, > just one long line with a linebreak at the end.

[users@httpd] strange 32bit apache-problem

2014-09-15 Thread Hajo Locke
Hello, one of my machines i upgraded tu ubuntu 14.04 32bit. there is a apache 2.2.27 running on it (non ubuntu-repo). i have a textfile which is 512byte long, it contains just some chars, just one long line with a linebreak at the end. If i request this file by wget from the same machine, all