Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 07-04-2014, 12:28 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought you had it in your root if you told me you did not it would of saved a lot of time but it would still be better to transfer all files to outside the forum folder and not have a forums folder at all then you would not have problems
Reply With Quote
  #22  
Old 07-04-2014, 02:34 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loua_oz View Post
it was in post #8.

Contents of .htaccess

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?mysite.com$
RewriteRule ^(/)?$ forums


it is in /public_html directory.

www.srbijadotokija.com now goes nowhere.
I wasn't aware because you edited the post. The first one you posted was from the /forums directory.

--------------- Added [DATE]1404488179[/DATE] at [TIME]1404488179[/TIME] ---------------

Quote:
Originally Posted by ForceHSS View Post
I thought you had it in your root if you told me you did not it would of saved a lot of time but it would still be better to transfer all files to outside the forum folder and not have a forums folder at all then you would not have problems

I also thought this as this was what he said. Oh well, as long as it works.. Things like this are usually simple but hard to figure out unless we can go in ourselves.

--------------- Added [DATE]1404488238[/DATE] at [TIME]1404488238[/TIME] ---------------

Also, he said it happened suddenly and he did not do anything..

--------------- Added [DATE]1404488329[/DATE] at [TIME]1404488329[/TIME] ---------------

Quote:
Originally Posted by loua_oz View Post
There are only directories and 1 file: .htaccess provided in this thread in the root directory.

No index.html or index.php in root.

.htaccess file , 3 leading lines are

RewriteEngine on
RewriteCond %{HTTP_HOST} ^srbijadotokija.com [NC]
RewriteRule ^(.*)$ http://www.srbijadotokija.com/forums/$1 [R=301,L]


(it is much longer)

--------------- Added 04 Jul 2014 at 05:51 ---------------

Far out...

seems it's IE 11 that was causing failures to whatever I have tried.

Now, my old .htaccess works, new one provided by ForceHSS works as well.

The original problem was that .htaccess file somehow ended up in /public_html/forums/ directory.
When I moved it to /public_html then a totally unrelated problem started happening:
- The laptop where it did not work has IE 11 browser.
- Another desktop, has IE 10 and it was not working there.
- The laptop where it works has IE 8 browser, but that one was not used for testing what was being changed. When I did, presto!

When you guys said "works for me" I should have realized you could be using Firefox or whatever else.

Thanks to all who replied.

The moral of the story could be:
- ensure .htaccess is in the root directory
- try different browser
I am still a bit confused. The redirects should work in any browser if it is in the right place, the root.
Reply With Quote
  #23  
Old 07-05-2014, 12:33 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the .htaccess file did exist in ./ but was 0 length. Must be hackers who inserted ajax-2.php into my root directory 4 days ago.

One that was in /forums had proper content but was not used (was in wrong place).

When moved to ./ one PC with IE 11 kept on showing failures.

Other PC (IE 8) worked but it was tried a few hours and 10 posts in here later.

Now, cleared cache and cookies on IE 11 PC (typing from it now) and it works there too.
Reply With Quote
  #24  
Old 07-05-2014, 12:56 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know.. Very hard to troubleshoot without all the info. I must have missed where you told us about ajax-2.php being there. Sometimes in here it takes a bunch of people guessing because we do not have all the info when something like this can usually be figured out in 5 minutes if we were to look ourselves.

If you suspect your site was hacked then simply fixing the htaccess will not keep them out. You need to figure out how your site or server was comprised or if it is still vulnerable. I would address this asap. Usually a hacker breaks into a site to do more than just delete the contents of an htaccess file.
Reply With Quote
  #25  
Old 07-05-2014, 01:00 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might be best to let someone here in to fix this problem for you
Reply With Quote
Благодарность от:
RichieBoy67
  #26  
Old 07-05-2014, 01:01 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Might be best to let someone here in to fix this problem for you
I know some who is good at this stuff too! His name is ForceHSS! lol
Reply With Quote
Благодарность от:
ForceHSS
  #27  
Old 07-05-2014, 01:26 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol
Reply With Quote
  #28  
Old 07-05-2014, 11:19 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Might be best to let someone here in to fix this problem for you
Thanks for the offer and your help along the way.

If it is that hackers can get into my site as they please, then it is the webhostinghub.com problem.

If they are coming through VBulletin, then that is the product (VBulletin) problem.

Appreciating yout time and advice, I can say nobody would have to resort to "anyone who would listen" when there is a systemic issue.

Good old IBM, myself worked for them, quality control, nobody is doing that way anymore.
Reply With Quote
  #29  
Old 07-05-2014, 01:08 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't use post the contents of that ajax-2.php file so we can see what it is? If it is Debase64 code we can decode it and see what it is doing or attempting to do.

I would also check your diagnostics to see what files are not part of Vbulletin and for sure check your server logs.
Reply With Quote
  #30  
Old 07-06-2014, 12:11 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't post it, deleted it.

Maintenance - Diagnostics showed it as non-part of VB. Since removing it, comes clean.
Changed all passwords that moment.

I posted about it 2 weeks ago, seemed the provider had attack on sites they host, they informed me about removing some script "mail-allsin.php" and to check site if more is there.
ajax-2.php was but i did not notice that .htaccess was zero length.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10165 seconds
  • Memory Usage 2,284KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete