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

Reply
 
Thread Tools Display Modes
  #11  
Old 07-28-2010, 10:50 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I'm getting closer in solving this one...

It seems that when you click on a thread or post, it includes the thread id AND the thread header in.... not sure why...


If I remove the thread header and just have the post ID, it works...

EG:
http://www.ozaudi.com/forums/showthr...I-install-them
compared to me just typing in:
http://www.ozaudi.com/forums/showthread.php?28609
....which works fine.....

Any ideas how to turn this off so it doesn't include the thread header ?
Reply With Quote
  #12  
Old 07-28-2010, 11:10 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you checked with your host to see if this is a mod_security issue on their end? Like I said, it works fine for me on my site.
Reply With Quote
  #13  
Old 07-28-2010, 11:17 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no I haven't, not sure what to ask them :-)

The same content worked fine in vbuleltin 3.8..... had to upgrade the other day as we got hacked badly (actually removed the sql database!), so it was time to upgrade...

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

I've actually got 4 other boards with the same probelm. They were upgraded many months ago, some were new boards, but all with the same issue......

It's got to be a setting somewhere, just need to find it :-)

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

Quote:
Originally Posted by Boofo View Post
What do you mean you can't change it? The Admin can change it anytime they want.

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

I just made a thread with the tile:

2004 Allroad - Relay clicking noise from glove box and flat battery :-( )

and clicking on it takes me straight to the thread. Is this happening on another page in the thread?
Just on this one... If I try and change it inline, it comes up with a 404 error....
Reply With Quote
  #14  
Old 07-28-2010, 11:36 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jnrdavo View Post
Just on this one... If I try and change it inline, it comes up with a 404 error....
I was getting these errors also and it turned out they needed to whitelist me on some mod_security rules.
Reply With Quote
  #15  
Old 07-28-2010, 11:46 PM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks. I'll check with the hoster and see what they/I can come up with.

Many thanks for your help :-)
Reply With Quote
  #16  
Old 07-29-2010, 01:00 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please let me know what you find out from them.
Reply With Quote
  #17  
Old 07-29-2010, 06:38 AM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post your ".htaccess"
Reply With Quote
  #18  
Old 07-29-2010, 07:52 AM
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

respone from hosting site:

im afraid we dont permit adjustmnents of the php.ini file anymore on a site by site basis

having said that the memory limit is 96Mb and Max Post size is 32Mb and there should be no need for any higher values


They did give me the option to upgrade the plan to my own VM instance where I can change the details.

.htaccess reads:

<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
</ifModule>
<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=259200, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=21600, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=21600, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>

RewriteEngine on

<Files 403.shtml>
order allow,deny
allow from all
</Files>

#SecFilterEngine Off
#SecFilterScanPOST Off

deny from 138.217.44.200
deny from 203.217.29.248
deny from 147.10.7.6
RewriteCond %{HTTP_HOST} ^ozaudi.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ozaudi.com$
RewriteRule ^/?$ http://www.ozaudi.com/forums/index.php [R=301,L]

RewriteCond %{HTTP_HOST} ^ozaudi.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ozaudi.com$
RewriteRule ^nuke/?$ http://www.ozaudi.com/forums/index.php [R=301,L]

Most of the top stuff added today to see if it would help.
Reply With Quote
  #19  
Old 07-29-2010, 09:19 AM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding this to the bottom

Code:
# Forum
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]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
IF you use Apache!!
Reply With Quote
  #20  
Old 07-29-2010, 11:39 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was just reading this over ...where it is showing the post name ..that looks like eithersetting in vbulletin 4. I have seen vbulletin 4 built is seo cause issues. I would shut that off first or change how it is behaving. I would do this before i would do any .htaccess rules.

it is in vbulletin options - server setting and optimization settings

I would actually go there and set friendly urls to standard urls and see if that fixes your issue. I think it will..

If not it is one of those settings in friendly url or somewhere in that section.
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 03:33 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.04061 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (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
  • (2)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
  • (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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete