vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [vRewrite] - htaccess generator (https://vborg.vbsupport.ru/showthread.php?t=112024)

Bhuwan 04-02-2006 10:00 PM

[vRewrite] - htaccess generator
 
Since vRewrite depends heavily on your htaccess file, I decided to create
this very simple script(vRewrite info is here).

1) install vRewrite - here (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 04-02-2006 10:48 PM

I wonder if I should install this or not! :D

Just kiddin', of course!

[high]* Immortal installs[/high]

Bhuwan 04-02-2006 10:53 PM

haha :)

jlaine 04-03-2006 02:11 AM

[high]* jlaine installs... ;) obviously.[/high]

sellbuydomain 04-04-2006 06:43 PM

is this copy and replace in the hatcess file? or just add these data at the end of codes in hatcess fiel?

Bhuwan 04-05-2006 05:03 PM

Quote:

Originally Posted by sellbuydomain
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 04-07-2006 12:15 PM

Updated to version 0.2 to work with RC3 of vRewrite

Gastongr 04-19-2006 03:15 PM

Great, i'm installing right now :D

wsdeluxe 04-22-2006 02:56 PM

Quote:

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 04-22-2006 03:02 PM

Quote:

Originally Posted by wsdeluxe
Thats all i get :(

Which vB version are you running?

girish.r 04-25-2006 06:49 PM

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 05-28-2006 09:51 AM

thanks i knew i mess it up if i did it myelf

sakib0 06-11-2006 06:33 PM

ok bravo

letsjoy 07-03-2006 04:58 PM

Quote:

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 07-13-2006 08:18 AM

Guys how do i vrewrite my /gallery/browseimages.php ? :)

World8X 08-05-2006 12:21 AM

How to use vRewrite with vbulletin 3.6.0?

m3_fs 08-16-2006 03:26 PM

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:

Quote:

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 08-18-2006 11:28 AM

thanks :)

minorgod 09-01-2006 06:29 PM

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 09-20-2006 03:57 AM

Works great!

BJORNE 09-20-2006 04:15 AM

For forums in other language then english is it possible to get support for foreign lettres ?

kyanaka 09-21-2006 08:23 PM

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 10-07-2006 01:40 PM

thanks

x1800 10-09-2006 11:01 PM

Me too. Page 2 just won't display.

animate 10-10-2006 09:42 PM

great working Bhuwan Thanks ! on 3.6.2 :-)

cliusn 09-16-2007 06:22 AM

its great.

vwdforum 10-01-2007 01:17 PM

my page 2's load fine now I've used this method to update my htaccess file

Red Spider 02-20-2008 08:39 AM

nice, thanks!

ahmer 08-18-2008 07:58 PM

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 09-04-2008 08:03 PM

Quote:

Originally Posted by animate (Post 1094256)
great working Bhuwan Thanks ! on 3.6.2 :-)

what 'bout 3.7.x?

ellenthompson 06-06-2013 09:00 AM

i want this in my vb4.2.0 .. please help and tell me the method


All times are GMT. The time now is 07:43 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.01183 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete