PDA

View Full Version : default .htaccess is usless


afterburn25
08-24-2020, 05:56 PM
.htaccess doesnt work at all right out the box i keep getting errors.

A System Error has occured.
The software is experiencing a systems error.

You should attempt to repeat your last action. If this error occurs again, please contact the site administrator.

this is from using the default .htaccess originally had it working but forgot how I fixed it. I had to re upload original files back onto server since someone installed malware think they changed some of the core files so re uploaded files now cant get .ht access working. I also use an https site so need that in there as well nothing i have tried works. the closest i came was getting to site but when i try to log in it just kept bringing me back to login box and couldn't login to admincp

delicjous
08-25-2020, 04:36 AM
Sorry, but why is it useless when someone else had edited your files. The .htaccess does not prevent errors!

You should download original files and upload them (replace your files) again.
There are a lot of posts on vBulletin.com forum on how to get your forum fixed after it was hacked.

If you backup your old files, delete them, upload original files, change config file to your needs and rename htaccess.txt to .htacces everything should work (if you did not had any 3Party-plugins installed)!

afterburn25
08-25-2020, 05:10 AM
Thats just it Noone edited the files I'm using the origional harness that came with vbullwtin I had the exact same trouble when I first installed it dont remember how I fixed it but it was definitely something to do with htaccess

delicjous
08-25-2020, 05:54 AM
Perhaps xou need to uncommend some of this:

#If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
#old vB4 urls to a similar location in vB5. This is unnecesary for a new vB5 install.
#RewriteRule ^threads/.* showthread.php [QSA]
#RewriteRule ^forums/.* forumdisplay.php [QSA]
#RewriteRule ^members/.* member.php [QSA]
#RewriteRule ^blogs/.* blog.php [QSA]
#RewriteRule ^entries/.* entry.php [QSA]

#To redirect users to the secure version of your site, uncomment the lines below
#RewriteCond %{HTTPS} !=on
#RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]