I am able to login the wiki with a second domain.
The only issue that stands now is having the domain cooperate with VaultWiki's SEO URL format. As it stands, I cannot have it cope unless it's the very first URL format and having it as the first is not very ideal for me.
Here is my .htaccess settings
Code:
Options -Indexes
Header set Access-Control-Allow-Origin: "*"
Header set Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept"
RewriteEngine On
RewriteBase /
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php|wiki)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images|wiki)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
RewriteCond %{HTTP_HOST} !^main\.com$
RewriteRule ^forum.php$ forum.php [R]
RewriteCond %{HTTP_HOST} ^second\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^wiki/(.*)$ wiki_index.php [L,QSA]
Any tips on how to do it?
Bookmarks