- Mensajes
- 4
- Puntuación de reacción
- 0
Hola, tengo un script que me da un error 500.
y supongo que el error está en el htaccess.
Esto es lo que tengo en ese archivo:
Options +SymLinksIfOwnerMatch -MultiViews +Indexes
<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|tpl)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<IfModule mod_headers.c>
# WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf|css|js)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
</IfModule>
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]
# Installer
RewriteRule ^install/?$ install.php [L]
# Static Pages
RewriteRule ^static/([^/]+)/?$ static.php?url=$1 [L]
......
si me pudieran ayudar se lo agradecería!
y supongo que el error está en el htaccess.
Esto es lo que tengo en ese archivo:
Options +SymLinksIfOwnerMatch -MultiViews +Indexes
<FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|tpl)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<IfModule mod_headers.c>
# WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf|css|js)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
</IfModule>
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]
# Installer
RewriteRule ^install/?$ install.php [L]
# Static Pages
RewriteRule ^static/([^/]+)/?$ static.php?url=$1 [L]
......
si me pudieran ayudar se lo agradecería!