Hi,

I use openca 0.9.1.3 under FreeBSD, and site root is /srv/www/ca for the
CA. OpenCA's installation directory is /usr/local/openca.

When I try to initialize CA, I see a pop-up that asks for algorithm,
then key length, then... "The requested URL /ca/pwd.html was not found
on this server."

The file sits in /srv/www/ca/htdocs/ca/pwd.html

So why does the file request add a slash in front of the path ?

My virtual hosts for CA in Apache 2 is the following (checked this ten
times...) :

NameVirtualHost 192.168.1.5:80

<VirtualHost 192.168.1.5:80>
        DocumentRoot /srv/www/ca/htdocs/ca
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
        CustomLog /var/log/httpd/ssl_request_log "%t %h %{SSL_PROTOCOL}x
%{SSL_CIPHER}x \"%r\" %b"
        <Directory "/srv/www/ca/htdocs/ca">
                Options Indexes FollowSymlinks MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        ScriptAlias /cgi-bin/ "/srv/www/ca/cgi-bin/"
        <Directory "/srv/www/ca/cgi-bin">
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

My configure line was :

./configure --with-openca-user=openca --with-openca-group=openca \
--with-web-host=192.168.1.5 --with-httpd-user=openca \
--with-httpd-group=openca --prefix=/usr/local/openca \
--with-httpd-fs-prefix=/srv/www/ca \
--with-hierarchy-level=ra --with-dist-user=Achatpublic.com \
--with-dist-group=Achatpublic.com
--with-ca-organization=Achatpublic.com \
--with-ca-locality=Paris --with-ca-country=FR

Thank you very much for your help.

Barbara Post



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to