r0b0ts.txt taking over forum posts

Author Message

Geoff Bentley

Sunday 14 December 2008 12:22:15 pm

Every time I go to a posts that contains r0b0ts.txt in it on this forum, I'm sent the ez.no r0b0ts.txt.

It would be really nice to be able to discuss eZ & r0b0ts.txt, or see what others have said, but this makes it impossible!

Kristof Coomans

Sunday 14 December 2008 11:44:05 pm

Hello Geoff

Can you give an example of such a post here on the forum?

Most likely, it's the rewrite rules that are not correct, and match more than a literal "robots.txt".

The correct rewrite rule (as also mentioned in the eZ Publish technical manual) is

RewriteRule ^/robots\.txt

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ole Morten Halvorsen

Monday 15 December 2008 2:27:46 am

Hi Geoff,

I've updated the robots rewrite rule, it was indeed a bit lazy (it matched robots.txt, not robots\.txt). Was not able to reproduce the problem you described though (although, now it's probably fixed anyways). Do you have an example forum post you know of that redirected you to the robots.txt file?

Cheers,
Ole M

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

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 16:24:36
Script start
Timing: Jan 18 2025 16:24:36
Module start 'layout'
Timing: Jan 18 2025 16:24:36
Module start 'content'
Timing: Jan 18 2025 16:24:37
Module end 'content'
Timing: Jan 18 2025 16:24:37
Script end

Main resources:

Total runtime0.5617 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.0391152.6406
Module start 'layout' 0.00810.0034 740.679739.4766
Module start 'content' 0.01150.5492 780.1563574.1172
Module end 'content' 0.56070.0010 1,354.273412.1406
Script end 0.5617  1,366.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6057160.0002
Check MTime0.00140.2432160.0001
Mysql Total
Database connection0.00170.310110.0017
Mysqli_queries0.515491.7478590.0087
Looping result0.00050.0876570.0000
Template Total0.528594.120.2643
Template load0.00210.365420.0010
Template processing0.526493.722820.2632
Template load and register function0.00010.015710.0001
states
state_id_array0.00140.243210.0014
state_identifier_array0.00070.117720.0003
Override
Cache load0.00170.3065180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.091530.0002
Fetch class attribute name0.00090.153650.0002
XML
Image XML parsing0.00190.342630.0006
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00200.3562220.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs