-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
50 lines (39 loc) · 1.48 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteBase /storian/
RewriteRule intro$ Controller/index.php
RewriteRule modos$ Controller/goTo_seleccionModo.php
RewriteRule info$ Controller/goTo_info.php
RewriteRule modos/leer$ Controller/goTo_formularioLeeHistoria.php
RewriteRule modos/escribir$ Controller/goTo_control_acceso.php
RewriteRule modos/leer/cuento$ Controller/procesaHistoria.php
RewriteRule login$ Controller/goTo_control_acceso.php
RewriteRule acceso$ Controller/procesarControl.php
RewriteRule checkUser$ Controller/check-username.php
RewriteRule checkEmail$ Controller/check-email.php
RewriteRule registro$ Controller/goTo_formAltaUser.php
RewriteRule perfil$ Controller/goTo_panel_usuario.php
RewriteRule alta$ Controller/procesarAltaUsuario.php
RewriteRule baja$ Controller/eliminaCuenta.php
RewriteRule cierraSesion$ Controller/cierraSesion.php
RewriteRule grabaHistoria$ Controller/grabarHistoria.php
# API Controllers
RewriteRule api/get-story$ Controller/api/getStory.php
RewriteRule api/get-stories-length$ Controller/api/getStoriesLength.php
# Ver PHP errors
php_flag display_errors off
php_value error_reporting 6143
</IfModule>
AddType image/svg+xml svg
AddType image/svg+xml svgz
AddType image/x-icon .ico
AddEncoding gzip svgz
<ifModule mod_headers.c>
<FilesMatch "\.svg$">
SetHandler application/x-httpd-php
Header set Content-Type "image/svg+xml"
</FilesMatch>
</IfModule>