Brett Peters
Well-known member
Much apriciated
This really made it too easy
This really made it too easy
Hey Darkimmortal... I just encountered my first error with this mod...
I had VB4 installed in the ROOT, with mod rewrite URLs.
I installed XenForo in the ROOT, with mod rewrite URLs.
I installed this mod using all FOUR steps of the mod rewrite URLs section.
I did not do any of the additional "change of directory" steps.
Up until now it has worked great. However, I have since encountered a few problems that only occur when this mod is enabled...
This thread:
http://www.8wayrun.com/threads/30-01-2011-france-streaming-gcc4.6601/
With the mod enabled, can not be replied to. If you click "More Options" on the reply form, instead of bringing you to /add-reply, it will bring you to:
http://www.8wayrun.com/threads/general-strategy.20/
With this thread: http://www.8wayrun.com/threads/10-chicago-casual-play-vids.6566/
It will take you to: http://www.8wayrun.com/threads/arizona-az-fighters-if-there-are-any.9/
I have fixed this issue by disabling this mod for now.
Darkimmortal,
Ok I uploaded the content of standard-basic-advanced/upload to the forum root and added
RewriteRule ^/old-dir/showthread.php /new-dir/showthread.php RewriteRule ^/old-dir/forumdisplay.php /new-dir/forumdisplay.php
to my .htacces file inside my forum root and I even tried adding it to my .htaccess inside my root folder
by it redirects me to my main xenforo page itead of the thread
I installed xenforo on a dnew directory
Are you sure you need those rewrite rules? Try without them
RewriteEngine On
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.domain.org
AuthUserFile /home/cogumelo/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/cogumelo/public_html/_vti_pvt/service.grp
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://artigos.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://artigos.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://biblioteca.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://biblioteca.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://galeria.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://galeria.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.artigos.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.artigos.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.biblioteca.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.biblioteca.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.forum.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.forum.domain.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.galeria.domain.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.galeria.domain.org$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options All
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
did not work..
-snip-
RewriteRule ^/forum/showthread.php /xenforo/showthread.php
RewriteRule ^/forum/forumdisplay.php /xenforo/forumdisplay.php
It is still doing like mentioned on the other thread, the showthread.php?t=THREAD_ID redirects fine, but showthread.php?THREAD_ID-thread-title does not :/
what are these original mod_rewrite rules?I can't reproduce the issue on my end, but it's probably a trigger happy regex in Route/Prefix/Threads.php. If you can't fix the issue there then you could just fall back to using the original mod_rewrite rules, which should still work alongside XenForo.
what are these original mod_rewrite rules?
BTW, I've determined that as this mod stands now, it is unusable. The system uses the Import Log to handle the maps from old IDs to new IDs. The problem is that the import log is volatile; it gets wiped whenever a new import is started. So I may import all my forum information one time, and that fills it up with the relevant id maps. But if I do another import, such as from another forum, all the old id maps get wiped out.
Jaxel, have you found a fix, if so then please guide me to it as I'm having same problem.Hey Darkimmortal... I just encountered my first error with this mod...
I had VB4 installed in the ROOT, with mod rewrite URLs.
I installed XenForo in the ROOT, with mod rewrite URLs.
I installed this mod using all FOUR steps of the mod rewrite URLs section.
I did not do any of the additional "change of directory" steps.
Up until now it has worked great. However, I have since encountered a few problems that only occur when this mod is enabled...
This thread:
http://www.8wayrun.com/threads/30-01-2011-france-streaming-gcc4.6601/
With the mod enabled, can not be replied to. If you click "More Options" on the reply form, instead of bringing you to /add-reply, it will bring you to:
http://www.8wayrun.com/threads/general-strategy.20/
With this thread: http://www.8wayrun.com/threads/10-chicago-casual-play-vids.6566/
It will take you to: http://www.8wayrun.com/threads/arizona-az-fighters-if-there-are-any.9/
I have fixed this issue by disabling this mod for now.
Nope... I've just stopped using this mod all together. Many of my threads have numbers in the titles, and the regex conflicts with that.Jaxel, have you found a fix, if so then please guide me to it as I'm having same problem.
OR
Dark, may be you troubleshoot this?
Thanks.
We use essential cookies to make this site work, and optional cookies to enhance your experience.