Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3174996
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3174996
Commits
cd401235
Commit
cd401235
authored
23 years ago
by
natrak
Browse files
Options
Downloads
Patches
Plain Diff
- cleaned up .htaccess. Removed some php settings and made the deny
filters more specific.
parent
42ecb278
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.htaccess
+7
-6
7 additions, 6 deletions
.htaccess
with
7 additions
and
6 deletions
.htaccess
+
7
−
6
View file @
cd401235
#
# Apache/PHP/site settings:
# $Id$
#
# Protect files and directories from prying eyes:
<
Files
~ "(
class|conf|CVS|database|Entries|inc|modules|\.module
|Repositor
y
|Root|script
|sh|sql|theme)
"
>
<
Files
~ "(
\.(conf|inc|module|pl|sh|sql|theme)|Entries
|Repositor
ies
|Root|script
s|updates)$
"
>
order
deny,allow
deny
from
all
</
Files
>
# Deny directory listings:
Options
-Indexes
# Customized server error messages:
ErrorDocument
400 /error.php
ErrorDocument
402 /error.php
...
...
@@ -24,9 +26,6 @@ ErrorDocument 500 /error.php
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value session.auto_start 0
php_value session.cookie_lifetime 2000000
php_value session.gc_maxlifetime 2000000
php_value session.cache_expire 200000
php_value session.save_handler
user
</IfModule>
...
...
@@ -34,4 +33,6 @@ ErrorDocument 500 /error.php
<
IfModule
mod_rewrite.c
>
RewriteEngine
on
RewriteRule
^blog/(.*) /module.php?mod=blog&op=view&name=$1 [R]
</
IfModule
>
\ No newline at end of file
</
IfModule
>
# $Id$
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