MyBB Community Forums

Full Version: Every page request gives a 404 error!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I moved my forum from a shared host to an unmanaged VPS. It's CentOS 6.3 x64 build with LAMP and firewall/security properly setup.

But forwhatever reason ALL page/forum requests BESIDES index.php give:
Quote:Not Found

The requested URL /forums/forum-4.html was not found on this server.

Apache/2.2.15 (CentOS) Server at Port 80

Not understanding what is causing this I disabled Google SEO but that still didn't work... old original MyBB urls show in links now but I still get a 404.. so to me.. I think it's something with apache or php maybe? I have the stock .htaccess file codes in place... so no idea what to do now.

I just shelled out a ton of money to have security setup... now I have to deal with this... any pointers would be GREATLY appreciated! thank you.

Edit:
I want to point out ALL php files work... it's just anything that's a forum link or thread link or post link doesn't.
From the look of it, ModRewrite is not enabled. I'm not 100% sure how to enable it on CentOS, since I'm a Ubuntu Fan.

Try this:

sudo a2enmodrewrite

Then

sudo nano /etc/apache2/sites-available/default

In the larger of the 2, change AllowOverrride from none to all

then

service apache2 restart

Have fun
ZOMG I love you!

I did this since I'm on CentOS:
sudo vi /etc/httpd/conf/httpd.conf

changed AllowOveride None
to AllowOverideAll

:wq

service httpd restart

And presto! It works! hahaha awesome, thank you!
(2013-04-15, 08:09 AM)WebDevandPhoto Wrote: [ -> ]ZOMG I love you!

(insert commands)

And presto! It works! hahaha awesome, thank you!

Cheers for the details, I gave you the Ubuntu version, sorry about that Smile