The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
is it possible to have my server load home.php rather than index.php when people enter the domain name in the address bar?
|
#2
|
||||
|
||||
![]()
Yes, you can do this via the web server's config file. For Apache, this file is called "httpd.conf".
|
#3
|
|||
|
|||
![]()
thanks for the quick response, but where is that file located?
|
#4
|
||||
|
||||
![]()
You will only have access to this file if you control the server. It is usually located in /etc/httpd/conf.
|
#5
|
|||
|
|||
![]()
the only folder in my etc folder is a folder with my domain name, in that folder there are the files:
password quota shadow and a folder with a file named info. |
#6
|
||||
|
||||
![]()
login via SSH and do
updatedb locate httpd.conf it'll give you some locations for httpd.conf |
#7
|
|||
|
|||
![]()
Might only work if you have root access to the server.
In some control panels the httpd.conf is also included and can be editted from your browser. |
#8
|
|||
|
|||
![]()
thanks for the replies, but how do i log in via ssh?
(i've never dealt with ssh before). what would it be labeled if it was in my control panel? |
#9
|
||||
|
||||
![]()
Just create a .htaccess file in your root folder and put this line inside it:
Code:
DirectoryIndex home.php More info on .htaccess: http://www.javascriptkit.com/howto/htaccess.shtml More info on DirectoryIndex: http://www.javascriptkit.com/howto/htaccess6.shtml |
#10
|
|||
|
|||
![]()
sweet, exactly what i was looking for!
thank you! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|