This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » getting rid of the /index.php/ in...
expandshrink

getting rid of the /index.php/ in urls for ez publish 4.4

getting rid of the /index.php/ in urls for ez publish 4.4

Wednesday 20 April 2011 7:15:53 pm - 3 replies

hello.

i have my own linux box with ez publish 4.4 and i want to get rid of this annoying index.php appearing as an element of url.

to get to teh subject i did the following:

0) ensure that my apache rewrite modile works (it does)

1) set ForceVirtualHost=true in my settings/override/site.ini.append.php

2) then comes the .htaccess part! i've tried these methods:

a) using conventional ez publish .htaccess (.htaccess_root). failed.

b) using conventional ez publish .htaccess with first two blocks uncommented. failed.

c) using the file from http://www.hostingezpublish.com/F...ess-file-I-should-use-for-eZ-Publish. failed.

d) using the file from http://www.programmingfacts.com/h...from-url-using-htaccess-mod_rewrite/. failed.

all these methods give me the same error -- either 404 (when i try to access any of my urls having removed index.php/ from them; like http://<my_ezp_host>/<siteaccess>blunk.gif Emoticon or "The requested module index.php could not be found." (it's when i go to the old urls with index.php/ present).

when i get back to ForceVirtualHost=false, i use the old, default urls, starting with index.php/ and everything works fine.

please tell me, what am i doing wrong.

Friday 22 April 2011 10:40:56 pm

Hi Kirill,

I think you should check your Apache virtual host settings:

http://doc.ez.no/eZ-Publish/Techn...tual-host-setup/Virtual-host-example

Theo

Modified on Friday 22 April 2011 10:42:45 pm by Theodoros Papageorgiou

Monday 25 April 2011 11:27:08 am

The reply has been removed because of violation of forum rules.

Thursday 28 April 2011 6:01:24 am

The reply has been removed because of violation of forum rules.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from