The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This is probably a easy question but I just can't figure it out. I run Apache on a in-house Windows box. My url is www.thewirelessregister.com. When that url is accessed it goes to a splash page with a link to www.thewirelessregister.com/fourms/.
How do I configure Apache to go directly to the forum when www.thewirelessregister.com is entered in the browser? It's probably something in the vhosts.conf file. Any help would be appreciated. |
#2
|
|||
|
|||
![]()
Add a .htaccess file to your root/www folder with this in it, that assumes you have mod_rewrite configured into apache.
Code:
RewriteEngine on rewritecond %{http_host} ^thewirelessregister.com [nc] rewriterule ^(.*)$ http://www.thewirelessregister.com/forums/$1 [r=301,nc] |
#3
|
||||
|
||||
![]()
Or just move the forum directory one level down. Then you can disable .htaccess to have some speed-up.
If you don't want or can move the files, maybe better do it directly in the Vhost configuration that you again disable .htaccess parsing |
#4
|
||||
|
||||
![]()
Make a file called index.php in your domain root with the following content:
PHP Code:
|
#5
|
|||
|
|||
![]() Quote:
Really worked good when I spelled forums correctly. ![]() |
#6
|
||||
|
||||
![]() Quote:
![]() |
#7
|
|||
|
|||
![]()
It is not a method you should use on a busy site, as it will have a negative impact on performance.
|
#8
|
||||
|
||||
![]()
That is the first time I have ever heard that said about doing it that way. How so?
|
#9
|
|||
|
|||
![]()
Because it will have 2 pageloads.
|
#10
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|