RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteRule ^(manager|assets)/*$ - [L]
GET http://localhost/cubarevo/connectors/lang.js.php?ctx=mgr&topic=topmenu,file,resource,welcome,configcheck&action= 404 (Not Found) localhost:11 GET http://localhost/cubarevo/connectors/layout/modx.config.js.php?action=&wctx=mgr 404 (Not Found)
RewriteRule ^(assets|connectors) - [L]
# The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# For full documentation and other suggested options, please see # http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions # including for unexpected logouts in multi-server/cloud environments #Options +FollowSymlinks RewriteEngine On RewriteBase /cubarevo/ # Fix Apache internal dummy connections from breaking [(site_url)] cache #RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC] #RewriteRule .* - [F,L] # Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin #RewriteCond %{http_host} ^naar-cuba.nl #RewriteRule ^(.*)$ http://www.naar-cuba.nl/$1 [R=301,L] # Exclude /assets and /manager directories from rewrite rules RewriteRule ^(assets|connectors) - [L] RewriteRule ^reizen/(.*)$ http://www.naar-cuba.nl/vakantie/$1 [R=301,L] # For Friendly URLs RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(.*).(js|jpg|css|png|gif)$ RewriteRule ^vakantie/(.*)/(.*)\.html$ accommodatie.html?alias=$2&case=specifiek [L] RewriteCond %{REQUEST_FILENAME} !^(.*).(js|jpg|css|png|gif)$ RewriteRule ^vakantie/(.*)\.html$ search.html?case=zoek&reis=$1 [L] RewriteCond %{REQUEST_FILENAME} !^(.*).(js|jpg|css|png|gif)$ RewriteRule ^offerte-accommodatie/(.*)\.html$ offerte-accommodatie.html?alias=$1 [L] RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] RewriteRule ^(.*)\.xml$ index.php?q=$1.xml [L,QSA]