Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
20199dd1
Commit
20199dd1
authored
10 years ago
by
Lukas Reschke
Browse files
Options
Downloads
Patches
Plain Diff
Reference module with `.c`
Fixes
https://github.com/owncloud/core/issues/13657
parent
55142186
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.htaccess
+2
-2
2 additions, 2 deletions
.htaccess
config/.htaccess
+2
-2
2 additions, 2 deletions
config/.htaccess
lib/private/setup.php
+2
-2
2 additions, 2 deletions
lib/private/setup.php
with
6 additions
and
6 deletions
.htaccess
+
2
−
2
View file @
20199dd1
...
...
@@ -13,7 +13,7 @@ php_value post_max_size 513M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
<
IfModule
env_module
>
<
IfModule
mod_env.c
>
SetEnv
htaccessWorking true
</
IfModule
>
</
IfModule
>
...
...
@@ -34,7 +34,7 @@ RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
AddType
image/svg+xml svg svgz
AddEncoding
gzip svgz
</
IfModule
>
<
IfModule
dir_module
>
<
IfModule
mod_dir.c
>
DirectoryIndex
index.php index.html
</
IfModule
>
AddDefaultCharset
utf-8
...
...
This diff is collapsed.
Click to expand it.
config/.htaccess
+
2
−
2
View file @
20199dd1
# line below if for Apache 2.4
<
ifModule
mod_authz_core
>
<
ifModule
mod_authz_core
.c
>
Require
all
denied
</
ifModule
>
# line below if for Apache 2.2
<
ifModule
!mod_authz_core
>
<
ifModule
!mod_authz_core
.c
>
deny
from
all
</
ifModule
>
...
...
This diff is collapsed.
Click to expand it.
lib/private/setup.php
+
2
−
2
View file @
20199dd1
...
...
@@ -287,11 +287,11 @@ class OC_Setup {
$now
=
date
(
'Y-m-d H:i:s'
);
$content
=
"# Generated by ownCloud on
$now
\n
"
;
$content
.
=
"# line below if for Apache 2.4
\n
"
;
$content
.
=
"<ifModule mod_authz_core>
\n
"
;
$content
.
=
"<ifModule mod_authz_core
.c
>
\n
"
;
$content
.
=
"Require all denied
\n
"
;
$content
.
=
"</ifModule>
\n\n
"
;
$content
.
=
"# line below if for Apache 2.2
\n
"
;
$content
.
=
"<ifModule !mod_authz_core>
\n
"
;
$content
.
=
"<ifModule !mod_authz_core
.c
>
\n
"
;
$content
.
=
"deny from all
\n
"
;
$content
.
=
"</ifModule>
\n\n
"
;
$content
.
=
"# section for Apache 2.2 and 2.4
\n
"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment