enablng morgue file access when configuring webtiles


Questions, Explanations, Howtos

Halls Hopper

Posts: 74

Joined: Sunday, 21st February 2016, 14:55

Post Saturday, 19th March 2016, 21:51

enablng morgue file access when configuring webtiles

In the config.py file we have these lines:

  Code:
       morgue_path = "./rcs/%n",
       morgue_url = None,


What do I need to put in morgue_url so that players can see their morgue files? I tried a few different things and haven't gotten it to work. On disk the morgue files are in ./rcs/{username}/morgue-...

Is there a document that better describes how to run the webserver side? I can get it up and running, and there are some very terse documentation in the config file, but haven't found much more help than that.
User avatar

Zot Zealot

Posts: 982

Joined: Monday, 29th September 2014, 09:04

Post Sunday, 20th March 2016, 01:24

Re: enablng morgue file access when configuring webtiles

You need to set up a static directory mapping yourself, it's not part of the python webserver. So something like (for Apache):

LoadModule mod_autoindex
Alias /morgues /path/to/morgues

Then your morgue_url would be http://myserver/morgues

Halls Hopper

Posts: 74

Joined: Sunday, 21st February 2016, 14:55

Post Sunday, 20th March 2016, 01:55

Re: enablng morgue file access when configuring webtiles

Thank you. Just what I needed.

Return to Coding

Who is online

Users browsing this forum: No registered users and 5 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.