I edited the .htaccess and my forum broke, what do i do? i don't have a backup for that file, and anything other than the board index brings up a internal error
500 Internal Server Error
http://www.hypergamer.net/board/index.php
What did you edit in the .htaccess file?
It would be best to either undo what you did, or possibly show us the contents of the .htaccess so someone with experience can help debug it possibly ;)
Sorry, basicly, i replaced it with a completely different .htaccess file, i didn't make a backup, if you one of could post your own file, id be very gratefull, im freaking out so bad right now...
I replaced mine with this:
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
</IfModule>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
RewriteEngine On
#RewriteBase
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*) $1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?category=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+) index.php?category=$1&title=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+)/([^/]+)/ index.php?category=$1&title=$2&commentspage=$3 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/([0-9]+)/ index.php?category=$1 articlespage=$2 [L]
As you can see, it's not a smf .htaccess file, please help me ! :'(
Well... I don't think SMF has any .htaccess file by default in the root directory of you forum, only in the directories such as Packages and avatars.
So if this is an .htaccess file where you index.php, Settings.php and SSI.php (And other things like the folders of Sources) is located, you can just remove the .htaccess
Yep. I run one in case I want to add something to it but at the moment it's blank. You can remove it if you like.
Nevermind, fixed it.