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