• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

¿Que debo editar en el .htaccess ?

  • Thread starter Thread starter IvanEsteban
  • Start date Start date
Status
Not open for further replies.
I

IvanEsteban

Guest
Por favor, que es lo que debo editar?

Asi lo tengo:

<files file-name>
order allow,deny
deny from all
</files>


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^([^.]+)$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.sym.cl/chv/$1/ [L,R=301]


# HAGAMOS CACHE (1 SEMANA = 604800) Actual 3 Meses
<FilesMatch "\.(jpg|gif|png|bmp)$">
Header set Cache-Control "max-age=7257600, public"
</FilesMatch>


RewriteEngine On
# index PAGE slash final
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# index PAGE dot exten
RewriteRule ^(.*).html$ index.php?p=$1 [L]
RewriteRule ^(.*).htm$ index.php?p=$1 [L]


ErrorDocument 400 /index.php?p=400
ErrorDocument 401 /index.php?p=401
ErrorDocument 403 /index.php?p=403
#Only local files allowed ex. ErrorDocument 404 /404.html
ErrorDocument 500 /index.php?p=500
ErrorDocument 503 /index.php?p=503
 
Status
Not open for further replies.
Back
Top