Forums / Install & configuration / Domain index.php

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

eZ debug

Timing: Jan 18 2025 20:56:51
Script start
Timing: Jan 18 2025 20:56:51
Module start 'content'
Timing: Jan 18 2025 20:56:52
Module end 'content'
Timing: Jan 18 2025 20:56:52
Script end

Main resources:

Total runtime0.7170 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.7109180.8359
Module start 'content' 0.00700.5844 768.5469654.2500
Module end 'content' 0.59140.1255 1,422.7969337.3750
Script end 0.7169  1,760.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5692210.0002
Check MTime0.00150.2131210.0001
Mysql Total
Database connection0.00100.132510.0010
Mysqli_queries0.621986.74212040.0030
Looping result0.00220.30732020.0000
Template Total0.688396.020.3441
Template load0.00200.278720.0010
Template processing0.686295.715720.3431
Template load and register function0.00010.015310.0001
states
state_id_array0.00200.279210.0020
state_identifier_array0.00140.196920.0007
Override
Cache load0.00180.2471250.0001
Sytem overhead
Fetch class attribute can translate value0.00150.212550.0003
Fetch class attribute name0.00140.192390.0002
XML
Image XML parsing0.00590.816550.0012
class_abstraction
Instantiating content class attribute0.00000.0027100.0000
General
dbfile0.01041.4533470.0002
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs