Virtual host vs. .htaccess

Author Message

Chuck Knight

Monday 05 January 2004 7:26:07 am

The environment is shared Linux box, managed with cPanel, which means access to /home/userxyz and from there down to /home/userxyz/public_html, which is the Apache-pointed root directory for the web site.

In my first installation, I pointed the installer to /home/userxyz/public_html. That created the ezpublish directory INSIDE my web directory, and created very long URL's. Didn't like it, so...

I deleted the first installation, and then I reinstalled the product, this time pointing OUTSIDE of my web directory (that is, the ezpublish directory was in home/userxyz, at the same level as public_html). Then, I moved all files from inside the ezpublish directory to /home/userxyz/public_html.

Now, the URL's are shorter, and the site starts by just pointing to http://www.userxyz.com. The site seems to work perfectly, and so far so good... But...

During the second installation, I DID NOT get from the installation script the recommendation that I got in the first one, asking me to copy and rename the .htaccess file. FURTHER YET, the installation script did not produce an htaccess file in the first place!

So, here comes my question(s):
* Because I installed straight into the root web directory (/home/userxyz/public_html), does that mean that I have installed the product as virtual host? In that case, does that mean I don't need an .htaccess? Or...
* I still need the .htaccess file, and need to reconstruct it from zero because somehow installing ezPublish outside of .../public_html confused the installation script?

Any advice will be, as usually, very welcome

Thanks
Chuck

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 19 2025 00:58:36
Script start
Timing: Jan 19 2025 00:58:36
Module start 'layout'
Timing: Jan 19 2025 00:58:36
Module start 'content'
Timing: Jan 19 2025 00:58:36
Module end 'content'
Timing: Jan 19 2025 00:58:36
Script end

Main resources:

Total runtime0.7281 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 589.2734152.6406
Module start 'layout' 0.00900.0036 741.914139.4609
Module start 'content' 0.01250.7140 781.3750407.4688
Module end 'content' 0.72660.0015 1,188.84388.1641
Script end 0.7281  1,197.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4844160.0002
Check MTime0.00140.1939160.0001
Mysql Total
Database connection0.00180.253110.0018
Mysqli_queries0.687794.4524460.0150
Looping result0.00050.0665440.0000
Template Total0.696795.720.3484
Template load0.00200.271420.0010
Template processing0.694895.420120.3474
Template load and register function0.00020.027210.0002
states
state_id_array0.00080.115210.0008
state_identifier_array0.00150.211520.0008
Override
Cache load0.00160.2206140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.075810.0006
Fetch class attribute name0.00080.116610.0008
XML
Image XML parsing0.00010.015210.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00070.0954100.0001
String conversion0.00000.001340.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
1content/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
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs