Skip to content

Commit

Permalink
Rewrapped comments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmer committed Oct 24, 2023
1 parent 4feed59 commit 73f1896
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ Options +FollowSymlinks

RewriteEngine On

# Scalar pages have default views that are called when a URI has no file extension
# Turn off the MultiView option (if it's on) so it doesn't conflict
# Scalar pages have default views that are called when a URI has no
# file extension Turn off the MultiView option (if it's on) so it
# doesn't conflict
Options -MultiViews

# To route all requests to a maintenance page, uncomment these lines
Expand All @@ -21,25 +22,30 @@ RewriteCond $1 !maintenance.html$
RewriteCond $1 !codeigniter.php$
RewriteRule ^([^/]+)$ - [R=404,L]

# To route the home page (book index) to some place else, uncomment these lines
# To route the home page (book index) to some place else, uncomment
# these lines
#RewriteCond %{REQUEST_FILENAME} ^/Library/WebServer/scalar\.usc\.edu/anvc/index\.php$
#RewriteRule (.*) /Library/WebServer/scalar.usc.edu/anvc_site/ [L]
#RewriteCond %{REQUEST_FILENAME} ^/Library/WebServer/scalar\.usc\.edu/anvc/$
#RewriteRule (.*) /Library/WebServer/scalar.usc.edu/anvc_site/ [L]

# If your server is running SSL, uncomment these lines to force all requests through https
# If your server is running SSL, uncomment these lines to force all
# requests through https
#RewriteCond %{SERVER_PORT} 80
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

# To protect against malicious file uploads (e.g., PHP files) uncomment these lines
# To protect against malicious file uploads (e.g., PHP files)
# uncomment these lines
#RewriteCond %{REQUEST_FILENAME} -f
#RewriteCond %{REQUEST_FILENAME} (\.php)$ [NC]
#RewriteCond $1 !^system/(.*) [NC]
#RewriteCond $1 !^codeigniter.php(/.*)?$ [NC]
#RewriteRule (.*) - [R=404,L]

# To route to an alternative file uploads path (e.g. "uploads" directory) uncomment these lines
# or change to the desired location. This should match the localDir specified in local_settings.php
# To route to an alternative file uploads path (e.g. "uploads"
# directory) uncomment these lines and change to the desired
# location. This should match the localDir specified in
# local_settings.php
#RewriteCond "%{CONTEXT_DOCUMENT_ROOT}/uploads/$1" -f
#RewriteRule (.+) "%{CONTEXT_DOCUMENT_ROOT}/uploads/$1" [L]

Expand Down

0 comments on commit 73f1896

Please sign in to comment.