Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleExample Ryzom API Site
borderStyledashed
######################
# Ryzom App Site #
######################
<VirtualHost *:80>
<Directory "/home/username/ryzom/code/web/">
Options -Indexes FollowSymLinks MultiViews
IndexOptions FancyIndexing FoldersFirst NameWidth=*
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ServerAdmin admin@localhost
 
  DocumentRoot /home/username/ryzom/code/web/app
 
  # The client hard codes /start/ into the WebIG launch URL.
  Alias /start/ /home/username/ryzom/code/web/app/
 
  ServerName app.domain.org
</VirtualHost>

...

Code Block
GRANT ALL ON webig.* TO webdb@localhost;
GRANT ALL ON app_test.* TO webdb@localhost;

Client Configuration

For the client you will need to add or change the following configuration variables:

Panel
WebIgMainDomain = "app.domain.org";
// The list of domains the client will trust and execute Lua scripts from.
WebIgTrustedDomains = { "app.domain.org", "api.domain.org", "shard.domain.org" };

 

Troubleshooting

Table players not found

...