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

2014-10-05 Thread Edgar Pettijohn
The only other thing I can think to try is to make the changes within a block in the main config and not use the .htaccess file and see if you get the same errors. On 10/05/2014 07:32 AM, Volkan Gezer wrote: > 2014-10-05 5:07 GMT+02:00 Edgar Pettijohn : >> Just looked at your httpd.conf and it sh

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

2014-10-05 Thread Volkan Gezer
2014-10-05 5:07 GMT+02:00 Edgar Pettijohn : > Just looked at your httpd.conf and it shows you have these modules > loaded. This is odd. > On 10/04/2014 10:03 PM, Edgar Pettijohn wrote: >> SetEnvIfNoCase needs mod_setenvif >> DirectoryIndex needs mod_dir >> Yes, I have these modules loaded. Just t

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

2014-10-04 Thread Edgar Pettijohn
Just looked at your httpd.conf and it shows you have these modules loaded. This is odd. On 10/04/2014 10:03 PM, Edgar Pettijohn wrote: > SetEnvIfNoCase needs mod_setenvif > DirectoryIndex needs mod_dir > > On 10/04/2014 09:18 PM, Volkan Gezer wrote: >> Thank you for following. I removed all IfModu

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

2014-10-04 Thread Edgar Pettijohn
SetEnvIfNoCase needs mod_setenvif DirectoryIndex needs mod_dir On 10/04/2014 09:18 PM, Volkan Gezer wrote: > Thank you for following. I removed all IfModule directives now I am receiving: > > /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', > perhaps misspelled or defined by a modul

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

2014-10-04 Thread Yehuda Katz
That means that the modules that supply those directives are not loaded. On Sat, Oct 4, 2014 at 10:18 PM, Volkan Gezer wrote: > /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', > perhaps misspelled or defined by a module not included in the server > configuration > SetEnvIfNoCase

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

2014-10-04 Thread Volkan Gezer
Thank you for following. I removed all IfModule directives now I am receiving: /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration error. Removing this line also gives: /srv/http/owncloud/.htaccess: I

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

2014-10-04 Thread Edgar Pettijohn
Try without any directives. As long as you always plan to start apache with those modules loaded there shouldn't be an issue. On 10/03/2014 11:44 AM, Edgar Pettijohn wrote: > Try leaving off the ".c" so mod_headers.c becomes mod_headers and so > on. Double check that the path is correct also. >

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] .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