primerproyecto/panafrikana.es-web/master/.htaccess - Htaccess File

primerproyecto/panafrikana.es-web/master/.htaccess

<FilesMatch ".(ttf|otf|eot|woff)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>
RewriteEngine on

RewriteCond %{HTTP_HOST} ^panafrikana.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.panafrikana.es$
RewriteRule ^/?$ "http://www.panamerikana.org/panafrikana.es/index.php" [R=301,L]
<IfModule mod_php5.c>

  php_value upload_max_filesize       28M
  php_value post_max_size           30M
  php_value max_execution_time         120
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /panafrikana.es/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /panafrikana.es/index.php [L]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /panafrikana.es/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /panafrikana.es/index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache