.htaccess = .WWWaccess ?

.htaccess = .WWWaccess ?

am 05.12.2007 14:59:12 von Praki

Greetings All,

I m working with the CGI for authentication.

OS:SunOS 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-80
Server:Apache

I m trying to authenticate the website with CGI. i m using the
file .htaccess.AllowOverride All is set like this.but still i m not
getting autnticated.
but if i use .WWWaccess file i m getting authenticated.but i m not
able to check the user using ldap server.when i searched through
internet i could not get any details about the .WWWaccess file. can
any could help me i this.

File configuration.
bash-2.05b$ more .htaccess
AuthType Basic
AuthName Cisco-CEC
AuthUserFile /isaac/www/cgi-bin/pkolanda/authen/.htpasswd
AuthGroupFile /dev/null
Require valid-user

i used the same config to both the files.For the .WWWaccess is
authenticating but .htaccess is not. i want to check for user
validation in ldap server.
how can i proceed and what could be the problem?

thanks in advance
Prakash

Re: .htaccess = .WWWaccess ?

am 05.12.2007 15:12:07 von Davertron

On Dec 5, 8:59 am, Praki wrote:
> Greetings All,
>
> I m working with the CGI for authentication.
>
> OS:SunOS 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-80
> Server:Apache
>
> I m trying to authenticate the website with CGI. i m using the
> file .htaccess.AllowOverride All is set like this.but still i m not
> getting autnticated.
> but if i use .WWWaccess file i m getting authenticated.but i m not
> able to check the user using ldap server.when i searched through
> internet i could not get any details about the .WWWaccess file. can
> any could help me i this.
>
> File configuration.
> bash-2.05b$ more .htaccess
> AuthType Basic
> AuthName Cisco-CEC
> AuthUserFile /isaac/www/cgi-bin/pkolanda/authen/.htpasswd
> AuthGroupFile /dev/null
> Require valid-user
>
> i used the same config to both the files.For the .WWWaccess is
> authenticating but .htaccess is not. i want to check for user
> validation in ldap server.
> how can i proceed and what could be the problem?
>
> thanks in advance
> Prakash

Not sure here, but you should check your httpd.conf file and see what
the AccessFileName directive is set to. Typically it's set
to .htaccess, but you can set it to whatever you want. It may be the
case that your distro has set that to .WWWaccess for some reason.

Re: .htaccess = .WWWaccess ?

am 05.12.2007 15:27:40 von Praki

Hi Greetings,
Thanks, for your reply....
yes your right... AccessFileName is set to .WWWaccess. but it is set
in the following files.
srm.pl.conf
srm.conf
conf_today_srm.

It is not set anything in httpd.conf and in access.conf. when i grep
that file no results came out.ok any how if .WWWaccess is the file if
i have to work with then to validate with ldap server can i use the
same config as used in .htacesss?

thanks
Prakash




On Dec 5, 7:12 pm, Davertron wrote:
> On Dec 5, 8:59 am, Praki wrote:
>
>
>
> > Greetings All,
>
> > I m working with the CGI for authentication.
>
> > OS:SunOS 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-80
> > Server:Apache
>
> > I m trying to authenticate the website with CGI. i m using the
> > file .htaccess.AllowOverride All is set like this.but still i m not
> > getting autnticated.
> > but if i use .WWWaccess file i m getting authenticated.but i m not
> > able to check the user using ldap server.when i searched through
> > internet i could not get any details about the .WWWaccess file. can
> > any could help me i this.
> Not sure here, but you should check your httpd.conf file and see what
> the AccessFileName directive is set to. Typically it's set
> to .htaccess, but you can set it to whatever you want. It may be the
> case that your distro has set that to .WWWaccess for some reason.

Re: .htaccess = .WWWaccess ?

am 05.12.2007 15:43:05 von phantom

"Praki" wrote in message
news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.google groups.com...
> Hi Greetings,
> Thanks, for your reply....
> yes your right... AccessFileName is set to .WWWaccess.

> any how if .WWWaccess is the file if
> i have to work with then to validate with ldap server can i use the
> same config as used in .htacesss?

The name of the file may have changed, but it is still the same thing
-> anything you were trying in .htaccess willl work in .WWWaccess

Re: .htaccess = .WWWaccess ?

am 05.12.2007 15:46:07 von Praki

On Dec 5, 7:43 pm, "phantom" wrote:
> "Praki" wrote in message
>
> news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.google groups.com...
>
> > Hi Greetings,
> > Thanks, for your reply....
> > yes your right... AccessFileName is set to .WWWaccess.
>
> > any how if .WWWaccess is the file if
> > i have to work with then to validate with ldap server can i use the
> > same config as used in .htacesss?
>
> The name of the file may have changed, but it is still the same thing
> -> anything you were trying in .htaccess willl work in .WWWaccess

