MyBB Community Forums

Full Version: Portal as index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm trying to make the portal into the first page.I got it to read the forums but I can't log in. Also I can't seem to see attachments on the portal page ether. How do I fix this?

http://jrose.net78.net/ (Portal Page)
http://jrose.net78.net/forums/index.php (Forum Index)

Edit:
Oops Its 1.6 version not 1.4
Sorry I posted it in the wrong forums.
Put this in your htaccess:

DirectoryIndex portal.php index.php


O wait.. You are using a different portal? Can't look as your site is under review..


My site is not under review now. I added that line to my htaccess but now I get this error.


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
That shouldn't cause that error, remove it anyway so we can see what's going on.
I deleted the .htaccess file
You can't have the the portal in the root and the forum in a subdirectory. Move portal.php back the the forums directory and put the following code in a .htaccess file in the root directory to give the effect of the portal being at http://jrose.net78.net/

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^$ forum/portal.php [L,QSA]
</IfModule>

You'll also need to change the cookie path to / for the portal login to work.
Anther 500 error. I must be making my .htaccess file the wrong way or my host doesn't fully support .htaccess. I guess it doesn't help that I am doing everything on an old mac(10.3.9). I save the htaccess as a doc file. Then I rename it once it is on the server to .htaccess
PM me FTP login details if you want me to try it. Smile
FTP details sent.
Well I'm not getting any 500 errors. Not sure what you could have done to cause that.

Is it really necessary for the forum to be in a subdirectory? Can't it just be in the root?
Pages: 1 2