Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
602af457
Commit
602af457
authored
Sep 12, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document running Weblate under /weblate
parent
3fd8cc29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
docs/install.rst
docs/install.rst
+16
-0
examples/apache-path.conf
examples/apache-path.conf
+14
-0
No files found.
docs/install.rst
View file @
602af457
...
...
@@ -133,6 +133,22 @@ mod_wsgi (available as :file:`examples/apache.conf`):
.. literalinclude:: ../examples/apache.conf
Running Weblate under path
++++++++++++++++++++++++++
Minimalistic configuration to serve Weblate under /weblate (you will need to
include portions of above full configuration to allow access to the files). Again
using mod_wsgi (also available as :file:`examples/apache-path.conf`):
.. literalinclude:: ../examples/apache-path.conf
Additionally you will have to adjust :file:`settings.py`::
MEDIA_URL = '/weblate/media/'
STATIC_URL = '/weblate/static/'
.. note:: This is supported since Weblate 1.3.
.. _appliance:
Prebuilt appliance
...
...
examples/apache-path.conf
0 → 100644
View file @
602af457
# Example Apache configuration for running Weblate under /weblate path
# Path to Weblate code
WSGIPythonPath
/
usr
/
share
/
weblate
# Path to Weblate WSGI handler
WSGIScriptAlias
/
weblate
"/usr/share/weblate/weblate/wsgi.py"
# Aliases to serve media and static files
Alias
/
weblate
/
media
/ /
usr
/
share
/
weblate
/
weblate
/
media
/
Alias
/
static
/
admin
/
usr
/
lib
/
python2
.
7
/
site
-
packages
/
django
/
contrib
/
admin
/
static
/
admin
/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment