Forums / Install & configuration / site only works on http://www.mysite.com/index.php?/eng

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

eZ debug

Timing: Jan 18 2025 10:21:12
Script start
Timing: Jan 18 2025 10:21:12
Module start 'content'
Timing: Jan 18 2025 10:21:13
Module end 'content'
Timing: Jan 18 2025 10:21:13
Script end

Main resources:

Total runtime0.9813 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.9609180.8047
Module start 'content' 0.00600.9688 768.7656663.8594
Module end 'content' 0.97490.0063 1,432.625050.0547
Script end 0.9812  1,482.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2968140.0002
Check MTime0.00130.1344140.0001
Mysql Total
Database connection0.00080.079010.0008
Mysqli_queries0.920493.7904720.0128
Looping result0.00070.0757700.0000
Template Total0.955697.420.4778
Template load0.00190.198720.0010
Template processing0.953697.180820.4768
Template load and register function0.00020.024910.0002
states
state_id_array0.00080.083010.0008
state_identifier_array0.00060.059620.0003
Override
Cache load0.00170.1764430.0000
Sytem overhead
Fetch class attribute can translate value0.00070.073040.0002
Fetch class attribute name0.00110.109290.0001
XML
Image XML parsing0.00190.195440.0005
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.00320.3309320.0001
String conversion0.00000.000530.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs