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] Will these rewrite rules do what I expect?

2014-10-04 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 10:33 PM, James Moe wrote: > I wish to have three rules 1. if URL = > http[s]://info.massamio.com/blog, redirect to > http://blog.sohnen-moe.com/ 2. if URL = > http[s]://info.massamio.com/resources, redirect to > http://blog.sohnen-moe.

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