Hi Greetings,
Thank u very much....

i will try and get back when i face any problems..

thanks,
Prakash

Re: .htaccess = .WWWaccess ?

am 05.12.2007 19:12:23 von Praki

On Dec 5, 7:46 pm, Praki wrote:
> On Dec 5, 7:43 pm, "phantom" wrote:
>
> > "Praki" wrote in message
>
> >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > Hi Greetings,
> > > Thanks, for your reply....
> > > yes your right... AccessFileName is set to .WWWaccess.
> >
> > > any how if .WWWaccess is the file if
> > > i have to work with then to validate with ldap server can i use the
> > > same config as used in .htacesss?
>
> > The name of the file may have changed, but it is still the same thing
> > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> Hi Greetings,
> Thank u very much....
>
> i will try and get back when i face any problems..
>
> thanks,
> Prakash

Hi Greetings,

This my .WWWaccess file config...

AuthType Basic
AuthName Login-Auth
LDAP_Server ldap.abc.com
LDAP_Port 389
Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
UID_Attr uid
Require valid-user

I m getting the error.HTTP 500 - Internal server error is the error.
can i point where i m doing wrrong .. it would be of great help...

thanks,
Prakash

Re: .htaccess = .WWWaccess ?

am 05.12.2007 21:49:08 von Davertron

On Dec 5, 1:12 pm, Praki wrote:
> On Dec 5, 7:46 pm, Praki wrote:
>
>
>
> > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > "Praki" wrote in message
>
> > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > Hi Greetings,
> > > > Thanks, for your reply....
> > > > yes your right... AccessFileName is set to .WWWaccess.
> > >
> > > > any how if .WWWaccess is the file if
> > > > i have to work with then to validate with ldap server can i use the
> > > > same config as used in .htacesss?
>
> > > The name of the file may have changed, but it is still the same thing
> > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > Hi Greetings,
> > Thank u very much....
>
> > i will try and get back when i face any problems..
>
> > thanks,
> > Prakash
>
> Hi Greetings,
>
> This my .WWWaccess file config...
>
> AuthType Basic
> AuthName Login-Auth
> LDAP_Server ldap.abc.com
> LDAP_Port 389
> Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> UID_Attr uid
> Require valid-user
>
> I m getting the error.HTTP 500 - Internal server error is the error.
> can i point where i m doing wrrong .. it would be of great help...
>
> thanks,
> Prakash

Can you check the error log to see what the actual error is? That
would be more helpful.

Re: .htaccess = .WWWaccess ?

am 06.12.2007 06:03:28 von Praki

On Dec 6, 1:49 am, Davertron wrote:
> On Dec 5, 1:12 pm, Praki wrote:
>
>
>
> > On Dec 5, 7:46 pm, Praki wrote:
>
> > > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > > "Praki" wrote in message
>
> > > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > > Hi Greetings,
> > > > > Thanks, for your reply....
> > > > > yes your right... AccessFileName is set to .WWWaccess.
> > > >
> > > > > any how if .WWWaccess is the file if
> > > > > i have to work with then to validate with ldap server can i use the
> > > > > same config as used in .htacesss?
>
> > > > The name of the file may have changed, but it is still the same thing
> > > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > > Hi Greetings,
> > > Thank u very much....
>
> > > i will try and get back when i face any problems..
>
> > > thanks,
> > > Prakash
>
> > Hi Greetings,
>
> > This my .WWWaccess file config...
>
> > AuthType Basic
> > AuthName Login-Auth
> > LDAP_Server ldap.abc.com
> > LDAP_Port 389
> > Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> > UID_Attr uid
> > Require valid-user
>
> > I m getting the error.HTTP 500 - Internal server error is the error.
> > can i point where i m doing wrrong .. it would be of great help...
>
> > thanks,
> > Prakash
>
> Can you check the error log to see what the actual error is? That
> would be more helpful.

thanks for your reply really it was usefull

when i checked the log.. i m getting error in LDAP_Server. reason:
Invalid command AuthLDAPURL
i m using Server version Apache/1.2b8, Sun OS. is it supported in this
version?

thanks,
Prakash

Re: .htaccess = .WWWaccess ?

am 06.12.2007 09:30:42 von Praki

