Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 07-03-2014, 10:47 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

This was the thread I thought I was just responding to in another thread.

OP-Post the contents of your root htaccess here please
Reply With Quote
  #12  
Old 07-03-2014, 10:53 PM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 07-03-2014, 11:36 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me. I did notice you have done your sections wrong, it really does look a mess

Try this htaccess file I done for you. If you have any custom things add them but do save a copy of the one you have
Attached Files
File Type: zip htaccess.zip (2.2 KB, 3 views)
Reply With Quote
  #14  
Old 07-03-2014, 11:39 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.
works for me too..
Reply With Quote
  #15  
Old 07-04-2014, 12:28 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Copied content of the provided .htaccess file, still

HTTP 404 not found

"The web page cannot be found"



if I try

www.srbijadotokija.com/forums

it goes as expected.
Reply With Quote
  #16  
Old 07-04-2014, 12:34 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't copy what is in the file just upload it and overwrite the one you have. Also what are you using to edit your files and what do you have in your admincp/Site Name / URL / Contact Details/Forum URL
Reply With Quote
  #17  
Old 07-04-2014, 12:42 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see your problem you have all your files inside a folder called forums in your ftp try this htaccess file but just upload it over writing the one you have. You really would be best to keep all files outside the forum folder in other words have no folder called forums but its done now
Attached Files
File Type: zip htaccess.zip (2.2 KB, 6 views)
Reply With Quote
  #18  
Old 07-04-2014, 01:38 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

downloaded the .htaccess file, unzipped and uploaded to /public_html using FileZilla.

Still same (HTTP not found 404) unless I use www.srbijadotokija.com/forums

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

Quote:
Originally Posted by ForceHSS View Post
Don't copy what is in the file just upload it and overwrite the one you have. Also what are you using to edit your files and what do you have in your admincp/Site Name / URL / Contact Details/Forum URL
webhostinghub (the provider) have CPanel with editor and code editor. When editing anything, using their tools.
Reply With Quote
  #19  
Old 07-04-2014, 02:21 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess that list of directories if I go to your root at http://www.srbijadotokija.com/ . Do you have an index.html or index.php file in the root directory (I am not talking about in the /forum directory)?
Reply With Quote
  #20  
Old 07-04-2014, 03:56 AM
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1404467476[/DATE] at [TIME]1404467476[/TIME] ---------------

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
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:52 PM.


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.04312 seconds
  • Memory Usage 2,264KB
  • Queries Executed 14 (?)
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
  • (2)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete