Hi,
I am having some trouble with migration to a different server. I am moving my oxwall from a shared host to a dedicatd centos server.
With webmin for a GUI - I have setup a virtual host in apache.
I think I am having trouble with the routing..
we have moved the file system and db into the new server, as a subdomain. And can see the index page of oxwall, but not any other page.
I have mod_rewrite enabled in the apache conf
----------------
ServerName oxwall.myserver.com
DocumentRoot /var/www/html/oxwall/
#Redirect / https://oxwall.myserver.com/
<Directory /var/www/html/oxwall/>
Options FollowSymLinks
AllowOverride All
</Directory>
----------------------------
and in the htaccess...
----------------------------
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} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
----------------------
my config.php has :-
define('OW_URL_HOME', 'https://oxwall.myserver.com/');
and I have tried (but with no luck) to place (in the .htacess)
RewriteCond %{HTTP_HOST} !https://oxwall.myserver.com/$
Can someone please help me figure this out?
Kindest.
Matt