Hello Oliver,

it seems the configure script has not properly replaced
@ca_cgi_url_prefix@, but there is no configure option
--with-ca-cgi-url-prefix. I guess it's usually generated out of the
other url-prefix settings, but for some reason not in your case.

I'd suggest to manually edit ./src/web-interfaces/ca/htdocs/index.html
and replace the above string by /cgi-bin/pki/
(or, in the already installed place it should be
/var/www/html/pki/ca/index.html if I'm not mistaken...)

Probably you have to do the same for the other web interfaces as well.
The following command should print out the files in which preprocessing
variables are left over.
find /var/www/html/pki/ -type f -exec grep -Eq '@[a-zA-Z_]*@' {} \; -print

Some of these are intentional and they are replaced at runtime, e.g.
when place holders are filled in for emails or for translation, but I
believe paths and URLs should be filled in during configure or make.

A similar thing I have already noticed is @dbmodule@, which can be
either DB, or on modern distributions it's DBI.

best regards,
Martin

On 10/01/2015 05:00 PM, Oliver Graute wrote:
> Hello,
>
> I'am trying to install openca-base-1.5.1 on Ubuntu 12.04. I struggling with 
> the openca apache part. All I get on my Webserver (localhost) is:
>
> Not Found
>
> The requested URL /@ca_cgi_url_prefix@/ca was not found on this server.
> Apache/2.2.22 (Ubuntu) Server at 127.0.0.1 Port 80
>
>
> I read the Install instructions and I dig a bit through the archive, 
> especially this thread helped me. But I cloudn't solve the problem above.
>
> http://thread.gmane.org/gmane.comp.security.openca.user/1304/
>
> some suggestion?
>
> here is my config part:
>
>
> ./configure --prefix=/opt/openca-1.3 --with-openca-user=openca --with-
> openca-group=openca --with-web-host=localhost --with-httpd-user=www-data --
> with-httpd-group=www-data --with-cgi-fs-prefix=/usr/lib/cgi-bin --with-
> htdocs-fs-prefix=/var/www/html/pki --with-htdocs-url-prefix="/html/pki" --
> with-cgi-url-prefix="/cgi-bin/pki" --with-openca-
> prefix=/usr/local/openca/ca --with-etc-prefix=/usr/local/openca/ca/etc --
> with-module-prefix=/usr/local/openca/ca/modules --disable-external-modules 
> --enable-scep
>
>
> openca-base-1.5.1
>
>
> Installation Details:
> =====================
>
> OpenCA Server:
> * OpenCA prefix .................: /opt/openca-1.3
> * Build prefix ..................:
> * OpenCA User ...................: openca
> * OpenCA Group ..................: openca
> * OpenCA Tools prefix ...........:
>
> Web Server:
> * httpd User ....................: www-data
> * httpd Group ...................: www-data
> * httpd prefix ..................: /var/www
> * htdocs prefix .................: /var/www/html/pki
> * cgi prefix ....................: /usr/lib/cgi-bin
> * htdocs URL prefix .............: /html/pki
> * cgi URL prefix ................: /cgi-bin/pki
>
> Other:
> * OpenSSL Prefix ................: /usr
> * OpenSSL Libs ..................: -Wl,-rpath,/usr/lib -L/usr/lib -L/usr -
> lcrypto -lssl
>
> Done.
>
> System Configured for: Ubuntu 12.04.5
>
> Please now use 'make' to build the components.
> Use 'make install-offline' for the CA installation and
> use 'make install-online' for RA/Public interface installation
>
> More targets are available. Use 'make help' for a full list.
>
>
> Best regards,
>
> Oliver
>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to