Hi,
I'm trying to use apache as the webserver with fast-cgi to interact with
zenoss. I've seen instructions of how to do this with zope
(http://svn.zope.org/*checkout*/Zope/trunk/doc/WEBSERVER.txt) but can't get
this working with zenoss. I want to do it this way so I can use our webauth
single sign on (i.e. apache will pass the credentials over to zenoss).
I think i'm some of the way there, but when I log in I get: Not found The
requested URL /zport/dmd/ was not found on this server.
Any help would be great!
Thanks,
Guy
### httpd config: ###
Listen <ip>:80
<VirtualHost <ip>:80>
ServerName <fqdn.of.servce>
ErrorLog /var/log/httpd/http-error
RewriteEngine On
RewriteRule /.* https://<fqdn.of.service>/ [R]
</VirtualHost>
Listen <ip>:443
<VirtualHost <ip>:443>
<Directory *>
SSLRequireSSL
Options None
AllowOverride AuthConfig
Allow from all
WebAuthExtraRedirect on
AuthType WebAuth
Require user testuser
</Directory>
FastCgiExternalServer /srv/ \
-host <fqdn.of.service>:8889 \
-pass-header Authorization
<Location />
SetHandler fastcgi-script
</Location>
ServerName <fqdn.of.service>
DocumentRoot "/srv/"
# SSL CONF ############################################
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/zenoss-crt.pem
SSLCertificateKeyFile /etc/httpd/ssl/zenoss-key.pem
SSLCertificateChainFile /etc/httpd/ssl/ca-chain.pem
<Files ~ "\.(cgi|shtml|phtml|mhtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
CustomLog /var/log/httpd/networks-ssl-request.log "%t %h
%{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
# END SSL CONF ########################################
#RewriteEngine On
#RewriteRule ^(/.*) \
#http://<fqdn.of.service>:8080/VirtualHostBase/https/<fqdn.of.service>:443/VirtualHostRoot/$1
[L,P]
</VirtualHost>
### zope config ###
[snip]
#<http-server>
# valid keys are "address" and "force-connection-close"
# address 8080
# force-connection-close on
#</http-server>
<fast-cgi>
address <fqdn.of.service>:8889
</fast-cgi>
[/snip]
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24700#24700
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users