Forums / Install & configuration / how to remove index.php from url ?

how to remove index.php from url ?

Author Message

Alexandre Cunha

Friday 19 March 2004 4:19:24 pm

I have both instalations: non virtual host (for developement - windows) and virtual host (for production site - linux).
Reading the docs, I suppose the virtual host mode doet use index.php in the urls, but in fact this is not true.

Can someone clarify me ?

axel

http://AlexandreCunha.com

Paul Borgermans

Saturday 20 March 2004 3:36:47 pm

There is a bug solved somewhere in february regarding this and also a new site.ini directive

ForceVirtualHost was added. Take a look at

http://pubsvn.ez.no/viewcvs/ezp/stable/3.3/index.php

for the change

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Alexandre Cunha

Saturday 20 March 2004 7:09:41 pm

Thanks Paul,

I have installed the new updated index.php over my ezP3.3-3 instalation.
Created in the new entry in settings\siteaccess\mysiteaccessdir\site.ini.append
the entry
[SiteAccessSettings]
ForceVirtualHost=true

Cache cleared.

Have applied this in both my installs: VirtualHost and non virtual host

Unfortunetly, the index.php remains in all links !

any ideas ?

axel

http://AlexandreCunha.com

Daniel Teghe

Tuesday 23 March 2004 8:40:20 pm

Get another CMS, this one is pretty awful to install, and sounds like it's just as awful to administer. I recommend xoops, its wonderful

Peter Schroeder

Wednesday 24 March 2004 12:04:51 pm

Daniel,

you seem to be one bitter fellow if it comes to eZpublish. However, you don't get it, eZpublish is not another port of phpnuke, it's in a totally different league. I think the only hindrance to deploy it on shared hosting is that it doesn't work with php running as a cgi. I think the next version is supposed to change that. Otherwise it is a great CMS. I have installed it on Linux as well windows without any problem. If you have the privilege to install it on your own server you are in nirvana. Your data base problem is only a wrong configuration of you server. Do you use localhost? Make sure your server knows itself as localhost. If not try the IP address of your server as db host. That usually works pretty good. Check also the privileges of the user under which you want to run eZpublish.

eZ debug

Timing: Jan 31 2025 01:34:30
Script start
Timing: Jan 31 2025 01:34:30
Module start 'content'
Timing: Jan 31 2025 01:34:30
Module end 'content'
Timing: Jan 31 2025 01:34:30
Script end

Main resources:

Total runtime0.3398 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0547370.2813
Module start 'content' 0.00760.0117 958.33591,005.5781
Module end 'content' 0.01930.3204 1,963.91413,893.7422
Script end 0.3397  5,857.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00441.2981200.0002
Check MTime0.00130.3698200.0001
Mysql Total
Database connection0.00080.221910.0008
Mysqli_queries0.246972.66861410.0018
Looping result0.00180.51961390.0000
Template Total0.320094.210.3200
Template load0.00070.203310.0007
Template processing0.319393.983110.3193
Override
Cache load0.00050.142710.0005
Sytem overhead
Fetch class attribute can translate value0.00180.524810.0018
XML
Image XML parsing0.00040.104510.0004
General
dbfile0.00631.8628200.0003
String conversion0.00000.001730.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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