Concrete5 en PHP como CGI (Pretty URLs)
PHP como CGI no usa ciertas variables, o no las llena como debe, para hacer funcionar los Pretty URLs en este CMS hay que modificar nuestro .htaccess y /concrete/libraries/request.php
En el .htaccess hay que poner:
RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$1 [L]
En el /concrete/libraries/request.php hay que agregar
define('SERVER_PATH_VARIABLE', 'REDIRECT_URL');
Comments
Loading comments...
Leave a Comment
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.