Forum IPB

Author Message

Przemek Niemczuk

Saturday 31 January 2009 4:23:02 pm

My forum is a script IPB, which has always been available at www.mydomain.com / forum Once installed eZpublish I do not have recourse to this address. Is it possible to launch the forum at this particular address?

regards

primo

primo

Christophe Condomines

Sunday 01 February 2009 9:11:28 am

Hi,

You probably have to add a rewrite rule to let the access to this forum at this particular url.
For example, ff you have this forum installed in your ezpublish root folder, in the "forum" folder, you have to set something like:

Rewriterule ^/forum/.* - [L]

Regards.

Microblau SL
http://www.microblau.net

Przemek Niemczuk

Sunday 01 February 2009 12:20:56 pm

I dont understand. EZpublish I have installed in the directory ezpublish_treningbiegacza and the directory forum can be found in this directory ezpublish_treningbiegacza / forum

How should the formula look like and where to put it (in the file. Htacces?)

primo

Christophe Condomines

Sunday 01 February 2009 12:30:08 pm

Are you using RewriteRules already?

Could you give an example of url when you are viewing a simple article in your eZ installation ?

What is the result you have exactly when you load "www.mydomain.com/forum" ?

Microblau SL
http://www.microblau.net

Przemek Niemczuk

Sunday 01 February 2009 12:41:42 pm

yes, I use the revriterules.

http://treningbiegacza.pl/index.php/pol/Peter-Greif/Po-maratonie-szczesliwy-i-zakrecony-zarazem

http://treningbiegacza.pl/forum/

My .htacces

Copy this file to a new file called .htaccess in your eZ publish root

# to make the site more secure in non-virtualhost mode (index.php used in urls).

#

php_value allow_call_time_pass_reference 0

#<FilesMatch ".">

#order allow,deny

#deny from all

#</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf)$">

order allow,deny

allow from all

</FilesMatch>

# If you see "Forbidden" when trying to access root page of your site

# without 'index.php' appended, uncomment the following "Files" section.

# NOTE: replace "ezpublish-3.6.0" with base name of the directory

# where your eZ publish intallation resides.

# e.g. base name of "/sites/ezpublish/ezpublish-3.6.0" is "ezpublish-3.6.0".

#<Files "ezpublish-3.6.0">

# order allow,deny

# allow from all

#</Files>

RewriteEngine On

RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php

DirectoryIndex index.php

 

RewriteEngine On

RewriteCond %{HTTP_HOST} ^webdav\..*

RewriteRule ^(.*) webdav.php [L]

 

RewriteCond %{HTTP_HOST} ^soap\..*

RewriteRule ^(.*) soap.php [L]


Rewriterule ^forum/index.php.* - [L]

RewriteRule ^var/cache/debug.html.* - [L]

RewriteRule ^var/[^/]+/cache/debug.html.* - [L]

Rewriterule ^var/storage/.* - [L]

Rewriterule ^var/[^/]+/storage/.* - [L]

RewriteRule ^var/cache/texttoimage/.* - [L]

RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]

Rewriterule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L]

Rewriterule ^share/icons/.* - [L]

Rewriterule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]

Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]

RewriteRule .* index.php [L]

primo

Christophe Condomines

Sunday 01 February 2009 3:30:06 pm

In your .htaccess file, put the rewriteRule just after the <b>first</b> RewriteEngine On statement, it should work:

RewriteEngine On
Rewriterule ^forum/index.php.* - [L]

I hope this helps!

Microblau SL
http://www.microblau.net

Przemek Niemczuk

Monday 02 February 2009 1:01:08 am

Thank you for your help.

I do not know what to say, he still does not work. Perhaps it's hosting company, which has such a different configuration of the server. The same is true with the flash and Firefox 3.0 - the council applied a flash still does not display. Shall be subjected to.

primo

Christophe Condomines

Monday 02 February 2009 3:52:39 am

The others rewriterules seem to be working, so you should be able to achieve what you want. Review your settings one more time!

For the flash, it's probably the bug with Flash v.10. Check this in issue.ez.no, there is a fix for it.

Microblau SL
http://www.microblau.net

eZ debug

Timing: Jan 18 2025 11:18:48
Script start
Timing: Jan 18 2025 11:18:48
Module start 'content'
Timing: Jan 18 2025 11:18:49
Module end 'content'
Timing: Jan 18 2025 11:18:49
Script end

Main resources:

Total runtime1.0040 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 589.7813180.8438
Module start 'content' 0.01170.9856 770.6250599.5625
Module end 'content' 0.99730.0066 1,370.187550.1406
Script end 1.0039  1,420.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3124140.0002
Check MTime0.00130.1266140.0001
Mysql Total
Database connection0.00130.130310.0013
Mysqli_queries0.926092.2344730.0127
Looping result0.00070.0740710.0000
Template Total0.963596.020.4818
Template load0.00260.261020.0013
Template processing0.960995.707420.4805
Template load and register function0.00020.021310.0002
states
state_id_array0.00170.173010.0017
state_identifier_array0.00180.177120.0009
Override
Cache load0.00240.2361820.0000
Sytem overhead
Fetch class attribute can translate value0.00070.069420.0003
Fetch class attribute name0.00160.155190.0002
XML
Image XML parsing0.00080.080520.0004
class_abstraction
Instantiating content class attribute0.00010.0050120.0000
General
dbfile0.00550.5445180.0003
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs