default url

Author Message

Matthieu M

Monday 21 April 2008 9:26:06 am

Hello,

I have recently install an ezpublish 4.0 version.
When I have done this process, I choose to:
- create a new website according with the second model in purpose list (sorry, I don't remember it's name). In configuration, I have choose a website call dummy which is better keyword for search engine.
- map french to english
I host my ezpublish on a shared hosting.
When I ask http://www.my_hostname.com, I'm redirect to a page that looks like the expected one.
But I have two problems:
- the first one is that in each link, I have something like this:
http://www.my_hostname.com/home/myhost/www/index.php?/fre/Something

but /home/myhost/www is the path where is host my files on the server. How can I remove theses datas to have something like that:
http://www.my_hostname.com/index.php?/fre/Something

- My second problem is that I don't wants to have the fre site selected. My website will be only in french, and I would like something like that:
http://www.my_hostname.com/index.php/dummy/Something

I have look for theses datas in ini.append.php files. But I'm not sure which one I need to update? if I remove /home/myhost/www/settings/siteaccess/fre folder, did it do what I'm expecting for?
Please accept my apologizes for my poor english
best regards

Matthieu

PS: hope like my others messages that is the good forum, I can't found some descriptions about the ezpublish 4th version.

Maxime Thomas

Monday 21 April 2008 11:37:33 pm

Hi,

First point : you may have a bad Apache configuration . Check the DocumentRoot of your VirtualHost, it must have the real path to your eZPublish root.

Second point :
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/siteaccesssettings/pathprefix

Hope it helps.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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 01:29:17
Script start
Timing: Jan 31 2025 01:29:17
Module start 'layout'
Timing: Jan 31 2025 01:29:17
Module start 'content'
Timing: Jan 31 2025 01:29:17
Module end 'content'
Timing: Jan 31 2025 01:29:17
Script end

Main resources:

Total runtime0.0335 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1250151.2109
Module start 'layout' 0.00590.0067 739.3359220.6875
Module start 'content' 0.01270.0193 960.0234997.7891
Module end 'content' 0.03200.0015 1,957.812533.9922
Script end 0.0335  1,991.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003510.4342140.0002
Check MTime0.00123.6190140.0001
Mysql Total
Database connection0.00082.391310.0008
Mysqli_queries0.004312.829830.0014
Looping result0.00000.059810.0000
Template Total0.00123.410.0012
Template load0.00092.797010.0009
Template processing0.00020.623410.0002
Override
Cache load0.00071.955710.0007
General
dbfile0.00278.040180.0003
String conversion0.00000.023540.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.0002 secs