Brad Hards <[EMAIL PROTECTED]> said:
> Try just putting this into a template file called something like
> 80Aliases05Amphora (in/etc/e-smith/templates/etc/httpd/conf/httpd.conf/)
> <VirtualHost _default_:443>
>       Include /home/amphora2/amphora2.0.httpd.conf
> </VirtualHost>
>
> You might have to replace _default_ with a real IP, not sure.

Brad, thanks for the tip.  Creating this template did place the <VirtualHost
_default_:443> section in httpd.conf right after the "# End of aliases" section.
 However, when I go to https://mysite.com, I do not get anything from Amphora
coming up, so I do not think something in there is taking.  Below is the
contents of amphora2.0.httpd.conf.  Maybe somebody can help me decipher it and
get it loaded properly.  Thanks.

==============================================================================

# Amphora II apatche conf

DocumentRoot /home/amphora2/html
ErrorLog    /var/log/httpd/amphora2.ssl-error_log
TransferLog /var/log/httpd/amphora2.ssl-access_log

#  SSL
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog /var/log/httpd/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
# /SSL

## UNCOMMENT THESE LINE WHILE UPGRADING SYSTEM
## (REBOOT httpd after every change)
#RewriteEngine on
#RewriteRule ^(.*) /home/amphora2/system_upgrading.html

## AMPHORA

<Directory /home/amphora2/zope2>
Options +ExecCGI +FollowSymLinks
AuthName 'AMPHORA v2.0'
</Directory>

<Directory /home/amphora2/home>
Options +Indexes
</Directory>

<Directory /home/amphora2/home>
AllowOverride AuthConfig
</Directory>

<Directory /home/amphora2/classic>
AllowOverride AuthConfig
</Directory>

<Directory /home/amphora2/classic/cgi>
Options +ExecCGI +FollowSymLinks
</Directory>

ScriptAlias /amphora/cgi/         /home/amphora2/classic/cgi/
ScriptAlias /amphora/classic/cgi/         /home/amphora2/classic/cgi/
Alias       /amphora/classic/     /home/amphora2/classic/
Alias       /amphora/home/        /home/amphora2/home/
Alias       /amphora/             /home/amphora2/html/

<Directory /home/amphora2/doc>
AllowOverride AuthConfig
</Directory>

# Zope configuration maps /Zope/ to the Zope.cgi CGI script
RewriteEngine on
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/amphora/z(.*) /home/amphora2/zope2/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi
,l]

RewriteEngine on
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/huia/(.*) /home/amphora2/zope2/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

# Amphora public over https
RewriteEngine on
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/amphora_public/z/(.*) /home/amphora2/zope2/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-h
ttpd-cgi,l]

## ERROR CODES
## Error codes
#ErrorDocument 400 /amphora/cgi/AmphoraErrorDocument.py?code=400
#ErrorDocument 401 /amphora/cgi/AmphoraErrorDocument.py?code=401
#ErrorDocument 402 /amphora/cgi/AmphoraErrorDocument.py?code=402
#ErrorDocument 403 /amphora/cgi/AmphoraErrorDocument.py?code=403
#ErrorDocument 404 /amphora/cgi/AmphoraErrorDocument.py?code=404
#ErrorDocument 405 /amphora/cgi/AmphoraErrorDocument.py?code=405
#ErrorDocument 406 /amphora/cgi/AmphoraErrorDocument.py?code=406
#ErrorDocument 407 /amphora/cgi/AmphoraErrorDocument.py?code=407
#ErrorDocument 408 /amphora/cgi/AmphoraErrorDocument.py?code=408
#ErrorDocument 409 /amphora/cgi/AmphoraErrorDocument.py?code=409
#ErrorDocument 410 /amphora/cgi/AmphoraErrorDocument.py?code=410
#ErrorDocument 411 /amphora/cgi/AmphoraErrorDocument.py?code=411
#ErrorDocument 412 /amphora/cgi/AmphoraErrorDocument.py?code=412
#ErrorDocument 413 /amphora/cgi/AmphoraErrorDocument.py?code=413
#ErrorDocument 414 /amphora/cgi/AmphoraErrorDocument.py?code=414
=============================================================================


--
Devlyn Davis


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to