Error

Author Message

P G

Tuesday 11 July 2006 6:48:34 am

have installed a new site and now you can access the site here:
http://www.amazingemporium.net/index.php/chapters_events/

but not here??:
http://www.amazingemporium.net/chapters_events/

does a config file need altering?

Vjeran Vlahovic

Tuesday 11 July 2006 8:33:38 am

You have to add one directive inside settings/override/site.ini.append.php:

ForceVirtualHost=true

inside [SiteAccessSettings] section.

Also, You have to configure .htaccess. Here are some examples:

http://ez.no/community/forum/install_configuration/htaccess_removing_index_php_and_online_editor/

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 9:14:29 am

That makes the whole site go down?

Vjeran Vlahovic

Tuesday 11 July 2006 9:29:16 am

Hi,
what error do you have?

Keep in mind that after these changes old /index.php/ links don't work anymore. So you have to delete cached files to recreate all cacheviews, cached blocks, etc., which will now contain new links without index.php part. You can delete everything in /public_html/yourweb/var/sitevar/cache dir.

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 9:42:23 am

deleated the cache

all the links still have index.php in them ( do I need to reinstall?)

http://www.amazingemporium.net/

Vjeran Vlahovic

Tuesday 11 July 2006 9:53:49 am

No, you don't need to reinstall it...
Look at the "View list" links at the bottom of your homepage... They do not contain index.php part any more. So I suppose you didn't delete all caches :)

http://www.netgen.hr/eng

P G

Tuesday 11 July 2006 10:39:01 pm

ok, but now 'You don't have permission to access /chapters_events/news on this server.'

http://www.amazingemporium.net/chapters_events/news

Vjeran Vlahovic

Wednesday 12 July 2006 2:05:21 am

Did you configure .htaccess inside your ez publish installation as instructed above? Please paste the content of your .htaccess here.

http://www.netgen.hr/eng

P G

Wednesday 12 July 2006 5:26:15 am

This is the whole file

# 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

P G

Wednesday 12 July 2006 9:31:34 am

Have changed it to this, but still the same problem

# 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 "chapters_events">
# order allow,deny
# allow from all
#</Files>

RewriteEngine On RewriteRule !\.(gif|jpe?g|png|css|js|jar|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C] RewriteCond %{HTTP_HOST} ^webdav\..* RewriteRule ^(.*)

webdav.php [L] RewriteCond %{HTTP_HOST} ^soap\..* RewriteRule ^(.*) soap.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]

Vjeran Vlahovic

Wednesday 12 July 2006 9:49:29 am

Try with something like this (remove all other content from .htaccess!):

RewriteEngine On

RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$
RewriteRule (.*) /index.php

DirectoryIndex index.php

Hope this will work!

http://www.netgen.hr/eng

P G

Wednesday 12 July 2006 10:28:10 am

I put this in, but now this happends http://www.amazingemporium.net/

RewriteEngine On

RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|imagespl|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L] RewriteRule ^sitemaps/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteCond $1 !^index.php$ RewriteRule (.*) /index.php

DirectoryIndex index.php

Vjeran Vlahovic

Wednesday 12 July 2006 11:15:30 am

Argh :)

Contact me at vjeran at g mail.

http://www.netgen.hr/eng

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:04:34
Script start
Timing: Jan 18 2025 15:04:34
Module start 'layout'
Timing: Jan 18 2025 15:04:34
Module start 'content'
Timing: Jan 18 2025 15:04:35
Module end 'content'
Timing: Jan 18 2025 15:04:35
Script end

Main resources:

Total runtime1.3085 sec
Peak memory usage4,096.0000 KB
Database Queries87

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 587.7891152.6094
Module start 'layout' 0.00500.0040 740.398439.4297
Module start 'content' 0.00901.2980 779.8281666.6406
Module end 'content' 1.30700.0015 1,446.468829.4531
Script end 1.3085  1,475.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2507160.0002
Check MTime0.00140.1032160.0001
Mysql Total
Database connection0.00060.048110.0006
Mysqli_queries1.217193.0156870.0140
Looping result0.00070.0555850.0000
Template Total1.267396.920.6337
Template load0.00200.153520.0010
Template processing1.265396.695520.6326
Template load and register function0.00010.008510.0001
states
state_id_array0.00160.120410.0016
state_identifier_array0.00190.146120.0010
Override
Cache load0.00210.15761130.0000
Sytem overhead
Fetch class attribute can translate value0.00050.037420.0002
Fetch class attribute name0.00170.1285140.0001
XML
Image XML parsing0.00190.146620.0010
class_abstraction
Instantiating content class attribute0.00000.0035190.0000
General
dbfile0.00290.2214170.0002
String conversion0.00000.000640.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
13content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
27content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 65
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs