Access problem - www.example.com/index.php works - www.example.com doesnt

Author Message

Pirabukannan Muthalagan

Monday 05 July 2004 12:58:57 am

Hi ,

when i try to access my EZ publish site thru internet with normal domain address ( www.example.com ) it doesnt work and gives the following error message.

Forbidden
You don't have permission to access / on this server.
Apache/1.3.28 Server at dozer2.ez.no Port 80

However i am able to access www.example.com/index.php without any problems.
Can anybody help me?.

Pirabukannan Muthalagan

Monday 05 July 2004 1:10:37 pm

Cmon guys! Please help me.

Bård Farstad

Wednesday 07 July 2004 4:13:56 am

This has to do with permissions in apache. You could set the DirectoryIndex to index.php in your httpd.conf. Or you could enable directory listing in apache, but I would not recommend doing that.

I would recommend that you use the rewrite rules for eZ publish so that you don't need to have index.php in your path. This is also more secure. You will find information about the rewrite rules in the installation manual of eZ publish.

--bård

Documentation: http://ez.no/doc

Greg McAvoy-Jensen

Thursday 22 December 2005 10:16:18 pm

There's also a section on how to fix this in the .htaccess_root file in your root directory.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

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 07:20:39
Script start
Timing: Jan 19 2025 07:20:39
Module start 'layout'
Timing: Jan 19 2025 07:20:39
Module start 'content'
Timing: Jan 19 2025 07:20:39
Module end 'content'
Timing: Jan 19 2025 07:20:39
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.6016152.6563
Module start 'layout' 0.00700.0039 742.257839.4922
Module start 'content' 0.01090.0045 781.750093.4297
Module end 'content' 0.01540.0017 875.179734.3047
Script end 0.0171  909.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.8614140.0002
Check MTime0.00116.5837140.0001
Mysql Total
Database connection0.00105.914210.0010
Mysqli_queries0.003822.330330.0013
Looping result0.00000.122510.0000
Template Total0.00137.710.0013
Template load0.00063.649610.0006
Template processing0.00074.046310.0007
Override
Cache load0.00042.522110.0004
General
dbfile0.00031.813780.0000
String conversion0.00000.068240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs