I add the modole ID in the file modules.xml just like belows:
***********************************************
<module>
<id>1000</id>
<description>User Administrator Interface</description>
</module>
<id>1000</id>
<description>User Administrator Interface</description>
</module>
***********************************************
set the ModuleID in file ua.conf
***********************************************
ModuleID 1000
ModuleShift 8
ModuleShift 8
***********************************************
also I set below options just like belows,but I don't know what is meaning?
***********************************************
CgiServerType "ua"
CgiServerName "ua"
CgiServerName "ua"
HtdocsUrlPrefix "/ua"
***********************************************
add below contnet in the file menu.xml,but I don't where I can set the module ID?
***********************************************
<interface>
<name>ua</name>
<htdocs_prefix>/ua</htdocs_prefix>
<cgi_prefix>/cgi-bin/ua/ua?</cgi_prefix>
<logo_left></logo_left>
<logo_right></logo_right>
<menu>
<item>
<id>1</id>
<name>General</name>
<item>
<name>Server Management</name>
<link>/node/</link>
<target>_top</target>
</item>
</item>
<name>ua</name>
<htdocs_prefix>/ua</htdocs_prefix>
<cgi_prefix>/cgi-bin/ua/ua?</cgi_prefix>
<logo_left></logo_left>
<logo_right></logo_right>
<menu>
<item>
<id>1</id>
<name>General</name>
<item>
<name>Server Management</name>
<link>/node/</link>
<target>_top</target>
</item>
</item>
.........................
***********************************************
2006/2/24, Oliver Welter <[EMAIL PROTECTED]>:
Hi,
> I want to add a interface into OpenCA ,for example "User Administrator"
> interface,
> jut like RA interface,CA interface or public interface.
> what shall I do for this?
> I change some configure files.but I failed.can anybody help me? thx
>
> for example I want to add a "ua" interface,I change below files,below is the
> filename:
>
> *************
> acl.xml
> modules.xml
> ua.conf
> ua.xml
> ************
> directory www/cgi-bin/ua/*
> directory www/data/ua/*
Did you assign a new module ID in the ua.conf ?
Basides you have to add a proper definition of the interface in menu.xml
- just copy over one of the exisiting parts AND make sure you give it a
unique ID
Oliver
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72
--
Yihua Zheng
