vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   default .htaccess is usless (https://vborg.vbsupport.ru/showthread.php?t=328206)

afterburn25 08-24-2020 05:56 PM

default .htaccess is usless
 
.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:

HTML Code:

#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]



All times are GMT. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01026 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete