Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2010, 10:41 AM
legija legija is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default http + https in same time ?

Hi,

Due to strange rules in some islamic countries, my forum gets blocked on regular port.
However, port 443 is open, and users can access the url without problems.
But, for some reason it will not work properly, due to absolute/relative path problem.

https gets loaded, but without pictures and other content, just pure text.

If i remember well, this used to work ok before upgrading to VB 4.0, even on different domain.
I used different domain as alternative to those guys who live in "proxy" states.

Now, i can get opened the forum on different domain, but clicking any link will lead me to the main domain url.

How do i solve this and where ? I need to force forum to use relative path!

Thank You.
Reply With Quote
  #2  
Old 05-31-2010, 01:05 PM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just make if user going to http " SHOW some NOTICE redirect to HTTPS "
Reply With Quote
  #3  
Old 05-31-2010, 01:35 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A redirect has nothing to do with his issue of not showing images.

As you provide no link to your site for anyone to help trouble shoot your issue, provide more details about your site.

Does the site have a valid cert?
Is their a valid 443 host call setup in your web server conf file?
Is your site serving your style from a file?
Reply With Quote
  #4  
Old 05-31-2010, 06:46 PM
legija legija is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The SSL certificate is valid, though its of course self signed.

As said, its absolute/relative path problem, and i have no idea how to resolve this.

http

https

Depending how i set homepage URL in settings, it changes behavior with images and media.
I can not say for sure, but this problem appears with vb 4.0 and it was not present before.

--------------- Added [DATE]1275337204[/DATE] at [TIME]1275337204[/TIME] ---------------

Ok, it seem to be to solved now.

- I just left empty space in URL fields
- Set the friendly URL stuff to basic and standard

It works now. THough IE keep popping up with "do you want secure and non secure bla bla".
Its okay in FF and Chrome.
Reply With Quote
  #5  
Old 05-31-2010, 08:20 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, you shouldn't have to leave that field blank to make it work.

Are you sure the 443 call in the host file is correct?
Reply With Quote
  #6  
Old 06-01-2010, 09:48 AM
legija legija is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything is fine on server side. Main point is, that if you fill out "forum url", forum will use the absolute path, instead of relative one. Thus, after you open https url, next click will lead you to regular http link.
Reply With Quote
  #7  
Old 06-01-2010, 11:32 AM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you put maybe http://www.example.org in your Forum URL in the VB Options ? Try removing the "http://" that protocols aren't enforced when links are created.
Reply With Quote
  #8  
Old 06-01-2010, 04:20 PM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by legija View Post
The SSL certificate is valid, though its of course self signed.

As said, its absolute/relative path problem, and i have no idea how to resolve this.

http

https

Depending how i set homepage URL in settings, it changes behavior with images and media.
I can not say for sure, but this problem appears with vb 4.0 and it was not present before.

--------------- Added 01 Jun 2010 at 07:20 ---------------

Ok, it seem to be to solved now.

- I just left empty space in URL fields
- Set the friendly URL stuff to basic and standard

It works now. THough IE keep popping up with "do you want secure and non secure bla bla".
Its okay in FF and Chrome.
where your green bar ?
Reply With Quote
  #9  
Old 06-02-2010, 07:15 AM
legija legija is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Angel-Wings

That doesnt work either. In fact it does work in firefox, but not in IE7, 8 and Chrome.
Now i see that IE7 also does not work properly with url field empty, so it seems there is no way to fix this problem at the moment.

@kawe

What green bar ?
Reply With Quote
  #10  
Old 06-02-2010, 09:37 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats in your 443 vhost block in your web server programs conf file?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04144 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete