vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Specifying URL when using proxy (https://vborg.vbsupport.ru/showthread.php?t=162638)

erikj 11-13-2007 08:58 PM

Specifying URL when using proxy
 
Hi all,

I have installed vBulletin on a seperate server from our website. It was set up on it's own virtual host, however we're using a proxy to make it appear to be part of our main website. The proxy should completely override the virtual host that vBulletin was originally set up on so it should never be seen.

My problem is that vBulletin sometimes detects the original "hidden" virtual host and redirects to it, such as when I log in to the AdminCP. Is there a parameter I can set somewhere or hack that will force it to always use the proxy URL?

I've tried the solution recommended in the post "Changing the login redirect URL", however this sends you to the same place weather you're logging in to the forum or trying to log into the AdminCP. In my case, I'm only having a problem when logging into the AdminCP. However I'm not sure if this would happen in other situations also.

We have done this with other systems such as MediaWiki. It provides a parameter $wgServer that allows me to specify the server URL to use and fixes this problem.

Thanks.

Erik

erikj 11-21-2007 04:49 PM

Still no help on this!? Surely one of you hard core geeks out there is willing to take this on?

Erik

Analogpoint 11-22-2007 03:30 AM

vBulletin uses relative URLs for almost everything. Thus what you want to do would be kind of tedious. But if you wanted, you could go through all the template (or use a template replacement variable) and add $vboptions[bburl] in front of each link. See also: http://www.vbulletin.com/forum/showthread.php?t=248803


All times are GMT. The time now is 09:13 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.00935 seconds
  • Memory Usage 1,711KB
  • 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
  • (3)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