You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ashwin Basagouda Patil <as...@robosoftin.com> on 2008/04/10 14:36:42 UTC

[users@httpd] Fwd: Re:Invalid command

Dear All, &Krest 

Still I am getting the same problem, I recompiled the apache 2.2.8 with the 
bellow mentioned options. 




# cd httpd-2.2.8
	
  # ./configure --prefix=/usr/local/apache2 --enable-v4-mapped --enable-
modules=all --
enable-mods-shared=all --enable-authnz-ladp --enable-ldap --enable-version -
-enable-ssl --enable-http --enable-dav --enable-vhost-alias --enable-
imagemap --enable-speling --enable-so --with-ssl=/usr/local/openssl --with-
mpm=worker  --with-ldap --without-berkeley-db

#  make

#  sudo make install



MY HOST FILE IS 
####################### ACME@robosoft.co.in 
########################################################
<VirtualHost *:443>
        ServerName ACME.robosoft.co.in
        ServerAdmin netamin@robosoftin.com
        DocumentRoot  /SecureBackup/Subversion
<Location /svn/>
        DAV svn
        SVNPath /SecureBackup/Subversion/ACME
        SVNAutoversioning on

        Order deny,allow
        Allow from all

        AuthType Basic
      	AuthBasicProvider ldap
      	AuthName "Robosoft Technologies Pvt Ltd"
      
	AuthLDAPURL "ldaps://roboserver.robosoft.co.in/cn=users,dc=RoboServe
r?cn"
      	AuthLDAPGroupAttribute memberUid
      	AuthLDAPGroupAttributeIsDN off
      	Require ldap-group  
      	cn=netadmin,cn=groups,dc=RoboServer?cn"
</Location>
</VirtualHost>

####################### test@robosoft.co.in 
########################################################
<VirtualHost *:443>
        ServerName test.robosoft.co.in
        ServerAdmin netamin@robosoftin.com
        DocumentRoot  /SecureBackup/Subversion
<Location /svn/>
        DAV svn
        SVNPath /SecureBackup/Subversion/test
        SVNAutoversioning on

        Order deny,allow
        Allow from all

        AuthType Basic
      	AuthBasicProvider ldap
      	AuthName "Robosoft Technologies Pvt Ltd"
      
	AuthLDAPURL "ldaps://roboserver.robosoft.co.in/cn=users,dc=RoboServe
r?cn"
      	AuthLDAPGroupAttribute memberUid
      	AuthLDAPGroupAttributeIsDN off
      	Require ldap-group  
      	cn=netadmin,cn=groups,dc=RoboServer?cn"
</Location>
</VirtualHost>
############################################################################
############################

Error when I start the apache2 is 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
RecoveryServer:~ root# /usr/local/apache2/bin/apachectl start
Warning: 
Syntax error on line 18 of /usr/local/apache2/conf/extra/httpd-vhosts.conf:
Invalid command 'AuthLDAPURL', perhaps misspelled or defined by a module 
not included in the 
server configuration
****************************************************************************
*******************

PLEASE SUGGEST ME WHAT I SUPPOSE TO USE THE IN THE VHOST FILE TO WORK THIS 
FINE. 


THANKS
aSHWIN



-----Original Message-----
From: "Ashwin  Basagouda Patil" <as...@robosoftin.com>
To: users@httpd.apache.org
Date: Tue, 08 Apr 2008 12:32:40 +0530
Subject: Re: [users@httpd] Invalid command

Thanks Krist, I will be in touch with you If any issues.

Ashwin 

-----Original Message-----
From: "Krist van Besien" <kr...@gmail.com>
To: users@httpd.apache.org
Date: Tue, 8 Apr 2008 08:30:05 +0200
Subject: Re: [users@httpd] Invalid command

> On Tue, Apr 8, 2008 at 4:30 AM, Ashwin  Basagouda Patil
> <as...@robosoftin.com> wrote:
> >  PLEASE NOTE THAT THE SAME CONFIGURATION WAS WORKING FOR THE APACHE
> 2.0.56 AND SVN
> >  1.4.3
> >
> >  BUT NOW CONFIGURED WITH THE APACHE 2.2.8 AND SVN 1.4.6 AND IT IS NOT
> WORKING.
> 
> Note also that a config that worked for 2.0.x will not work for 2.2.x.
> 
> See: http://httpd.apache.org/docs/2.2/upgrading.html
> 
> Krist
> 
> -- 
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
> 
> ---------------------------------------------------------------------
> 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
> 


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not
an intended recipient, please notify the sender and delete all copies.
Emails to and from our network may be logged and monitored. This email and
its attachments are scanned for virus by our scanners and are believed to
be safe. However, no warranty is given that this email is free of malicious
content or virus.



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




-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.



---------------------------------------------------------------------
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] Fwd: Re:Invalid command

Posted by "Neil A. Hillard" <ne...@agustawestland.com>.
Hi,

Ashwin Basagouda Patil wrote:
> Dear All, &Krest 
> 
> Still I am getting the same problem, I recompiled the apache 2.2.8 with the 
> bellow mentioned options. 
> 
> # cd httpd-2.2.8
> 	
>   # ./configure --prefix=/usr/local/apache2 --enable-v4-mapped --enable-
> modules=all --
> enable-mods-shared=all --enable-authnz-ladp --enable-ldap --enable-version -
> -enable-ssl --enable-http --enable-dav --enable-vhost-alias --enable-
> imagemap --enable-speling --enable-so --with-ssl=/usr/local/openssl --with-
> mpm=worker  --with-ldap --without-berkeley-db
> 
> #  make
> 
> #  sudo make install
> 
> 
> 
> MY HOST FILE IS 
<snip>
> Error when I start the apache2 is 
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> RecoveryServer:~ root# /usr/local/apache2/bin/apachectl start
> Warning: 
> Syntax error on line 18 of /usr/local/apache2/conf/extra/httpd-vhosts.conf:
> Invalid command 'AuthLDAPURL', perhaps misspelled or defined by a module 
> not included in the 
> server configuration
> ****************************************************************************
> *******************
> 
> PLEASE SUGGEST ME WHAT I SUPPOSE TO USE THE IN THE VHOST FILE TO WORK THIS 
> FINE. 

