This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Suggestions » Better and easier urls please! :)

Better and easier urls please! :)

Better and easier urls please! :)

Wednesday 04 February 2009 3:42:13 pm - 3 replies


I'd like to request taking a look at nice urls in eZ Publish in shared hosting environment. Without virtual host, it's pretty much impossible to have nice urls... I tried everything, from an article in documentation to many forum posts... nothing works. Either I get 404, 500 errors or the htaccess settings forward me to index.php.

I'd like to ask you for any way to have nice urls in shared hosting environment. Maybe an extension combined with mod_rewrite can do the trick? Or maybe just an official guide on how to do it?

I just cannot make it work. sad.gif Emoticon

Please pick some kind of shared hosting environment with php-cgi (there are 15-day trials and so on), install there eZ and figure it out for us...

Wednesday 04 February 2009 6:40:51 pm

I cannot voice for cgi-based hosting, but apache+mod_php+mod_rewrite is all you need for nice urls. no vhost involved at all

Wednesday 04 February 2009 7:16:50 pm

And by nice urls you mean urls withouth index.php in it?

Thursday 05 February 2009 9:40:26 am

Yes, indeed: without index.php

Ehh, so what about php-fcgi? I'm toasted?
I can give you some details about my hosting: it seems it's already running in virtual host mode, but the root folder is set to website root. My websites are in subcategories and by now I don't want to base all my sites on one eZ publish since some of my sites are running on different CMS engines.

From phpinfo:

_SERVER["SCRIPT_URL"]	/info.php
_SERVER["HTTP_ACCEPT_LANGUAGE"]	pl,en-us;q=0.7,en;q=0.3
_SERVER["HTTP_ACCEPT_CHARSET"]	ISO-8859-2,utf-8;q=0.7,*;q=0.7
_SERVER["PATH"]	/bin:/usr/bin:/usr/local/bin
_SERVER["SERVER_ADDR"]	some.ip.address
_SERVER["REMOTE_ADDR"]	some.ip.address
_SERVER["DOCUMENT_ROOT"]	/home/my_site/ftp
_SERVER["SCRIPT_FILENAME"]	/home/my_site/ftp/info.php
_SERVER["REQUEST_URI"]	/info.php
_SERVER["SCRIPT_NAME"]	/info.php
_SERVER["PATH_TRANSLATED"]	/home/my_site/ftp/info.php
_SERVER["PHP_SELF"]	/info.php
_SERVER["REQUEST_TIME"]	1233820726

So, if eZ is located in home/my_site/ftp/ezpublish/ .... I pretty much don't know what to do.
Is there any additional info you need? Can you propose me a solution...?


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

36 542 Users on board!

Forums menu

Proudly Developed with from