I've confirmed that the headers module is loaded.

The httpd.conf file doesn't have any rewrite rules but includes another
file that does.

Now I just need to get mod_auth_cas to compile for OS X Server. :)

Thanks,

Brad Perkins

On 1/23/12 4:52 PM, "Darin Schroeder" <[email protected]>
wrote:

>If your httpd.conf file already has rewrite rules it can go there. Just
>make sure you load the headers module at the top of the conf file.
>
>Darin
>
>On Jan 23, 2012, at 5:14 PM, "Perkins, Bradley D" <[email protected]>
>wrote:
>
>> Darin,
>> 
>> Thanks for providing these details. My research pointed that setting a
>> request header was the likely solution, but I wasn't sure how to do it.
>> 
>> Since the site in question already has a file with rewrite rules in
>>place,
>> can I put these at the beginning of that file? Our httpd.conf includes
>>our
>> rewrite file.
>> 
>> Thanks,
>> 
>> Brad Perkins
>> 
>> On 1/23/12 3:06 PM, "Darin Schroeder" <[email protected]>
>> wrote:
>> 
>>> You would need access to the Apache config file to do this ...
>>> 
>>> First, you need to ensure that the following module is called:
>>>     LoadModule headers_module modules/mod_headers.so
>>> 
>>> Then you need to add the following to the config file (or the .htaccess
>>> file):
>>>    RewriteCond %{REMOTE_USER} (.+)
>>>    RewriteRule . - [E=RU:%1]
>>>    RequestHeader set REMOTE_USER %{RU}e
>>> 
>>> After you do this, you should be able to access the variable using:
>>>    $user := get request info("REMOTE_USER")
>>> 
>>> Hope this helps,
>>> 
>>> Darin
>>> 
>>> 
>>> 
>>> 
>>> On Mon, Jan 23, 2012 at 2:04 PM, Perkins, Bradley D <[email protected]>
>>> wrote:
>>>> I need to implement access to an A4D system that will use a single
>>>>sign
>>>> on
>>>> service (JasigCas). I've been working with the server administrator
>>>>for
>>>> possible ways to do this from with Active4D (or 4D) and he suggests
>>>>that
>>>> since we run 4D behind Apache that I use and Apache module:
>>>>mod_auth_cas
>>>> (https://wiki.jasig.org/display/CASC/mod_auth_cas).
>>>> 
>>>> Once a user is authenticated I will need to read the Apache
>>>>REMOTE_USER
>>>> variable.
>>>> 
>>>> My question is if/how this might be done in Active4D?
>>>> 
>>>> Thanks,
>>>> 
>>>> Brad Perkins
>>>> 
>>>> _______________________________________________
>>>> Active4D-dev mailing list
>>>> [email protected]
>>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>>> Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
>>> _______________________________________________
>>> Active4D-dev mailing list
>>> [email protected]
>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>> Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
>> 
>> _______________________________________________
>> Active4D-dev mailing list
>> [email protected]
>> http://list.aparajitaworld.com/listinfo/active4d-dev
>> Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
>_______________________________________________
>Active4D-dev mailing list
>[email protected]
>http://list.aparajitaworld.com/listinfo/active4d-dev
>Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to