Moved .htaccess
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
Options +FollowSymLinks
|
||||
RewriteEngine On
|
||||
|
||||
ErrorDocument 404 /error404.jpg
|
||||
|
||||
RewriteCond %{SCRIPT_FILENAME} !-d
|
||||
RewriteCond %{SCRIPT_FILENAME} !-f
|
||||
|
||||
# Resolve .php file for extensionless php urls
|
||||
RewriteRule ^([^/.]+)$ $1.php [L]
|
||||
|
||||
RewriteRule ^([^/.]+)\/$ $1.php [L]
|
||||
|
||||
RewriteRule ^profile/([A-z0-9]+)\/?$ profile.php?username=$1 [NC]
|
||||
14
website/public/.htaccess
Normal file
14
website/public/.htaccess
Normal file
@@ -0,0 +1,14 @@
|
||||
#Options +FollowSymLinks
|
||||
#RewriteEngine On
|
||||
#
|
||||
#ErrorDocument 404 /error404.jpg
|
||||
#
|
||||
#RewriteCond %{SCRIPT_FILENAME} !-d
|
||||
#RewriteCond %{SCRIPT_FILENAME} !-f
|
||||
#
|
||||
## Resolve .php file for extensionless php urls
|
||||
#RewriteRule ^([^/.]+)$ $1.php [L]
|
||||
#
|
||||
#RewriteRule ^([^/.]+)\/$ $1.php [L]
|
||||
#
|
||||
#RewriteRule ^profile/([A-z0-9]+)\/?$ profile.php?username=$1 [NC]
|
||||
Reference in New Issue
Block a user