You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nick Riesland <ni...@revolutionanalytics.com> on 2011/10/31 15:28:19 UTC

[users@httpd] Apache startup error

Hello,

I'm getting this error in the Event Viewer when I try to start Apache2.2

 *+* *System*
     *-* *Provider*
   [ *Name*] Apache Service
     *-* *EventID* 3299
   [ *Qualifiers*] 0
     *Level* 2      *Task* 0      *Keywords* 0x80000000000000     *-* *
TimeCreated*
   [ *SystemTime*] 2011-10-31T14:09:18.000000000Z
     *EventRecordID* 945      *Channel* Application      *Computer*
win-2008-64-2-0      *Security*
  *-* *EventData*



The Apache service named






reported the following error: >>>


Syntax error on line 47 of C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/conf/extra/httpd-dav.conf:

Line 47 is in Red in the following snippet.    Allow from
127.0.0.0/255.0.0.0 ::1/128

<Directory "C:/deployr/repository">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
#    Allow from all        this works but leaves a huge security hole
    Allow from 127.0.0.0/255.0.0.0 ::1/128
    AuthType Basic
    AuthName "DeployR File Repository"
    AuthUserFile "C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/user.passwd"

        <LimitExcept GET OPTIONS>
                Require user deployr
        </LimitExcept>

    </Directory>

Windows version:  Windows Server 2008 R2 Enterprise
Apache version:     2.2

Any help would be greatly appreciated.

Thanks

Nick Riesland

Re: [users@httpd] Apache startup error

Posted by Sander Temme <sc...@apache.org>.
On Oct 31, 2011, at 7:28 AM, Nick Riesland wrote:

>     Allow from 127.0.0.0/255.0.0.0 ::1/128

What if you split that across two Allow from statements? 

S.

-- 
sctemme@apache.org            http://www.temme.net/sander/
PGP FP: FC5A 6FC6 2E25 2DFD 8007  EE23 9BB8 63B0 F51B B88A

View my availability: http://tungle.me/sctemme



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache startup error

Posted by Bostjan Skufca <bo...@a2o.si>.
Does your server support IPv6? Try removing the ::1/128 part.

b.


On 31 October 2011 15:28, Nick Riesland <ni...@revolutionanalytics.com>wrote:

> Hello,
>
> I'm getting this error in the Event Viewer when I try to start Apache2.2
>
>  *+* *System*
>      *-* *Provider*
>    [ *Name*] Apache Service
>      *-* *EventID* 3299
>    [ *Qualifiers*] 0
>      *Level* 2      *Task* 0      *Keywords* 0x80000000000000     *-* *
> TimeCreated*
>    [ *SystemTime*] 2011-10-31T14:09:18.000000000Z
>      *EventRecordID* 945      *Channel* Application      *Computer*
> win-2008-64-2-0      *Security*
>   *-* *EventData*
>
>
>
> The Apache service named
>
>
>
>
>
>
> reported the following error: >>>
>
>
> Syntax error on line 47 of C:/Program Files (x86)/Apache Software
> Foundation/Apache2.2/conf/extra/httpd-dav.conf:
>
> Line 47 is in Red in the following snippet.    Allow from
> 127.0.0.0/255.0.0.0 ::1/128
>
> <Directory "C:/deployr/repository">
>     Options Indexes FollowSymLinks MultiViews
>     AllowOverride None
>     Order allow,deny
> #    Allow from all        this works but leaves a huge security hole
>     Allow from 127.0.0.0/255.0.0.0 ::1/128
>     AuthType Basic
>     AuthName "DeployR File Repository"
>     AuthUserFile "C:/Program Files (x86)/Apache Software
> Foundation/Apache2.2/user.passwd"
>
>         <LimitExcept GET OPTIONS>
>                 Require user deployr
>         </LimitExcept>
>
>     </Directory>
>
> Windows version:  Windows Server 2008 R2 Enterprise
> Apache version:     2.2
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Nick Riesland
>