Forums / Install & configuration / Domain index.php
Andy Boston
Wednesday 25 April 2007 3:14:05 am
Can anyone tell me where the setting is to configure the homepage as index.php ?
Example: www.domainname.com/index.php
Thanks in advance.
Steven E. Bailey
Tuesday 01 May 2007 2:46:19 am
Assuming that you are using apache:
this is set first by the DirectoryIndex variable in your apache configuration (or apache site configuration) file and is also set by the rewrite rule which sends (almost) everything to /index.php
For lighttpd: the index-file.names and url.rewrite-once variables are what do it.
Certified eZPublish developer http://ez.no/certification/verify/396111 Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com
Wednesday 02 May 2007 6:08:45 am
Thanks Steven.
So if I had the situation where www.domain.com/index.php was coming up as a "module not found", how would I remedy that problem??
Would my hosting company need to change the apache set up??
Piotrek Karaś
Monday 07 May 2007 10:35:16 am
If the request <b>www.domain.com/index.php</b> causes eZ publish to return <b>module not found</b> screen, then my guess would be that your server rewrites it to get rid of index.php and the eZ module is expected directly after the domain, for example <b>www.domain.com/content/view/full/2</b>, and www.domain.com being your root page. And some little piece may just remain misconfigured. But that's as long as we've got all the pieces :)
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu
Frédéric DAVID
Tuesday 08 May 2007 7:20:16 am
To have an idea of the Apache rules, you can go to this page
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/virtual_host_setup/virtual_host_example
With this configuration, you don't have to use index.php, just http://www.your-domain.com
Blog : http://www.frefred.fr/blog/ez-publish feZ Meta Data : http://projects.ez.no/fezmetadata