Web Development Thread, How do you alter the .htaccess file to show a new homepage? in Coding and Web Development; I'm stuck here. By default PHPBB3 lands people on the index.php page in the root of the site. Because the ...
20th July 2011, 01:41 PM #1
How do you alter the .htaccess file to show a new homepage?
I'm stuck here. By default PHPBB3 lands people on the index.php page in the root of the site. Because the defualt PHPBB landing page is dull, dull, dull I've installed a module that gives it a 'homepage', listing recent posts, polls etc. This modules landing page is portal.php. Now, as far as I'm aware all I have to do is change a part of the .htaccess file from this:
DirectoryIndex index.html index.htm index.php portal.php
Deny from All
Deny from All
Which I have done, to no effect. Any help or pointers as to what I may be doing wrong? And yes, the web host does allow the use of .htaccess files before anyone asks.
Last edited by Dos_Box; 20th July 2011 at 03:04 PM.
27th July 2011, 12:07 AM #2
I don't like to suggest that a god has done anything wrong...but...
What prog did you use to edit the htaccess file? has it been saved in Unix format?
Also where have you put the file?
I ask because I have got both of these wrong in the past
27th July 2011, 12:29 AM #3
Depending how the servers setup you may need to do an AllowOverride to let the directory use the htaccess else it may be denying it as it's set further up.
Might be worth adding it to quickly check
By ninjabeaver in forum How do you do....it?
Last Post: 6th December 2006, 12:48 PM
By MrLudwig in forum Wireless Networks
Last Post: 10th September 2006, 12:09 AM
By fooby in forum Windows
Last Post: 14th June 2006, 03:18 PM
By russdev in forum ICT KS3 SATS Tests
Last Post: 16th May 2006, 01:16 PM
By pshuttle in forum General Chat
Last Post: 17th March 2006, 07:14 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)