- Warning
Message:Can't generate URI! Route `` not found!File:/srv/disk1/1746522/www/colossus.fi/ow/ow_core/router.phpLine:236
in other words i have my main site site.com and i have a addon domain of site2.com
i should be addressing that site2.com as site2.com even though in my file directory the domain is a sub folder of site.com
so what name did you register for your addon domain
<?php
define('OW_URL_HOME', 'http://colossus.fi/ow/');
define('OW_DB_HOST', 'pdb13.awardspace.net');
define('OW_DB_PORT', null);
define('OW_DB_USER', '
define('OW_DB_PASSWORD', '
define('OW_DB_NAME', '1'
define('OW_DB_PREFIX', 'tucg_');
define('OW_DIR_USERFILES', OW_DIR_ROOT.'ow_userfiles'.DS);
define('OW_DIR_STATIC', OW_DIR_ROOT.'ow_static'.DS);
define('OW_URL_STATIC', OW_URL_HOME.'ow_static/');
define('OW_URL_USERFILES', OW_URL_HOME.'ow_userfiles/');
define('OW_DIR_PLUGINFILES', OW_DIR_ROOT.'ow_pluginfiles/');
define('OW_PASSWORD_SALT', 'X9ru2wWlr1JvT');
define('OW_DIR_CORE', OW_DIR_ROOT.'ow_core'.DS);
define('OW_DIR_INC', OW_DIR_ROOT.'ow_includes'.DS);
define('OW_DIR_LIB', OW_DIR_ROOT.'ow_libraries'.DS);
define('OW_DIR_UTIL', OW_DIR_ROOT.'ow_utilities'.DS);
define('OW_DIR_PLUGIN', OW_DIR_ROOT.'ow_plugins'.DS);
define('OW_DIR_THEME', OW_DIR_ROOT.'ow_themes'.DS);
define('OW_DIR_SYSTEM_PLUGIN', OW_DIR_ROOT.'ow_system_plugins'.DS);
define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS);
define('OW_USE_CLOUDFILES', false);
if ( defined('OW_CRON') )
{
define('OW_DEBUG_MODE', false);
define('OW_DEV_MODE', false);
define('OW_PROFILER_ENABLE', false);
}
else
{
/**
* Make changes in this block if you want to enable DEV mode and DEBUG mode
*/
define('OW_DEBUG_MODE', true);
define('OW_DEV_MODE', false);
define('OW_PROFILER_ENABLE', false);
}
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://colossus.fi/ow/$1 [R,L]
here you go
Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} !/captcha\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php