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.