On Dec 6, 10:03 am, Praki wrote:
> On Dec 6, 1:49 am, Davertron wrote:
>
>
>
> > On Dec 5, 1:12 pm, Praki wrote:
>
> > > On Dec 5, 7:46 pm, Praki wrote:
>
> > > > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > > > "Praki" wrote in message
>
> > > > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > > > Hi Greetings,
> > > > > > Thanks, for your reply....
> > > > > > yes your right... AccessFileName is set to .WWWaccess.
> > > > >
> > > > > > any how if .WWWaccess is the file if
> > > > > > i have to work with then to validate with ldap server can i use the
> > > > > > same config as used in .htacesss?
>
> > > > > The name of the file may have changed, but it is still the same thing
> > > > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > > > Hi Greetings,
> > > > Thank u very much....
>
> > > > i will try and get back when i face any problems..
>
> > > > thanks,
> > > > Prakash
>
> > > Hi Greetings,
>
> > > This my .WWWaccess file config...
>
> > > AuthType Basic
> > > AuthName Login-Auth
> > > LDAP_Server ldap.abc.com
> > > LDAP_Port 389
> > > Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> > > UID_Attr uid
> > > Require valid-user
>
> > > I m getting the error.HTTP 500 - Internal server error is the error.
> > > can i point where i m doing wrrong .. it would be of great help...
>
> > > thanks,
> > > Prakash
>
> > Can you check the error log to see what the actual error is? That
> > would be more helpful.
>
> thanks for your reply really it was usefull
>
> when i checked the log.. i m getting error in LDAP_Server. reason:
> Invalid command AuthLDAPURL
> i m using Server version Apache/1.2b8, Sun OS. is it supported in this
> version?
>
> thanks,
> Prakash

Greetings All,

Server: version Apache/1.2b8.
OS:Sun Os

This version of appache does not support the LDAP. but i cannot change
the version of the server as of now becuase lot of project are going
on and changing the server is not possible.
but for my appilication i have to authenticate it with LDAP server. is
there any other way to do this authentication?

thanks,
prakash

Re: .htaccess = .WWWaccess ?

am 06.12.2007 09:40:22 von Praki

On Dec 6, 10:03 am, Praki wrote:
> On Dec 6, 1:49 am, Davertron wrote:
>
>
>
> > On Dec 5, 1:12 pm, Praki wrote:
>
> > > On Dec 5, 7:46 pm, Praki wrote:
>
> > > > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > > > "Praki" wrote in message
>
> > > > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > > > Hi Greetings,
> > > > > > Thanks, for your reply....
> > > > > > yes your right... AccessFileName is set to .WWWaccess.
> > > > >
> > > > > > any how if .WWWaccess is the file if
> > > > > > i have to work with then to validate with ldap server can i use the
> > > > > > same config as used in .htacesss?
>
> > > > > The name of the file may have changed, but it is still the same thing
> > > > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > > > Hi Greetings,
> > > > Thank u very much....
>
> > > > i will try and get back when i face any problems..
>
> > > > thanks,
> > > > Prakash
>
> > > Hi Greetings,
>
> > > This my .WWWaccess file config...
>
> > > AuthType Basic
> > > AuthName Login-Auth
> > > LDAP_Server ldap.abc.com
> > > LDAP_Port 389
> > > Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> > > UID_Attr uid
> > > Require valid-user
>
> > > I m getting the error.HTTP 500 - Internal server error is the error.
> > > can i point where i m doing wrrong .. it would be of great help...
>
> > > thanks,
> > > Prakash
>
> > Can you check the error log to see what the actual error is? That
> > would be more helpful.
>
> thanks for your reply really it was usefull
>
> when i checked the log.. i m getting error in LDAP_Server. reason:
> Invalid command AuthLDAPURL
> i m using Server version Apache/1.2b8, Sun OS. is it supported in this
> version?
>
> thanks,
> Prakash

Greetings All,

Server: version Apache/1.2b8.
OS:Sun Os

This version of appache does not support the LDAP. but i cannot change
the version of the server as of now becuase lot of project are going
on and changing the server is not possible.
but for my appilication i have to authenticate it with LDAP server. is
there any other way to do this authentication?

thanks,
prakash

Re: .htaccess = .WWWaccess ?

am 06.12.2007 09:48:27 von Praki

