Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D21B517694 for ; Sun, 5 Oct 2014 03:08:31 +0000 (UTC) Received: (qmail 94617 invoked by uid 500); 5 Oct 2014 03:08:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94576 invoked by uid 500); 5 Oct 2014 03:08:28 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 94565 invoked by uid 99); 5 Oct 2014 03:08:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2014 03:08:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [50.59.65.11] (HELO pettijohn.localdomain) (50.59.65.11) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2014 03:08:24 +0000 Received: from [192.168.1.6] (unknown [50.59.65.11]) by pettijohn.localdomain (Postfix) with ESMTPSA id B4AAD2FC411 for ; Sat, 4 Oct 2014 22:08:02 -0500 (CDT) Message-ID: <5430B601.9030703@pettijohn.no-ip.biz> Date: Sat, 04 Oct 2014 22:07:45 -0500 From: Edgar Pettijohn User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: users@httpd.apache.org References: <542ED287.902@pettijohn.no-ip.biz> <54303E91.4020609@pettijohn.no-ip.biz> <5430B513.6080707@pettijohn.no-ip.biz> In-Reply-To: <5430B513.6080707@pettijohn.no-ip.biz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] .htaccess 500 error with invalid command ' 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 not included in the server >> configuration >> >> error. >> >> Removing this line also gives: >> >> /srv/http/owncloud/.htaccess: Invalid command 'DirectoryIndex', >> perhaps misspelled or defined by a module not included in the server >> configuration >> >> The current .htaccess file is: http://paste.kde.org/pkvjq3ct3 >> >> >> Best regards, >> Volkan GEZER >> volkangezer@gmail.com >> >> >> 2014-10-04 20:38 GMT+02:00 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. >>>> >>>> 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:50.901758 2014] [core:alert] [pid 32084] [client >>>>> ::1:44681] /srv/http/owncloud/.htaccess: Invalid command '>>>> perhaps misspelled or defined by a module not included in the server >>>>> configuration >>>>> >>>>> If I checked the .htaccess file, here are the first 10 lines: >>>>> >>>>> >>>>> >>>>> >>>>> SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1 >>>>> RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION >>>>> >>>>> >>>>> >>>>> >>>>> php_value upload_max_filesize 513M >>>>> >>>>> >>>>> I have the extra those modules enabled in my httpd.conf file: >>>>> >>>>> LoadModule setenvif_module modules/mod_setenvif.so >>>>> LoadModule headers_module modules/mod_headers.so >>>>> LoadModule fcgid_module modules/mod_fcgid.so >>>>> LoadModule php5_module modules/libphp5.so >>>>> >>>>> Any guide to solve the 500 error would be appreciated. The same >>>>> .htaccess file was working without any problems in my Ubuntu setup. >>>>> >>>>> The full files: >>>>> >>>>> httpd.conf: http://paste.kde.org/p0gqinrsr >>>>> owncloud .htaccess: http://paste.kde.org/p84wbouwy >>>>> php module.conf: http://paste.kde.org/pkalrmsvz >>>>> >>>>> Apache last line: Apache/2.4.10 (Unix) OpenSSL/1.0.1i PHP/5.6.0 mod_fcgid/2.3.9 >>>>> >>>>> >>>>> Best regards, >>>>> Volkan GEZER >>>>> volkangezer@gmail.com >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>>>> For additional commands, e-mail: users-help@httpd.apache.org >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>>> For additional commands, e-mail: users-help@httpd.apache.org >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>> For additional commands, e-mail: users-help@httpd.apache.org >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org