site only works on http://www.mysite.com/index.php?/eng

Author Message

Ed Wiid

Sunday 22 August 2010 11:30:19 am

Site works fine on with this URL: http://www.mysite.com/index.php?/eng

I'd like it to work here, http://www.mysite.com but I get the below error:

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Robin Muilwijk

Sunday 22 August 2010 11:36:13 am

Hi Ed,

Welcome to the eZ community portal. Have a look at http://share.ez.no/articles/ez-publish/how-to-configure-an-ez-publish-site/(page)/3 for a possible answer to have your site work without the /index.php? in your urls.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Ed Wiid

Sunday 22 August 2010 7:25:17 pm

Hi Robin, thank you for the reply. I followed the link with no success, I did the below changes:

In settings/override/site.ini.append.php, add the following code under the [SiteAccessSettings] block:

ForceVirtualHost=true

By default, eZ Publish URLs include a language indicator. To remove the language part of the URL for the default siteaccess, add the following code under the same [SiteAccessSettings] block:

RemoveSiteAccessIfDefaultAccess=enabled

Now, instead of http://tennisdemo.ezsystems.ca/index.php/eng/solutions as the address for a top-level page, it is http://tennisdemo.ezsystems.ca/solutions, which is much easier for visitors to remember.

Robin Muilwijk

Monday 23 August 2010 12:22:01 am

Hi Ed,

Did you check that there is a ".htaccess" file in the eZ root? And does your server support this htaccess file?

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Monday 23 August 2010 12:30:16 am

Hi Ed,

reading through the following topic will be helpfull for your requirment

http://ez.no/doc/ez_publish/technical_manual/4_x/installation/virtual_host_setup

http://ez.no/doc/ez_publish/technical_manual/3_10/installation/virtual_host_setup/virtual_host_example

Regards

Romeo.

Yannick Komotir

Monday 23 August 2010 1:50:37 am

Hi,

index.php is set like DirectoryIndex in your apache conf ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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:12:57
Script start
Timing: Jan 18 2025 15:12:57
Module start 'layout'
Timing: Jan 18 2025 15:12:57
Module start 'content'
Timing: Jan 18 2025 15:12:57
Module end 'content'
Timing: Jan 18 2025 15:12:57
Script end

Main resources:

Total runtime0.0179 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.0064 589.9375152.6563
Module start 'layout' 0.00640.0039 742.593839.5078
Module start 'content' 0.01030.0056 782.101698.0234
Module end 'content' 0.01590.0019 880.125038.3047
Script end 0.0178  918.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.4343140.0002
Check MTime0.00105.6235140.0001
Mysql Total
Database connection0.00116.078610.0011
Mysqli_queries0.003821.522730.0013
Looping result0.00000.061410.0000
Template Total0.00168.810.0016
Template load0.00084.734810.0008
Template processing0.00074.018110.0007
Override
Cache load0.00063.190810.0006
General
dbfile0.00021.295880.0000
String conversion0.00000.049440.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