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.

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 18 2025 19:06:01
Script start
Timing: Jan 18 2025 19:06:01
Module start 'layout'
Timing: Jan 18 2025 19:06:01
Module start 'content'
Timing: Jan 18 2025 19:06:01
Module end 'content'
Timing: Jan 18 2025 19:06:01
Script end

Main resources:

Total runtime0.0274 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.0125 589.1563152.6406
Module start 'layout' 0.01250.0051 741.796939.4766
Module start 'content' 0.01760.0071 781.273493.3672
Module end 'content' 0.02470.0026 874.640634.3047
Script end 0.0273  908.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003814.0604140.0003
Check MTime0.00134.7368140.0001
Mysql Total
Database connection0.00197.121710.0019
Mysqli_queries0.006323.025830.0021
Looping result0.00000.102010.0000
Template Total0.00197.110.0019
Template load0.00113.981910.0011
Template processing0.00093.118910.0009
Override
Cache load0.00082.957710.0008
General
dbfile0.00020.843880.0000
String conversion0.00000.054940.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