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
a9b08678
Commit
a9b08678
authored
Jan 25, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Apache configuration for static files
Fixes #978 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
8cdcebc9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
docs/admin/install.rst
docs/admin/install.rst
+1
-1
examples/apache-path.conf
examples/apache-path.conf
+2
-2
examples/apache.conf
examples/apache.conf
+2
-2
No files found.
docs/admin/install.rst
View file @
a9b08678
...
...
@@ -807,7 +807,7 @@ mod_wsgi (available as :file:`examples/apache.conf`):
:language: apache
This configuration is for Apache 2.4 and later. For earlier versions of Apache,
replace `Require all
deni
ed` with `Allow from all`.
replace `Require all
grant
ed` with `Allow from all`.
Sample configuration for nginx
++++++++++++++++++++++++++++++
...
...
examples/apache-path.conf
View file @
a9b08678
...
...
@@ -13,7 +13,7 @@ WSGIPythonPath /usr/share/weblate
Alias
/
weblate
/
static
/ /
usr
/
share
/
weblate
/
data
/
static
/
<
Directory
/
usr
/
share
/
weblate
/
data
/
static
/>
Require
all
deni
ed
Require
all
grant
ed
</
Directory
>
WSGIScriptAlias
/
weblate
/
usr
/
share
/
weblate
/
weblate
/
wsgi
.
py
...
...
@@ -21,7 +21,7 @@ WSGIPythonPath /usr/share/weblate
<
Directory
/
usr
/
share
/
weblate
/
weblate
>
<
Files
wsgi
.
py
>
Require
all
deni
ed
Require
all
grant
ed
</
Files
>
</
Directory
>
...
...
examples/apache.conf
View file @
a9b08678
...
...
@@ -14,7 +14,7 @@ WSGIPythonPath /usr/share/weblate
Alias
/
static
/ /
usr
/
share
/
weblate
/
data
/
static
/
<
Directory
/
usr
/
share
/
weblate
/
data
/
static
/>
Require
all
deni
ed
Require
all
grant
ed
</
Directory
>
WSGIScriptAlias
/ /
usr
/
share
/
weblate
/
weblate
/
wsgi
.
py
...
...
@@ -22,7 +22,7 @@ WSGIPythonPath /usr/share/weblate
<
Directory
/
usr
/
share
/
weblate
/
weblate
>
<
Files
wsgi
.
py
>
Require
all
deni
ed
Require
all
grant
ed
</
Files
>
</
Directory
>
...
...
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