Linux Mono Install User WebPortal

Hi,

when i try to install the EndUserWebportal on Ubntu  and Apache.
But i think the Installation is not correct. In /var/www/OneIM813Web are something missing.

Example:

Global.asax
nlog.config

mono create-web-dir.exe  --db-system=MSSQL --db-connect='Data Source=XXX;Initial Catalog=XXX;User ID=sa;Password=XXX' --dest=/var/www/OneIM813Web --targets="Server\\Web,Server\\Web\\EndUserWebPortal" --web-app-project="VI_StandardWeb" --web-app-auth="RolebasedPerson" --appserver-url=XXX --web-config=XXX

Set Rights

chown www-data: /var/www/.oneim
chown -R www-data: /var/www/OneIM813Web

Set Vhost Config

<VirtualHost *:443>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the webportal virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        ServerName web1.idtest.awi.de
 
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/OneIM813Web
 
        SSLEngine on
                SSLCertificateKeyFile /XXXXX
                SSLCertificateFile /XXXXX
 
        KeepAlive On
        KeepAliveTimeout 2
        MonoServerPath webportal "/usr/bin/mod-mono-server4"
 
        MonoSetEnv MONO_THREADS_PER_CPU=100
 
        MonoApplications webportal "/:/var/www/OneIM813Web"
        MonoDebug true
        <Location "/">
          Allow from all
          Order allow,deny
          MonoSetServerAlias webportal
          SetHandler mono
        </Location>
 
        ErrorLog ${APACHE_LOG_DIR}/webportal-error.log
        CustomLog ${APACHE_LOG_DIR}/webportal-access.log combined
 
        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>
 
<VirtualHost *:80>
        ServerName xxxxx
        Redirect permanent "/" "https://XXXXX"
</VirtualHost>

  • Together with the support we solved the problem.

    Add Folder

    mkdir /var/www/.oneim

    Set rights
    chown -R www-data: /var/www/.oneim/

    Add webserver via objekt browser
    QBMWebApplication
    BaseURL = URL to Webserver/
    UID_DialogAEDSWebProjekt = VI_StandardWeb
    UID_DialogAuthentifier = Person(Rollbased)
    UID_DialogProdukt = WebDeskgner