Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Why many redirects

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


j_lalith at yahoo

Jan 24, 2007, 8:17 PM

Post #1 of 4 (357 views)
Permalink
Why many redirects

Hi,

I have a Apache Authentication module defines as follows also I have
directoryIndex such that

if http://localhost/test will be redirected to
http://localhost/test/index.html as everyboy knows

also have the following block, but the problem is when I hit
http://localhost/test it hits the authentication handler many times, can
someone let us know why is this?
<Location /test>
PerlOptions +GlobalRequest
AuthType CAS
AuthName "AuthCAS"
PerlAuthenHandler AuthCAS->authen_handler
PerlSetVar casUrl "https://test:8443/cas"
PerlSetVar CAFile "/etc/pki/tls/certs/ca-bundle.crt"
</Location>


--
View this message in context: http://www.nabble.com/Why-many-redirects-tf3096290.html#a8596212
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


yvo.vandoorn at gmail

Jan 24, 2007, 9:32 PM

Post #2 of 4 (316 views)
Permalink
Re: Why many redirects [In reply to]

This is because without a CASLocalCacheFile parameter set inside your
Location directive every HTTP is redirected to your CAS
authentication.

Reference source: http://www.sfu.ca/acs/cas/Install_SFU_mod_cas.html

On 1/24/07, Tracy12 <j_lalith [at] yahoo> wrote:
>
> Hi,
>
> I have a Apache Authentication module defines as follows also I have
> directoryIndex such that
>
> if http://localhost/test will be redirected to
> http://localhost/test/index.html as everyboy knows
>
> also have the following block, but the problem is when I hit
> http://localhost/test it hits the authentication handler many times, can
> someone let us know why is this?
> <Location /test>
> PerlOptions +GlobalRequest
> AuthType CAS
> AuthName "AuthCAS"
> PerlAuthenHandler AuthCAS->authen_handler
> PerlSetVar casUrl "https://test:8443/cas"
> PerlSetVar CAFile "/etc/pki/tls/certs/ca-bundle.crt"
> </Location>
>
>
> --
> View this message in context: http://www.nabble.com/Why-many-redirects-tf3096290.html#a8596212
> Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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 [at] httpd
> " from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>

---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


j_lalith at yahoo

Jan 28, 2007, 4:50 PM

Post #3 of 4 (314 views)
Permalink
Re: Why many redirects [In reply to]

I am not using mod_cas I wrote my own authentication module using mod_perl
hence I do not refer to the file u refered.


Yvo van Doorn-2 wrote:
>
> This is because without a CASLocalCacheFile parameter set inside your
> Location directive every HTTP is redirected to your CAS
> authentication.
>
> Reference source: http://www.sfu.ca/acs/cas/Install_SFU_mod_cas.html
>
> On 1/24/07, Tracy12 <j_lalith [at] yahoo> wrote:
>>
>> Hi,
>>
>> I have a Apache Authentication module defines as follows also I have
>> directoryIndex such that
>>
>> if http://localhost/test will be redirected to
>> http://localhost/test/index.html as everyboy knows
>>
>> also have the following block, but the problem is when I hit
>> http://localhost/test it hits the authentication handler many times, can
>> someone let us know why is this?
>> <Location /test>
>> PerlOptions +GlobalRequest
>> AuthType CAS
>> AuthName "AuthCAS"
>> PerlAuthenHandler AuthCAS->authen_handler
>> PerlSetVar casUrl "https://test:8443/cas"
>> PerlSetVar CAFile "/etc/pki/tls/certs/ca-bundle.crt"
>> </Location>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Why-many-redirects-tf3096290.html#a8596212
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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 [at] httpd
>> " from the digest: users-digest-unsubscribe [at] httpd
>> For additional commands, e-mail: users-help [at] httpd
>>
>>
>
> ---------------------------------------------------------------------
> 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 [at] httpd
> " from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>
>

--
View this message in context: http://www.nabble.com/Why-many-redirects-tf3096290.html#a8682439
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


j_lalith at yahoo

Jan 28, 2007, 4:51 PM

Post #4 of 4 (319 views)
Permalink
Re: Why many redirects [In reply to]

Also came to tknow that mod_cas does not work with Apache 2.2

Yvo van Doorn-2 wrote:
>
> This is because without a CASLocalCacheFile parameter set inside your
> Location directive every HTTP is redirected to your CAS
> authentication.
>
> Reference source: http://www.sfu.ca/acs/cas/Install_SFU_mod_cas.html
>
> On 1/24/07, Tracy12 <j_lalith [at] yahoo> wrote:
>>
>> Hi,
>>
>> I have a Apache Authentication module defines as follows also I have
>> directoryIndex such that
>>
>> if http://localhost/test will be redirected to
>> http://localhost/test/index.html as everyboy knows
>>
>> also have the following block, but the problem is when I hit
>> http://localhost/test it hits the authentication handler many times, can
>> someone let us know why is this?
>> <Location /test>
>> PerlOptions +GlobalRequest
>> AuthType CAS
>> AuthName "AuthCAS"
>> PerlAuthenHandler AuthCAS->authen_handler
>> PerlSetVar casUrl "https://test:8443/cas"
>> PerlSetVar CAFile "/etc/pki/tls/certs/ca-bundle.crt"
>> </Location>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Why-many-redirects-tf3096290.html#a8596212
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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 [at] httpd
>> " from the digest: users-digest-unsubscribe [at] httpd
>> For additional commands, e-mail: users-help [at] httpd
>>
>>
>
> ---------------------------------------------------------------------
> 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 [at] httpd
> " from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>
>

--
View this message in context: http://www.nabble.com/Why-many-redirects-tf3096290.html#a8682446
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.