forked from atk4/atk4-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess-distrib
More file actions
23 lines (18 loc) · 782 Bytes
/
Copy path.htaccess-distrib
File metadata and controls
23 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This is your local .htaccess file.
#
# TODO:
# [ ] - configure this file to match your preferred URL format
# [ ] - create a copy of this file into .htaccess-distrib
# [ ] - add .htaccess-distrib to version control
# [ ] - add .htaccess to ignore list
RewriteEngine on
RewriteRule ^(main.php.*)$ $1 [L]
RewriteRule ^[^\.]*$ main.php [L]
RewriteRule .html$ main.php [L]
# You might need this for some webserver configurations
#RewriteBase /
# Add other paterns which needs to be handled by Agile Toolkit.
# RewriteRule .xml$ main.php [L]
# If you want to have custom URL routing, use the following format
#RewriteRule ^project/(.+)(/|)?$ main.php?page=project&project=$1 [L]
#RewriteRule ^project/(.+)/(.+)(/|)$ main.php?page=project&project=$1&action=$2 [L]