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
<?php | |
echo 'teste'; | |
?> |
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
Table Pages | |
| id | title | slug | page_type | | |
| ------ | ------------- | ------------- | --------- | | |
| 1 | Home | home | page | | |
| 2 | Latest News | latest-news | news | | |
| 3 | About Us | about-us | page | | |
Table Page Types | |
| id | title | slug | route | | |
| ------ | ------------- | ------------- | -------------------- | |
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
<IfModule mod_rewrite.c> | |
# Make sure directory listing is disabled | |
Options +FollowSymLinks -Indexes | |
RewriteEngine on | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
#AllowOverride All |
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
AddHandler fcgid-script .php | |
FCGIWrapper "/dh/cgi-system/php74.cgi" .php |