Skip to content
Snippets Groups Projects
Commit 5d5cdbbd authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

adding the httpd.conf template

parent 04045775
No related branches found
No related tags found
No related merge requests found
<Directory path_to_the_root_directory/web>
Options Indexes MultiViews FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/$ /$1 [L,R]
RewriteRule "json_api\.php" "/master.php?page=api" [QSA,END]
RewriteRule "^([a-z][a-z_]*)\.php$" "/master.php?page=$1" [QSA,NS,END]
RewriteRule "^([a-z][a-z_]*)$" "/master.php?page=$1" [QSA,NS,END]
RewriteRule "^$" "/master.php?page=index" [QSA,NS,END]
Order deny,allow
Allow from all
Require all granted
</Directory>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment