URL Translation problems

Author Message

Francesc Febrer

Monday 16 February 2004 9:33:08 am

Hi,

I have my site configurated at www.mysite.com/index.php/blog, but I want when it is accessed at www.mysite.com/index.php then shows me "blog". I attepmt do this with URL Translator function, but does'nt function.

And I want that bad URLs redirected to / (by default the system redirect the bad URls to admin's login page).

Help me!!!

Francesc Febrer

Tuesday 17 February 2004 1:10:18 pm

Any ideas?

Balazs Halasy

Wednesday 18 February 2004 3:55:28 am

If you want the blog to pop up on just index.php instead of index.php/blog: set the default siteaccess to blog in the site.ini.append file in settings/override.

Balazs

PS: With a bit of apache skillz, you can also make "index.php" disappear from the URL. I don't remember the exact syntax right now; just search the forums...

Francesc Febrer

Wednesday 18 February 2004 7:44:02 am

Wich parameter have I to modify in site.ini? Siteaccess parameters?

I modified siteaccess parameters to;
[SiteSettings]
LoginPage=embeded
SiteName=Nel Martí
SiteURL=www.mysite.net/index.php/blog

but no functiom. If I type www.syte.net/index.php then shows me the admin's login page.

Please, help me. Thanks.

Balazs Halasy

Thursday 19 February 2004 4:16:51 am

File: one of the overrides for site.ini (site.ini.append or site.ini.append.php in the /settings/override dir or the /settings/siteaccess/[whatever]/ dir)

[SiteSettings]
DefaultAccess=my_siteaccess

Balazs

PS: Make sure that the setting is inside the SiteSettings block and that it is set to the siteaccess that you wish to use as the deafult access).

Francesc Febrer

Thursday 19 February 2004 8:00:48 am

Sorry,

but in my case, wich parameter have I to enter in (DefaultAccess) parameter?
URL (=www.mysyte.net/index.php/blog)?
Site (=blog)?
Path (/index.php/blog or /blog)?

Please, help me.... Thanks.
I attempt all this cases but no function.

James Packham

Friday 20 February 2004 5:09:31 am

just "blog" no need for index.php or /

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 04:23:30
Script start
Timing: Jan 31 2025 04:23:30
Module start 'layout'
Timing: Jan 31 2025 04:23:30
Module start 'content'
Timing: Jan 31 2025 04:23:30
Module end 'content'
Timing: Jan 31 2025 04:23:30
Script end

Main resources:

Total runtime0.0139 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.0053 588.1250151.2109
Module start 'layout' 0.00530.0031 739.335936.6328
Module start 'content' 0.00840.0042 775.968894.0938
Module end 'content' 0.01260.0013 870.062537.9922
Script end 0.0139  908.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.7477140.0002
Check MTime0.00117.6809140.0001
Mysql Total
Database connection0.00064.630110.0006
Mysqli_queries0.003223.129830.0011
Looping result0.00000.085610.0000
Template Total0.00106.910.0010
Template load0.00075.181010.0007
Template processing0.00021.700810.0002
Override
Cache load0.00053.500810.0005
General
dbfile0.00031.822380.0000
String conversion0.00000.179740.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