AddDefaultCharset UTF-8

#php config
#AddHandler application/x-httpd-php main.php .php .inc .mod .class .ajax
DirectoryIndex main.php index.php index.html
#php_flag register_globals off
<FilesMatch \.inc$>
                  SetHandler "proxy:unix:/var/run/php_liderstart.com.sock|fcgi://localhost"
</FilesMatch>

<FilesMatch \.mod$>
                  SetHandler "proxy:unix:/var/run/php_liderstart.com.sock|fcgi://localhost"
</FilesMatch>

<FilesMatch \.class$>
                  SetHandler "proxy:unix:/var/run/php_liderstart.com.sock|fcgi://localhost"
</FilesMatch>

<FilesMatch \.ajax$>
                  SetHandler "proxy:unix:/var/run/php_liderstart.com.sock|fcgi://localhost"
</FilesMatch>

#error documents
ErrorDocument 400 /main.php?lng=es&section=main&module=error&nro=400
ErrorDocument 403 /main.php?lng=es&section=main&module=error&nro=403
ErrorDocument 404 /main.php?lng=es&section=main&module=error&nro=404

#Protect files and directories
Options -Indexes
<FilesMatch "(mod|inc|tpl|class|lng)$">
  Order allow,deny
  Deny from all
</FilesMatch>

#REWRITE RULES
Options +FollowSymLinks
RewriteEngine on
RewriteBase /

RewriteRule ^payment-check$ payment-check.php
RewriteRule ^([a-zA-Z0-9_\-]+)\.ajax$ app/ajax/$0
RewriteRule ^([a-z]{2})/([a-zA-Z0-9áéíóúñÁÉÍÓÚÑ:/\+\-]+)$ main.php?lng=$1&url=$2
    