Rusnak PHP Scripts Support Forums

Full Version: Mod can run in a subdomain over root and nor subdirectory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Like in thread subject,

I can run succesfully

http://forums.vedovanetwork.com/create/

and have Mod installed on / root subdomains directory withouth any mod.

Simply insert "/" on the subdirectory box, instead of mybb or forums.

Now with completely subdomains support there's no need to have script installed on a subdirectory Smile

(of course i can have htto://www.mydomain.com/create/ if i need)

MyBB ver 1.4.9 with english + italian language installed
I don't really understand what this does besides allowing you to install MyBB directly on your root directory. I don't get the "subdomain " support part of this. What other URL's should work on your forum host?
(10-19-2009 04:17 AM)kab012345 Wrote: [ -> ]I don't really understand what this does besides allowing you to install MyBB directly on your root directory. I don't get the "subdomain " support part of this. What other URL's should work on your forum host?


to having a .html or .php file for index on root, and not the error message
"The forum you are looking for cannot be found. It is possible that it was deleted, either due to a terms of service violation or due to inactivity."

you have to edit inc/mysqli.php or inc/mysql.php (refer to the db type you're using)

and search for

echo "The forum you are looking for cannot be found. It is possible that it was deleted, either due to a terms of service violation or due to inactivity.";

so replace this string with

require_once "filename.ext";

Smile

now you have http://www.yourdomain.ext/ with a custom homepage,
and http://guestforum.yourdomain.ext with the default forum homepage.

of course edit httpd.conf or httpd.include (this one in plesk under /var/www/vhosts/httpdocs/domain.ext/conf/httpd.include)
and put *.subdomain.domain.ext
if you want use a subdomain and not a TLD.

that's all
Oh, ok, I understand it now. It also makes it so that your whole website will work on any subdomain.
Reference URL's