Well normally that block is required for cosign to work properly, though that's likely because we're normally dealing with Drupal sites which are public and login is to get editor access, and it's not doing anything in this case. Regardless, removing that block does not resolve the Service Temporarily Unavailable response.
Yadin On 2/25/2013 3:27 PM, Andrew Mortensen wrote: > On Feb 25, 2013, at 3:07 PM, Yadin Flammer <y...@psu.edu> wrote: > >> Using standard settings I always use there, shouldn't be an issue AFAIK. >> >> <LocationMatch "/cosign"> >> CosignProtected On >> CosignAllowPublicAccess Off >> AuthType Cosign >> </LocationMatch> > Are you really serving protected content out of a "/cosign" directory? You've > already got vhost-global cosign-protection enabled below. This seems like the > problem to me. If you delete the above block, does the 503 go away? > > andrew > > > >> <Location /cosign/valid> >> SetHandler cosign >> CosignProtected Off >> Allow from all >> Satisfy any >> </Location> >> >> CosignProtected On >> CosignAllowpublicAccess Off >> >> >> On 2/25/2013 1:15 PM, Andrew Mortensen wrote: >>> On Feb 25, 2013, at 12:55 PM, Yadin Flammer <y...@psu.edu> wrote: >>> >>>> Ubuntu 12 server apache2 cosign 3.1.2 >>>> >>>> http and https work fine, but as soon as I include the cosign config >>>> https comes back after sign in as unavailable service. >>>> URL after sign in is that long valid?cosign string so it would appear >>>> auth is working, but cosign on this webserver is not. >>> If the query string is *very* long, it's likely you have the /cosign/valid >>> path cosign-protected. It should not be protected. Make sure you have this >>> somewhere in your vhost's configuration: >>> >>> <Location /cosign/valid> >>> SetHandler cosign >>> CosignProtected Off >>> Allow from all >>> Satisfy any >>> </Location> >>> >>> If you already have that, make sure you don't have the docroot protected >>> using Location, e.g.: >>> >>> <Location /> >>> ... >>> CosignProtected On >>> ... >>> </Location> >>> >>> Using the above will override the /cosign/valid Location context. To >>> protect the docroot, use Directory with the actual local path to the >>> docroot instead, e.g.: >>> >>> <Directory "/usr/local/share/www-root/"> >>> ... >>> CosignProtected On >>> ... >>> </Directory> >>> >>> andrew >>> >> -- >> ------------------------------------------------------------------- >> Yadin Flammer - Systems Administrator >> College of Arts& Architecture, Penn State University >> 228 Borland Building Office Phone: 814-865-0990 >> University Park, PA 16802 Dept. Phone: 814-865-1571 >> Email: y...@psu.edu Dept. Fax: 814-863-6227 >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Cosign-discuss mailing list >> Cosign-discuss@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cosign-discuss -- ------------------------------------------------------------------- Yadin Flammer - Systems Administrator College of Arts& Architecture, Penn State University 228 Borland Building Office Phone: 814-865-0990 University Park, PA 16802 Dept. Phone: 814-865-1571 Email: y...@psu.edu Dept. Fax: 814-863-6227 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Cosign-discuss mailing list Cosign-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cosign-discuss