-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhttemplate
More file actions
46 lines (40 loc) · 1.27 KB
/
httemplate
File metadata and controls
46 lines (40 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Header always unset X-Frame-Options
AuthType shibboleth
ShibRequestSetting requireSession 1
require valid-user
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
#For now, we comment out that we require our visitor be a student of stony brook university.
require affiliation [email protected]
DirectoryIndex index.php
# Tony
#RewriteEngine on
#RewriteCond %{REQUEST_URI} !.*(users|vqEdit|vqLib).*
#RewriteRule (.*) /vqdev/users/$1 [R,L]
# Tony & Paul
RewriteEngine on
#prevent looping
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
RewriteRule ^/?index.html$ - [L]
RewriteRule ^/?$ - [L]
RewriteCond %{REQUEST_URI} !(^$|users|vqEdit|vqLib).*
RewriteRule (.*) users/$1 [R,L]
# Paul
RewriteEngine on
#prevent looping
#RewriteCond %{ENV:REDIRECT_STATUS} 200
#RewriteRule ^ - [L]
#RewriteRule ^/?index.html$ - [L]
#RewriteRule ^/?$ - [L]
#RewriteCond %{REQUEST_URI} !/vqdev/(^$|users|vqEdit|vqLib).*
#RewriteRule (.*) /vqdev/users/$1 [R,L]
# Uncomment to display php errors in the log
php_value error_log PHP_errors.log
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
php_value max_execution_time 500
php_value max_input_time 500
php_value date.timezone 'America/New_York'
php_value memory_limit 512M