Tuesday 22 February 2011 9:09:14 am
Thanks Yannick, for the reply. There is not the right way. DAV_Module off and exclude the hhtp-dav.conf does not help. The way from the manual does not work. http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Installation/Virtual-host-setup The normal configuration for DAV in the http-dav.conf results for all other domains "403". Do not worry, eZ continues. Someone had an idea. How is working the WebDAV from eZ? Where is my wrong? I show you something nice too. The following example matches all domains of the server. http-dav.conf
DavLockDB "C:/Testserver/xampp/apache/logs/Dav.Lock"
...
Alias / "E:/proj/www/ez/htdocs/"
<Directory "E:/proj/www/ez/htdocs">
Dav On
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all </Directory>
http-vhost.conf
http-vhost.conf
...
RewriteRule .* index\.php
#RewriteRule .* /index\.php ...
Result for 10.0.0.2 (www/contao.loc)
Warning: require() [function.require]: open_basedir restriction in effect. File(E:\proj\www\ez\htdocs\autoload.php) is not within the allowed path(s): (E:/proj/www/contao/htdocs/) in E:\proj\www\ez\htdocs\index.php on line 45
Warning: require(E:\proj\www\ez\htdocs\autoload.php) [function.require]: failed to open stream: Operation not permitted in E:\proj\www\ez\htdocs\index.php on line 45 Fatal error: require() [function.require]: Failed opening required 'autoload.php' (include_path='.;C:\Testserver\xampp\php\PEAR') in E:\proj\www\ez\htdocs\index.php on line 45
Today, I have switched all Hosts on IP-based and use for this a virtual interface (Microsoft Loopack adapter). Tomorrow I test everything in name-based hosts, and then I'm going to throw stones into the Pacific.Below my configuration of today. "Order allow, deny" and "Allow from all" do not come from the manual. Without these rules, I could not install.
I hope I have not buried eZ and wish a good night. Falkmar
<VirtualHost 10.0.0.7:80>
<Directory "E:/proj/www/ez/htdocs">
Options FollowSymLinks Indexes ExecCGI
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
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) /webdav.php [L]
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>
RewriteLog "C:\Testserver\xampp\apache\logs\rewrite.log"
RewriteLogLevel 9
ErrorLog "E:/proj/www/ez/logs/ez-error.log"
CustomLog "E:/proj/www/ez/logs/ez-access.log" combined
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/"
ServerAdmin postmaster@ez.loc
ServerName ez.loc
ServerAlias webdav.ez.loc
ServerAlias www.ez.loc </VirtualHost>
webshop - extension searched
|