Monday 21 February 2011 1:31:27 pm
I have probably read all the information and lost a lot of time. My configuration with "Server Name" instead of "Server Alias". <does not work>. Two of the many rules for webdav.php are in the configuration. I am newbie and have no idea of PHP and Apache. OK, eZ also not. I need some general help and needs to know where the fault lies with webdav. Windows, my understanding or my configuration. It is a test project to learn. I can play also. But now my questions.
- Includes 4.4 ez really an own WebDAV server?
- If so, can Apache WebDAV and WebDAV eZ run atthe same time?
- I set up WebDAV drives. These work. Sorry, no php files are executed. Is my configuration correct?
KONFIGURATIONSDATEIEN:
---------------------------
httpd-dav.conf
---------------------------
<IfModule dav_module>
<IfModule dav_fs_module>
<IfModule setenvif_module>
<IfModule alias_module>
<IfModule auth_digest_module>
<IfModule authn_file_module>
DavLockDB "C:/Testserver/xampp/apache/logs/Dav.Lock"
# ------------------https://webdav.ez.loc------------------------
Alias / "E:/proj/www/ez/htdocs/"
<Directory "E:/proj/www/ez/htdocs">
SSLRequireSSL
Dav On
Order allow,deny
Allow from all
AuthType Basic
AuthName "WebDAV eZ"
AuthUserFile "E:/proj/www/ez/security/.htpasswd"
<LimitExcept GET OPTIONS>
Require valid-user
</LimitExcept>
</Directory>
# ----------------------------------------------------------------
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
</IfModule>
</IfModule>
</IfModule>
</IfModule>
</IfModule> </IfModule>
----------------------------
http-vhost.conf
----------------------------
NameVirtualHost 127.0.0.7:80
<VirtualHost 127.0.0.7:80>
<Directory "E:/proj/www/ez/htdocs">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_php5.c>
php_admin_flag safe_mode Off
php_admin_value register_globals 0
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value allow_call_time_pass_reference 0
</IfModule>
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/([^/]+/)?content/treemenu.* /index_treemenu\.php [L]
RewriteRule ^/var/([^/]+/)?storage/images(-versioned)?/.* - [L]
RewriteRule ^/var/([^/]+/)?cache/(texttoimage|public)/.* - [L]
RewriteRule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
RewriteRule ^/share/icons/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/(stylesheets|flash|images|lib|javascripts?)/.* - [L]
RewriteRule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^/var/storage/packages/.* - [L]
RewriteRule ^/favicon\.ico - [L]
RewriteRule ^/design/standard/images/favicon\.ico - [L]
RewriteRule .* /index\.php
</IfModule>
DocumentRoot "E:/proj/www/ez/htdocs/"
php_admin_value upload_tmp_dir "E:/proj/www/ez/htdocs/tmp/"
php_admin_value session.save_path "E:/proj/www/ez/htdocs/tmp/"
ErrorLog "E:/proj/www/ez/logs/ez-error.log"
CustomLog "E:/proj/www/ez/logs/ez-access.log" combined
ServerAdmin postmaster@ez.loc
ServerName ez.loc
ServerAlias www.ez.loc
</VirtualHost>
#-------------https://webdav.ez.loc------------------------------
<VirtualHost 127.0.0.7:80>
<Directory "E:/proj/www/ez/htdocs">
Options FollowSymLinks
AllowOverride None
</Directory>
DocumentRoot "E:/proj/www/ez/htdocs/"
RewriteEngine On
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) /webdav.php [L]
# Rewriterule .* /webdav.php
RewriteLog "C:\Testserver\xampp\apache\logs\rewrite.log"
RewriteLogLevel 9
ErrorLog "E:/proj/www/ez/logs/dav_ez_error.log"
CustomLog "E:/proj/www/ez/logs/dav_ez_access.log" combined
ServerName webdav.ez.loc
</VirtualHost>
----------------------------
hosts ----------------------------
127.0.0.1 localhost
127.0.0.7 www.ez.loc # Testprojekt local 25.01.2011 Apache on Xampp
127.0.0.7 ez.loc # Testprojekt local 25.01.2011 Apache on Xampp
127.0.0.7 ez # Testprojekt local 25.01.2011 Apache on Xampp
127.0.0.7 webdav.ez.loc # Testprojekt local 15.02.2011 Apache on Xampp
127.0.0.7 admin.ez.loc # Testprojekt local 17.02.2011 Apache on Xampp ----------------------------
webdav.ini
----------------------------
[GeneralSettings]
EnableWebDAV[] override true
Logging[] override enabled
StartNode[] siteaccess 2
----------------------------
site.ini
----------------------------
[SiteSettings]
SiteList[] default [0]
SiteList[] override [1] ezflow_user
SiteList[] override [2] ger
SiteList[] override [3] eng
SiteList[] override [4] ezflow_admin
SiteList[] override [5] iphone
------------------------------------------------------ ------------------------------------------------------
LOGDATEN:
Mainserver "localhost 127.0.0.1" [ERROR-Log]
[Tue Feb 22 02:23:53 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 22 02:23:53 2011] [notice] Digest: done
[Tue Feb 22 02:23:54 2011] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l
mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured --
resuming normal operations
[Tue Feb 22 02:23:54 2011] [notice] Server built: Nov 11 2009 14:29:03
[Tue Feb 22 02:23:54 2011] [notice] Parent: Created child process 948
[Tue Feb 22 02:24:00 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 22 02:24:00 2011] [notice] Digest: done
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Child process is running
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Acquired the start mutex.
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Starting 150 worker threads.
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Starting thread to listen on port 443.
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Starting thread to listen on port 443.
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Starting thread to listen on port 80.
[Tue Feb 22 02:24:01 2011] [notice] Child 948: Starting thread to listen on port 80.
Mainserver "localhost 127.0.0.1" [ERROR-Log]
<Windows Webclient>
[Tue Feb 22 02:26:10 2011] [error] [client 127.0.0.7] client denied by server configuration:
E:/proj/www/ez/htdocs/.htaccess
<BitKinex>
[Tue Feb 22 02:39:44 2011] [error] [client 127.0.0.7] client denied by server configuration:
E:/proj/www/ez/htdocs/.htaccess
Mainserver "localhost 127.0.0.1" [ACCESS-Log]
127.0.0.7 - - [22/Feb/2011:02:25:51 +0700] "PROPFIND / HTTP/1.1" 401 1580 "-" "Microsoft Data Access
Internet Publishing Provider DAV"
<Dateizugriff (*.txt)>
127.0.0.7 - User [22/Feb/2011:02:26:10 +0700] "PROPFIND / HTTP/1.1" 207 30087 "-" "Microsoft Data
Access Internet Publishing Provider DAV"
127.0.0.7 - - [22/Feb/2011:02:37:34 +0700] "PROPFIND / HTTP/1.1" 401 1418 "-" "BitKinex/3.2.3"
127.0.0.7 - User [22/Feb/2011:02:37:45 +0700] "PROPFIND / HTTP/1.1" 207 20306 "-" "BitKinex/3.2.3"
127.0.0.7 - - [22/Feb/2011:02:39:44 +0700] "PROPFIND / HTTP/1.1" 401 1418 "-" "BitKinex/3.2.3"
127.0.0.7 - User [22/Feb/2011:02:39:44 +0700] "PROPFIND / HTTP/1.1" 207 20306 "-" "BitKinex/3.2.3"
<Dateizugriff (*.txt)>
127.0.0.7 - - [22/Feb/2011:02:39:47 +0700] "GET /README.txt HTTP/1.1" 200 2558 "-" "BitKinex/3.2.3"
<Dateizugriff (webdav.php)>
127.0.0.7 - User [22/Feb/2011:02:57:19 +0700] "PROPFIND / HTTP/1.1" 207 20306 "-" "BitKinex/3.2.3" 127.0.0.7 - User [22/Feb/2011:02:57:22 +0700] "GET /webdav.php HTTP/1.1" 404 - "-" "BitKinex/3.2.3"
webshop - extension searched
|