Jump to content


Gros Blaireau

Member Since 17 Jun 2007
Offline Last Active Jan 14 2012 12:17 PM
*----

Posts I've Made

In Topic: IP.Board 3 HTTPS Admin Area

25 July 2011 - 07:53 AM

View PostJoriz, on 25 November 2009 - 08:57 AM, said:

Modify the following file to something like this:
/admin/sources/classes/output/adminOutput.php - Line 132 ...
		/* Update paths and such */
		$this->settings['base_url']		= $this->settings['_original_base_url'];
		$this->settings['public_url'] = $this->settings['_original_base_url'] . '/index.php?';
		$this->settings['_original_base_url'] = str_replace( 'http://', 'https://', $this->settings['_original_base_url'] );
		$this->settings['public_url'] = str_replace( 'http://', 'https://', $this->settings['public_url'] );
		$this->settings['base_url'] = str_replace( 'http://', 'https://', $this->settings['base_url'] );
		$this->settings['public_dir'] = str_replace( 'http://', 'https://', $this->settings['public_dir'] );

Also add this to the .htaccess to force SSL in the admin directory:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://forums.domain.com%{REQUEST_URI}

This will make the admin section work almost completely via SSL. Only some images and javascript files aren't loading via SSL which isn't that important.
Please note that you first need to have a safe working and installed SSL certificate at your server before this works.

I hope this get implemented at a more fancy way in IPB3 as standard option.

Thank you very much for this piece of code Joriz.

In Topic: About the tags in IP.Content

10 June 2011 - 05:04 AM

Hum... Yes when I say "at the same time", I mean "immediately after the 3.2 release".

But may be some IP.Content minor releases are planned before the major release ? In this case, the tags aren't for tomorrow...
.