Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
309
Merge Requests
309
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
b4933bcd
Commit
b4933bcd
authored
Feb 08, 2006
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
#47711
: Better PHP5 htaccess compatibility
parent
a0454264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
.htaccess
.htaccess
+12
-3
No files found.
.htaccess
View file @
b4933bcd
...
...
@@ -18,21 +18,30 @@ ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex
index.php
# Override PHP settings. More exist in sites/default/settings.php, but
# the following cannot be changed at runtime. The first IfModule is
# for Apache 1.3, the second for Apache 2.
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1
<
IfModule
mod_php4.c
>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</
IfModule
>
# PHP 4, Apache 2
<
IfModule
sapi_apache2.c
>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</
IfModule
>
# PHP 5, Apache 1 and 2
<
IfModule
mod_php5.c
>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</
IfModule
>
# Reduce the time dynamically generated pages are cache-able.
<
IfModule
mod_expires.c
>
ExpiresByType
text/html A1
...
...
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