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