![]() |
Apache server question
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. |
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 |
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 |
Make a file called index.php in your domain root with the following content:
PHP Code:
|
Quote:
Really worked good when I spelled forums correctly. :D |
Quote:
|
It is not a method you should use on a busy site, as it will have a negative impact on performance.
|
That is the first time I have ever heard that said about doing it that way. How so?
|
Because it will have 2 pageloads.
|
Quote:
|
All times are GMT. The time now is 05:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|