-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,31 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^ - [E=protossl] | ||
RewriteCond %{HTTPS} on | ||
RewriteRule ^ - [E=protossl:s] | ||
RewriteRule "(^|/)\." - [F] | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_URI} !=/favicon.ico | ||
RewriteRule ^ koseu.php [L] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
FallbackResource koseu.php | ||
</IfModule> | ||
# | ||
# Depending on your Apache web server, you may some tweaks | ||
# | ||
# If you go to a /lessons url and see the /lessons.json data | ||
# Turn off MultiView in your Apache Configuration or add this line: | ||
# | ||
# Options -MultiView | ||
# | ||
# Some web servers need a RewriteBase after "RewriteEngine on" below | ||
# It will need to be the path on this web server for this | ||
# folder. So far I only needed this on 1and1. Here are two examples: | ||
# | ||
# RewriteBase / | ||
# RewriteBase /py4e | ||
# | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteRule ^ - [E=protossl] | ||
RewriteCond %{HTTPS} on | ||
RewriteRule ^ - [E=protossl:s] | ||
RewriteRule "(^|/)\." - [F] | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_URI} !=/favicon.ico | ||
RewriteRule ^ koseu.php [L] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
FallbackResource koseu.php | ||
</IfModule> |