On Dec 6, 10:03 am, Praki wrote:
> On Dec 6, 1:49 am, Davertron wrote:
>
>
>
>
>
> > On Dec 5, 1:12 pm, Praki wrote:
>
> > > On Dec 5, 7:46 pm, Praki wrote:
>
> > > > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > > > "Praki" wrote in message
>
> > > > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > > > Hi Greetings,
> > > > > > Thanks, for your reply....
> > > > > > yes your right... AccessFileName is set to .WWWaccess.
> > > > >
> > > > > > any how if .WWWaccess is the file if
> > > > > > i have to work with then to validate with ldap server can i use the
> > > > > > same config as used in .htacesss?
>
> > > > > The name of the file may have changed, but it is still the same thing
> > > > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > > > Hi Greetings,
> > > > Thank u very much....
>
> > > > i will try and get back when i face any problems..
>
> > > > thanks,
> > > > Prakash
>
> > > Hi Greetings,
>
> > > This my .WWWaccess file config...
>
> > > AuthType Basic
> > > AuthName Login-Auth
> > > LDAP_Server ldap.abc.com
> > > LDAP_Port 389
> > > Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> > > UID_Attr uid
> > > Require valid-user
>
> > > I m getting the error.HTTP 500 - Internal server error is the error.
> > > can i point where i m doing wrrong .. it would be of great help...
>
> > > thanks,
> > > Prakash
>
> > Can you check the error log to see what the actual error is? That
> > would be more helpful.
>
> thanks for your reply really it was usefull
>
> when i checked the log.. i m getting error in LDAP_Server. reason:
> Invalid command AuthLDAPURL
> i m using Server version Apache/1.2b8, Sun OS. is it supported in this
> version?
>
> thanks,
> Prakash- Hide quoted text -
>
> - Show quoted text -

Greetings All,

Server: version Apache/1.2b8.
OS:Sun Os

This version of appache does not support the LDAP. but i cannot change
the version of the server as of now becuase lot of project are going
on and changing the server is not possible.
but for my appilication i have to authenticate it with LDAP server. is
there any other way to do this authentication?

thanks,
prakash

Re: .htaccess = .WWWaccess ?

am 06.12.2007 10:21:42 von Praki

On Dec 6, 10:03 am, Praki wrote:
> On Dec 6, 1:49 am, Davertron wrote:
>
>
>
> > On Dec 5, 1:12 pm, Praki wrote:
>
> > > On Dec 5, 7:46 pm, Praki wrote:
>
> > > > On Dec 5, 7:43 pm, "phantom" wrote:
>
> > > > > "Praki" wrote in message
>
> > > > >news:fbecb81e-a35d-4648-a05d-be223c2a8b7a@s19g2000prg.googl egroups.com...
>
> > > > > > Hi Greetings,
> > > > > > Thanks, for your reply....
> > > > > > yes your right... AccessFileName is set to .WWWaccess.
> > > > >
> > > > > > any how if .WWWaccess is the file if
> > > > > > i have to work with then to validate with ldap server can i use the
> > > > > > same config as used in .htacesss?
>
> > > > > The name of the file may have changed, but it is still the same thing
> > > > > -> anything you were trying in .htaccess willl work in .WWWaccess
>
> > > > Hi Greetings,
> > > > Thank u very much....
>
> > > > i will try and get back when i face any problems..
>
> > > > thanks,
> > > > Prakash
>
> > > Hi Greetings,
>
> > > This my .WWWaccess file config...
>
> > > AuthType Basic
> > > AuthName Login-Auth
> > > LDAP_Server ldap.abc.com
> > > LDAP_Port 389
> > > Base_DN "ou=active,ou=employees,ou=people,o=abc.com"
> > > UID_Attr uid
> > > Require valid-user
>
> > > I m getting the error.HTTP 500 - Internal server error is the error.
> > > can i point where i m doing wrrong .. it would be of great help...
>
> > > thanks,
> > > Prakash
>
> > Can you check the error log to see what the actual error is? That
> > would be more helpful.
>
> thanks for your reply really it was usefull
>
> when i checked the log.. i m getting error in LDAP_Server. reason:
> Invalid command AuthLDAPURL
> i m using Server version Apache/1.2b8, Sun OS. is it supported in this
> version?
>
> thanks,
> Prakash

Greetings All,

Server: version Apache/1.2b8.
OS:Sun Os

This version of appache does not support the LDAP. but i cannot change
the version of the server as of now becuase lot of project are going
on and changing the server is not possible.
but for my appilication i have to authenticate it with LDAP server. is
there any other way to do this authentication?

thanks,
prakash

Re: .htaccess = .WWWaccess ?

am 06.12.2007 12:24:32 von Kees Nuyt

Hi Prakash,

On Thu, 6 Dec 2007 01:21:42 -0800 (PST), Praki
wrote:


>Greetings All,
>
>Server: version Apache/1.2b8.
>OS:Sun Os
>
>This version of appache does not support the LDAP. but i cannot change
>the version of the server as of now becuase lot of project are going
>on and changing the server is not possible.
>but for my appilication i have to authenticate it with LDAP server. is
>there any other way to do this authentication?
>
>thanks,
>prakash

Perhaps you can use the LDAP functions in PHP instead?
I never used it myself, so I'm afraid I can't show
examples.
--
( Kees
)
c[_] As scarce as truth is, the supply has
always been in excess of demand. (#351)