PDA

View Full Version : [vRewrite] - htaccess generator


Bhuwan
03 Apr 2006, 00:42
Since vRewrite depends heavily on your htaccess file, I decided to create
this very simple script(vRewrite info is here (http://www.vbulletin.org/forum/showthread.php?t=104484)).

1) install vRewrite - here (http://www.vbulletin.org/forum/showthread.php?t=104484) (vRewrite is turned off by default, so it's okay to install it without a htaccess file)
2) Set your options in vBulletin ADmincp -> options -> vRewrite
3) Upload 'vrewrite_htaccess.php' to /admincp/
4) go to http://forum/admincp/vrewrite_htaccess.php
5) Data printed on screen are the contents of what your htaccess file should be (copy, paste, upload to server!)
6) delete 'vrewrite_htaccess.php' in /admincp/


Thanks

UPDATES
April 7, 2006 / 7, April 2006 - Updated to version 0.2 to work with vRewrite 1.5 RC3

APRIL 16, 2006 - released v1.0 to work with vRewrite 1.5 STABLE

Immortal
03 Apr 2006, 00:48
I wonder if I should install this or not! :D

Just kiddin', of course!

/me installs

Bhuwan
03 Apr 2006, 00:53
haha :)

jlaine
03 Apr 2006, 04:11
/me installs... ;) obviously.

sellbuydomain
04 Apr 2006, 20:43
is this copy and replace in the hatcess file? or just add these data at the end of codes in hatcess fiel?

Bhuwan
05 Apr 2006, 19:03
is this copy and replace in the hatcess file? or just add these data at the end of codes in hatcess fiel?Copy and paste -- the goal is to not provide a htaccess in the future - the user set's the htaccess based on this file.

Bhuwan
07 Apr 2006, 14:15
Updated to version 0.2 to work with RC3 of vRewrite

Gastongr
19 Apr 2006, 17:15
Great, i'm installing right now :D

wsdeluxe
22 Apr 2006, 16:56
Fatal error: Call to undefined function: can_administer() in /home/site/public_html/forum/vrewrite_htaccess.php on line 15

Thats all i get :(

Immortal
22 Apr 2006, 17:02
Thats all i get :(

Which vB version are you running?

girish.r
25 Apr 2006, 20:49
wsdeluxe,this error occurs when you upload the file 'vrewrite htaccess.php' to the root. Upload it to admincp and it will work fine.

melefire
28 May 2006, 11:51
thanks i knew i mess it up if i did it myelf

sakib0
11 Jun 2006, 20:33
ok bravo

letsjoy
03 Jul 2006, 18:58
query: 6 - used to find last poster4107,4387,4223,4296,3963,4405,4313,4329,4231,2316,3929,4346,4365,3974,3771 ,4382,3921,4359,4390,4025,4347,4364
total time: -0.82563


its working now but
i am receiving this on page start how to remove it ?

maroceve
13 Jul 2006, 10:18
Guys how do i vrewrite my /gallery/browseimages.php ? :)

World8X
05 Aug 2006, 02:21
How to use vRewrite with vbulletin 3.6.0?

m3_fs
16 Aug 2006, 17:26
I just installed it following his procedure. Installed correctly however when I run the htaccess.php file it says at the top "VBREWRITE IS SET TO OFF". Everything is enabled in the plugin manager. What am I doing wrong?

also, in the installation instructions it says:

3) In forumdisplay, showthread, standard_error find:
$headinclude
Add before that:
<base href="$vboptions[bburl]/" />

there is not $headinclude in any of those files.

Lalib
18 Aug 2006, 13:28
thanks :)

minorgod
01 Sep 2006, 20:29
After using the latest .htaccess generator on vBulletin 3.6.0, I had problems with the member.php page giving a 404 error. I added these two lines to my .htaccess file to fix it:

RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+).html$ member.php?u=$2&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+).html/$ member.php?u=$2&%{QUERY_STRING}&is_vrewrite=yes [L]

This takes care of the URL both with and without a trailing slash.

BJORNE
20 Sep 2006, 05:57
Works great!

BJORNE
20 Sep 2006, 06:15
For forums in other language then english is it possible to get support for foreign lettres ?

kyanaka
21 Sep 2006, 22:23
My site is still getting errors on page=2 links on threads that span multiple pages. Has anyone else had this problem? None of the links to additional pages for a long thread work. What should I adjust?

maxicep
07 Oct 2006, 15:40
thanks

x1800
10 Oct 2006, 01:01
Me too. Page 2 just won't display.

animate
10 Oct 2006, 23:42
great working Bhuwan Thanks ! on 3.6.2 :-)

cliusn
16 Sep 2007, 08:22
its great.

vwdforum
01 Oct 2007, 15:17
my page 2's load fine now I've used this method to update my htaccess file

Red Spider
20 Feb 2008, 10:39
nice, thanks!

ahmer
18 Aug 2008, 21:58
Requirements
Technically, nothing is required to run vRewrite. However, it does assume that you are running

* Apache with mod_rewrite enabled
* vBulletin 3.5.x

However, vRewrite can work on IIS, just that the .htaccess will be slightly different. vRewrite will also run on vBulletin 3.0.x.


i have iis what will be my .hta file

a1exus
04 Sep 2008, 22:03
great working Bhuwan Thanks ! on 3.6.2 :-)

what 'bout 3.7.x?