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

2014-10-04 Thread Edgar Pettijohn
Try without any IfModule 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

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

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

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:

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

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 vlkn...@gmail.com wrote: /srv/http/owncloud/.htaccess: Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration

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

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 module

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

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 IfModule