Mailgateway & Cass

Hello,
I’m not sure if this is possible and am hoping someone can tell me,

In the Apache httpd.conf I have this,

<Directory /usr/local/rt-3.8.2/share/html>
AuthType Apache2::AuthCAS

which redirects to a Cass login page. Currently the rt-mailgate is not
set up, but we would like to set up some queues that clients can just
email to create tickets. The emails fail because the redirect occurs
for a Cass login. I tried adding this to the httpd.conf,

<Directory /usr/local/rt-3.8.2/share/html/REST/1.0/NoAuth>
Order allow,deny
Allow from all
Options All
AllowOverride All

but as I suspected it wouldn’t work, since the share/html dir is
required to redirect. Is there a way for me to get this to work?

                  Thanks,

                      Scott

Try placing your handler in a LocationMatch not matching NoAuth?

Cambridge Energy Alliance: Save money. Save the planet.

Thanks for the replies, this actually worked for me,

<Directory /opt/rt3/share/html/REST/1.0/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all

<Directory /opt/rt3/share/html/NoAuth>
SetHandler perl-script
PerlHandler RT::Mason
satisfy any
allow from all

…from the wiki, which I apparently didn’t search well enough.

Thanks again,

ScottOn Mon, 2009-07-20 at 15:20 -0500, Scott T. Hildreth wrote:

Hello,
I’m not sure if this is possible and am hoping someone can tell me,

In the Apache httpd.conf I have this,

<Directory /usr/local/rt-3.8.2/share/html>
AuthType Apache2::AuthCAS

which redirects to a Cass login page. Currently the rt-mailgate is not
set up, but we would like to set up some queues that clients can just
email to create tickets. The emails fail because the redirect occurs
for a Cass login. I tried adding this to the httpd.conf,

<Directory /usr/local/rt-3.8.2/share/html/REST/1.0/NoAuth>
Order allow,deny
Allow from all
Options All
AllowOverride All

but as I suspected it wouldn’t work, since the share/html dir is
required to redirect. Is there a way for me to get this to work?

                  Thanks,

                      Scott

The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com