Forums / Install & configuration / .htaccess affects non related sub domains too

.htaccess affects non related sub domains too

Author Message

Justin Taylor

Saturday 04 February 2006 9:24:46 pm

I'm not much of a htaccess or apache guru so this may be a simple fix.

What must change in the .htaccess file so that the rules in it only affect eZ Publish files and directories? How do I EXCLUDE my sub domains from being affected by the .htaccess file that ships with eZ Publish?

Note that my eZ Publish installation is in the root of my site, as are the subdomains being affected.

Vidar Langseid

Thursday 16 February 2006 12:53:41 am

Hi

I don't really understand your setup when you are talking about "sub domains". But if you place the .htaccess in the eZp directory, this .htaccess should only apply to this directory and it's subdirectories.

Best regards,
Vidar

eZ debug

Timing: Jan 18 2025 22:39:08
Script start
Timing: Jan 18 2025 22:39:08
Module start 'content'
Timing: Jan 18 2025 22:39:09
Module end 'content'
Timing: Jan 18 2025 22:39:09
Script end

Main resources:

Total runtime0.5785 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.9609180.8047
Module start 'content' 0.00790.5664 768.7656462.4141
Module end 'content' 0.57430.0042 1,231.179742.0547
Script end 0.5785  1,273.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5513140.0002
Check MTime0.00120.2160140.0001
Mysql Total
Database connection0.00070.123110.0007
Mysqli_queries0.540293.3773550.0098
Looping result0.00060.1069530.0000
Template Total0.546594.520.2733
Template load0.00180.312720.0009
Template processing0.544794.154720.2724
Template load and register function0.00010.025110.0001
states
state_id_array0.00100.174010.0010
state_identifier_array0.00090.153020.0004
Override
Cache load0.00150.2569110.0001
Sytem overhead
Fetch class attribute can translate value0.00130.225920.0007
Fetch class attribute name0.00150.267620.0008
XML
Image XML parsing0.00030.047720.0001
class_abstraction
Instantiating content class attribute0.00000.001220.0000
General
dbfile0.00090.1595120.0001
String conversion0.00000.001530.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs