Quote:
Originally Posted by falko
Better. 
|
Falko,
I think we are nearly there :-) Don't go! :-)
My .vhost now looks like this:
Code:
<Directory /var/www/www.myothersite.co.uk>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/www.myothersite.co.uk/web
ServerName www.myothersite.co.uk
ServerAlias *.www.myothersite.co.uk
ServerAdmin webmaster@www.myothersite.co.uk
ErrorLog /var/log/ispconfig/httpd/www.myothersite.co.uk/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /var/www/www.myothersite.co.uk/web>
Options FollowSymLinks +Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web1/web>
Options FollowSymLinks +Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@www.myothersite.co.uk"
php_admin_value upload_tmp_dir /var/www/clients/client1/web1/tmp
php_admin_value session.save_path /var/www/clients/client1/web1/tmp
DAVLockDB /var/lock/apache2/DAVLock
#DAVMinTimeout 600
<Location /var/www/clients/client1/web1/web/davtest>
Dav On
AuthType Basic
AuthName davtest
AuthUserFile /var/www/clients/client1/web1/web/davtest/.DAVlogin
<LimitExcept OPTIONS>
Require user davtest
</LimitExcept>
</Location>
</VirtualHost>
Using my browser, I seem to be able to get to the davtest folder but I don't get a username/password challenge, which is important to me.
Using the OSX finder I get an error that the "Server cannot be found on the network".
There are no errors in my log.
Some tweak is required somewhere.
EDIT:
I thought there wasn't a .Davlogin file inside davtest and so logged in to my ISPc3 panel > Sites > Options and changed the line
Code:
AuthUserFile /var/www/clients/client1/web1/web/davtest/.DAVlogin
to
Code:
AuthUserFile /var/www/clients/client1/web1/web/davtest.DAVlogin
as I could see the web/davtest.DAVlogin file.
This made no difference but when I changed it back, I suddenly can't get to the davtest folder any more, using my browser. I get a 403 Forbidden! error.
I restarted apache.
There *is* in fact a .Davlogin file inside the davtest directory. I thought my ftp client was showing invisible files but it didn't show that one. I can see it in the terminal.
*Now* my log says:
Code:
[Thu Jan 28 10:10:33 2010] [error] [client my.ip] Directory index forbidden by Options directive: /var/www/www.myothersite.co.uk/web/davtest/
I'll write all this up when we are done, I promise! :-)
S
Recent comments
1 day 17 hours ago
2 days 1 hour ago
2 days 4 hours ago
2 days 5 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 10 hours ago
2 days 11 hours ago
3 days 3 hours ago
3 days 4 hours ago