Jean-François Fortin Tam
88228c3510
When forcing HTTPS, handle subfolder URLs properly
...
This fixes the redirection for Kanboard instances in subdirectories
(ex: /foo/bar/kanboard instead of the vhost's document root)
2018-07-23 12:49:14 -07:00
Jyoti Sharma
a39cb11f52
SetEnv usage should be guarded
...
mod_env may not be present on a system in which case browser will get 500 Internal Server Error.
The error in apache logs say "Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration".
2018-07-06 12:50:33 -07:00
kkkrist
9e85d0f6e7
Fix HTTP Basic Authentication for Apache/FastCGI/php-fpm setups ( #3456 )
2017-10-11 10:19:46 -07:00
Frederic Guillot
d81417836a
Add RewriteBase in .htaccess
2017-01-29 08:18:26 -05:00
Frederic Guillot
efb786b5c5
Disable PageSpeed module from .htaccess if present
2016-12-19 21:49:53 -05:00
Frederic Guillot
9e8e61db70
Fix previously merged pull-requests
2016-12-06 07:09:10 -05:00
wiserweb
3e88603a4e
Update .htaccess
...
Add Apache .htaccess directives to force HTTPS with user friendly documentation.
2016-12-04 13:11:52 -05:00
Frederic Guillot
978a3c70fe
Simplify .htaccess and rename command line script
2016-11-29 20:26:18 -05:00
Frederic Guillot
c4a48eda9a
Check for mod_version
2015-10-11 12:05:50 -04:00
Jan Wagner
d85741a3a1
.htaccess: Add compatibility for apache 2.4
2015-10-05 22:46:30 +02:00
Frederic Guillot
1b0b69a43f
Add .htaccess rule to deny files access
2015-09-23 22:24:07 -04:00
Frederic Guillot
bc98748c0d
Start to implement url rewrite (nice urls)
2015-07-12 10:38:42 -04:00