"403 Forbidden" error after installation

Author Message

Lech Jonczyk

Wednesday 18 January 2006 6:23:12 am

I installed ez publish and it works fine when I enter full url:
www.foo.com/index.php/

But when I simply enter:
www.foo.com

I get "403 Forbidden" error.

What's wrong?

Lech Jonczyk

Wednesday 18 January 2006 7:42:02 am

I figured it out.

This hint in .htaccess helped me a bit :-)

# 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>

Allan Dean

Thursday 09 February 2006 9:17:52 am

I have slightly different problem,

When I copied the file to .htaccess I was not able to access the directory or pages in it.

Trying to access the root page without the index.php appended I got a screen about Apache.

When I do append the index.php I got a forbidden access error.

I wonder if the installation must be in a directory other than root. But I see no documentation that says that.

Even so, following the instructions:

# 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".

I uncommented the lines and changed it to the base name "htdocs"

<Files "htdocs">
order allow,deny
allow from all
</Files>

Still it does not work.

without index.php I get the apache screen, with index.php I get a "403 forbidden" error

Allan Dean

Thursday 09 February 2006 10:21:32 am

An afterthought.

eZ Publish 3.6.5
Linux Fedora (Redhat Fedora) Core 3
Apache is 2.0.52
mysql is 3.23.58
php 4.3.11

During installation at the system check I ignored two error messages:

1. allow_url_fopen ini setting is disabled

2. AcceptPathInfo disabled or running in CGI mode

(the webmaster on the shared host said he enabled AcceptPathInfo in the Apache config file, but I still got the warning during installation.)

Also during installation,
During installation I was prompted to chmod some folders in the 'settings' subdirectory. That was done with no trouble.

All the php files in my root directory, including index.php all have 644 permission settings.

Allan Dean

Thursday 09 February 2006 11:37:17 am

I wonder if the problem is with the version of php I am using?

I am using 4.3.11

It looks like ezp 3.6.5 requires PHP 4 version 4.3.4 - 4.4

Would this be the issue?

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 19 2025 01:03:15
Script start
Timing: Jan 19 2025 01:03:15
Module start 'layout'
Timing: Jan 19 2025 01:03:15
Module start 'content'
Timing: Jan 19 2025 01:03:15
Module end 'content'
Timing: Jan 19 2025 01:03:15
Script end

Main resources:

Total runtime0.8289 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.2813152.6406
Module start 'layout' 0.00670.0036 741.921939.4922
Module start 'content' 0.01020.8172 781.4141499.5781
Module end 'content' 0.82740.0015 1,280.992212.1250
Script end 0.8289  1,293.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4319160.0002
Check MTime0.00140.1695160.0001
Mysql Total
Database connection0.00140.167910.0014
Mysqli_queries0.765292.3136630.0121
Looping result0.00070.0854610.0000
Template Total0.793895.820.3969
Template load0.00230.272220.0011
Template processing0.791595.486620.3958
Template load and register function0.00040.042710.0004
states
state_id_array0.00090.112810.0009
state_identifier_array0.00220.261920.0011
Override
Cache load0.00200.2372510.0000
Sytem overhead
Fetch class attribute can translate value0.00060.076220.0003
Fetch class attribute name0.00150.185250.0003
XML
Image XML parsing0.00030.034620.0001
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00170.2022100.0002
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs