Domain index.php

Author Message

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

Andy Boston

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:25:44
Script start
Timing: Jan 31 2025 06:25:44
Module start 'layout'
Timing: Jan 31 2025 06:25:44
Module start 'content'
Timing: Jan 31 2025 06:25:44
Module end 'content'
Timing: Jan 31 2025 06:25:44
Script end

Main resources:

Total runtime0.0129 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.1328151.2109
Module start 'layout' 0.00530.0020 739.343836.6484
Module start 'content' 0.00730.0043 775.992294.0625
Module end 'content' 0.01150.0013 870.054737.9922
Script end 0.0129  908.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002318.1234140.0002
Check MTime0.00107.9486140.0001
Mysql Total
Database connection0.00097.130910.0009
Mysqli_queries0.001914.477730.0006
Looping result0.00000.084910.0000
Template Total0.00107.710.0010
Template load0.00085.892210.0008
Template processing0.00021.788710.0002
Override
Cache load0.00054.079510.0005
General
dbfile0.00032.292780.0000
String conversion0.00000.068340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs