Re: [users@httpd] .htaccess 500 error with invalid command '

2014-10-03 Thread Volkan Gezer
Thank you for the answer. I removed all .c extensions from the modules. Also, replaced the names with their directives, but no success. The modules are installed into /etc/httpd/modules which is also correct in configuration. Can we somehow see which line causes the problem? I have removed all ta

Re: [users@httpd] Will these rewrite rules do what I expect?

2014-10-03 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/01/2014 04:30 AM, Eric Covener wrote: > > ​The REQUEST_URI doesn't contain a hostname​. Just the path > component of the URL. > Having *.massamio.com point to the one IP address then: RewriteEngine on RewriteCond %{HTTP_HOST} =info.massamio.co

RE: [users@httpd] Odd? mod_rewrite behavior

2014-10-03 Thread Lesley Kimmel
Thanks for that lead. These rules ARE in a 'Directory' block so this is the case. It looks like I can resolve this by placing a 'catch-all' after the first 'xyz-static-content' rewrite: RewriteRule ^xyz-static-content_[A-Z0-9a-z._-]+/(.*)$ xyz-static-content/$1 RewriteRule ^xyz-static-content -

Re: [users@httpd] Odd? mod_rewrite behavior

2014-10-03 Thread Eric Covener
On Fri, Oct 3, 2014 at 1:31 PM, Lesley Kimmel wrote: > It seems that even the 'xyz-static-content' requests are falling through > to, and matching, the proxy statement despite the 'L|Last' flag. Can anyone > explain this behavior? I'm trying to use the second set of rules to avoid > having to rew

[users@httpd] Odd? mod_rewrite behavior

2014-10-03 Thread Lesley Kimmel
All; I have an application being proxied through Apache which is also serving some static content for the web application. The application is '/xyz(.*)' and the static content is '/xyz-static-content'. The requests for the static content come in as '/xyz_' and have to be rewritten to '/xyz-stat

Re: [users@httpd] .htaccess 500 error with invalid command '

2014-10-03 Thread Edgar Pettijohn
Try leaving off the ".c" so mod_headers.c becomes mod_headers and so on. Double check that the path is correct also. On 10/03/2014 08:36 AM, Volkan Gezer wrote: > I am using Arch linux and trying to set up development environment of > ownCloud and I am receiving a 500 error: > > [Wed Oct 01 01:17

[users@httpd] .htaccess 500 error with invalid command '

2014-10-03 Thread Volkan Gezer
I am using Arch linux and trying to set up development environment of ownCloud and I am receiving a 500 error: [Wed Oct 01 01:17:50.901758 2014] [core:alert] [pid 32084] [client ::1:44681] /srv/http/owncloud/.htaccess: Invalid command ' SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 Req

Re: [users@httpd] Can a server be a member of more than one balancer group?

2014-10-03 Thread Daniel
Why should it five any problems? As long as you point correctly to the specific balancer group in your proxypass directives everything should be ok. El 03/10/2014 03:33, "Esmond Pitt" escribió: > I have a situation where I may have to do some context-dependent > balancer routing. > > I presently