Are you sure that you are loading mod_ldap?

HTH,


				Neil.

> -----Original Message-----
> From: "Ashwin  Basagouda Patil" <as...@robosoftin.com>
> To: users@httpd.apache.org
> Date: Tue, 08 Apr 2008 12:32:40 +0530
> Subject: Re: [users@httpd] Invalid command
> 
> Thanks Krist, I will be in touch with you If any issues.
> 
> Ashwin 
> 
> -----Original Message-----
> From: "Krist van Besien" <kr...@gmail.com>
> To: users@httpd.apache.org
> Date: Tue, 8 Apr 2008 08:30:05 +0200
> Subject: Re: [users@httpd] Invalid command
> 
>> On Tue, Apr 8, 2008 at 4:30 AM, Ashwin  Basagouda Patil
>> <as...@robosoftin.com> wrote:
>>>  PLEASE NOTE THAT THE SAME CONFIGURATION WAS WORKING FOR THE APACHE
>> 2.0.56 AND SVN
>>>  1.4.3
>>>
>>>  BUT NOW CONFIGURED WITH THE APACHE 2.2.8 AND SVN 1.4.6 AND IT IS NOT
>> WORKING.
>>
>> Note also that a config that worked for 2.0.x will not work for 2.2.x.
>>
>> See: http://httpd.apache.org/docs/2.2/upgrading.html
>>
>> Krist
>>
>> -- 
>> krist.vanbesien@gmail.com
>> krist@vanbesien.org
>> Bremgarten b. Bern, Switzerland
>> --
>> A: It reverses the normal flow of conversation.
>> Q: What's wrong with top-posting?
>> A: Top-posting.
>> Q: What's the biggest scourge on plain text email discussions?
>>
>> ---------------------------------------------------------------------
>> 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
>>
> 
> 
> -----------------------------------------------
> Robosoft Technologies - Come home to Technology
> 
> Disclaimer: This email may contain confidential material. If you were not
> an intended recipient, please notify the sender and delete all copies.
> Emails to and from our network may be logged and monitored. This email and
> its attachments are scanned for virus by our scanners and are believed to
> be safe. However, no warranty is given that this email is free of malicious
> content or virus.
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
> 
> -----------------------------------------------
> Robosoft Technologies - Come home to Technology
> 
> Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
> 
> 
> 
> ---------------------------------------------------------------------
> 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


-- 
Neil Hillard                    neil.hillard@agustawestland.com
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
             views of Westland Helicopters Ltd.

---------------------------------------------------------------------
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] Fwd: Re:Invalid command

Posted by "Neil A. Hillard" <ne...@agustawestland.com>.
Hi,

Davide Bianchi wrote:
> Ashwin Basagouda Patil wrote:
>>   # ./configure --prefix=/usr/local/apache2 --enable-v4-mapped --enable-
>> modules=all --
>> enable-mods-shared=all --enable-authnz-ladp --enable-ldap 
>> --enable-version -
>> -enable-ssl --enable-http --enable-dav --enable-vhost-alias --enable-
>> imagemap --enable-speling --enable-so --with-ssl=/usr/local/openssl 
>> --with-
>> mpm=worker  --with-ldap --without-berkeley-db
> 
>>     AuthLDAPURL "ldaps://roboserver.robosoft.co.in/cn=users,dc=RoboServe
> 
>  > Syntax error on line 18 of
>  > /usr/local/apache2/conf/extra/httpd-vhosts.conf:
>  > Invalid command 'AuthLDAPURL', perhaps misspelled or defined by a
>  > module not included in the server configuration
> 
> AuthLDAPURL should be for mod_auth_ldap, but that module doesn't appear 
> in your list of modules. Maybe you mistyped the configure line?

This should be mod_authnz_ldap which is of course what I meant to say in 
my previous post (not mod_ldap).


				Neil.

-- 
Neil Hillard                    neil.hillard@agustawestland.com
AgustaWestland                  http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
             views of Westland Helicopters Ltd.

---------------------------------------------------------------------
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] Fwd: Re:Invalid command

Posted by Davide Bianchi <da...@onlyforfun.net>.
Ashwin Basagouda Patil wrote:
>   # ./configure --prefix=/usr/local/apache2 --enable-v4-mapped --enable-
> modules=all --
> enable-mods-shared=all --enable-authnz-ladp --enable-ldap --enable-version -
> -enable-ssl --enable-http --enable-dav --enable-vhost-alias --enable-
> imagemap --enable-speling --enable-so --with-ssl=/usr/local/openssl --with-
> mpm=worker  --with-ldap --without-berkeley-db

> 	AuthLDAPURL "ldaps://roboserver.robosoft.co.in/cn=users,dc=RoboServe

 > Syntax error on line 18 of
 > /usr/local/apache2/conf/extra/httpd-vhosts.conf:
 > Invalid command 'AuthLDAPURL', perhaps misspelled or defined by a
 > module not included in the server configuration

AuthLDAPURL should be for mod_auth_ldap, but that module doesn't appear 
in your list of modules. Maybe you mistyped the configure line?

Davide

-- 
I'm not a programmer, but I play one at Microsoft.
    -- From a Slashdot.org post

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