webdav setup - virtual localhost

Author Message

Halvor M

Monday 02 January 2006 3:34:46 pm

I have tried to setup the apache server on my WinXP site using the example in the Documentation section (my EZpath is D:/www/_site) :

NameVirtualHost *:80


<Virtualhost *:80>
  
<Directory "D:/www/_site">
    Options FollowSymLinks Indexes ExecCGI
    AllowOverride None
  </Directory>
  DocumentRoot "D:/www/_site"
RewriteEngine On
RewriteRule .* webdav.php # no leading slash
 ServerAdmin admin@localhost
 ServerName webdav
</VirtualHost>

 

However, my apache server (tried borth 1.3 and 2.0) won't start with that rewrite rule in place... I am currently testing the system locally, which is why I am using localhost settings.

Petter Arneson

Tuesday 03 January 2006 4:22:47 am

Hi!
This is one setup that works for me.
I have set up a subdomain that uses port 85, so the website is reachable as well.

<VirtualHost xx.xx.xx.xx:85>
        <Directory /home/xx/domains/xx.com/public_html>
                Options FollowSymLinks Indexes ExecCGI
                AllowOverride None
        </Directory>
        ServerName www.webdav.xx.com
        ServerAlias www.webdav.xx.com  webdav.xx.com
        ServerAdmin pa@vzt.no
        DocumentRoot /home/xx/domains/xx.com/public_html
        RewriteEngine On
        RewriteRule !\.(css|jar|js|html|htm|php)$ /home/xx/domains/xx.com/public_html/webdav.php
        CustomLog /var/log/httpd/domains/xx.com.85.webdav.bytes bytes
        CustomLog /var/log/httpd/domains/xx.com.85.webdav.log combined
        ErrorLog /var/log/httpd/domains/xx.com.85.webdav.error.log
</VirtualHost>

www.vzt.no

Halvor M

Tuesday 03 January 2006 3:00:21 pm

I tried using this, but it doesnt work either - maybe because I am using XP and I have written somethin in wrong format...

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 01:22:12
Script start
Timing: Jan 19 2025 01:22:12
Module start 'layout'
Timing: Jan 19 2025 01:22:12
Module start 'content'
Timing: Jan 19 2025 01:22:13
Module end 'content'
Timing: Jan 19 2025 01:22:13
Script end

Main resources:

Total runtime0.6669 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 590.4063152.6406
Module start 'layout' 0.00650.0028 743.046939.4766
Module start 'content' 0.00930.6560 782.5234498.9844
Module end 'content' 0.66530.0015 1,281.50788.1406
Script end 0.6668  1,289.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.6318160.0003
Check MTime0.00140.2117160.0001
Mysql Total
Database connection0.00100.150810.0010
Mysqli_queries0.618292.7074570.0108
Looping result0.00060.0952550.0000
Template Total0.633395.020.3167
Template load0.00220.327220.0011
Template processing0.631194.644620.3156
Template load and register function0.00060.093010.0006
states
state_id_array0.00080.121510.0008
state_identifier_array0.00360.541120.0018
Override
Cache load0.00180.2682150.0001
Sytem overhead
Fetch class attribute can translate value0.00090.136820.0005
Fetch class attribute name0.00140.208530.0005
XML
Image XML parsing0.00030.040020.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.1137100.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs