vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Mod Rewrite Friendly URLs - Apache to Zeus (https://vborg.vbsupport.ru/showthread.php?t=293569)

Impromptu 01-04-2013 04:17 AM

Mod Rewrite Friendly URLs - Apache to Zeus
 
Hi all,

I'm trying to activate the Mod Rewrite Friendly URLs, however VB runs on Apache and not Zeus which is my host server.

I have converted some of the code from.htaccess to Zeus (changes in the webhost console) and it appears that the hover link works, so I know I'm on the right track. The conversion is as follows:

Apache (.htaccess)
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA

ZEUS

match URL into $ with showthread.php
if matched then set URL=/threads/.*
endif

match URL into $ with forumdisplay.php
if matched then set URL=/forum/.*
endif

match URL into $ with member.php
if matched then set URL=/members/.*
endif

match URL into $ with blog.php
if matched then set URL=/blogs/.*
endif

The hover link actually works as when I hover over a link I can see the new url.

However, the actual url does not move, so when I click on the new correct hover link, it is pointing to the new link but the data/webpage is on the old link. Is this the way Mod Re-Write works in that it only directs the hover link but doesn't move the thread/link itself?

And if so, how do I change a link permantly. For example, abc.com/showthread.php/xyz.php to abc.com/thread/xyz.php?

Thanks

Jay

Impromptu 01-08-2013 06:57 PM

Please ignore this I've requested my hosting company to change the server to appache.


All times are GMT. The time now is 07:57 AM.

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.01007 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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