1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Transmit & WebDav

Discussion in 'Troubleshooting and Problems' started by bambua, Sep 8, 2011.

  1. bambua

    bambua Well-Known Member

    I've set up webdav for my forum via it's interent address and I can connect to it fine and browse the files. However, as soon as I try to save them I get a 403 forbidden. Has anyone run into this before? Any idea what I might be missing?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    If you are using XenForo's htaccess file then try uncommenting this line:

    Code:
    #	Mod_security can interfere with uploading of content such as attachments. If you
    #	cannot attach files, remove the "#" from the lines below.
    #<IfModule mod_security.c>
    #	SecFilterEngine Off
    #	SecFilterScanPOST Off
    #</IfModule>
    
    ErrorDocument 401 default
    ErrorDocument 403 default
    ErrorDocument 404 default
    ErrorDocument 500 default
    
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    
    	#	If you are having problems with the rewrite rules, remove the "#" from the
    	#	line that begins "RewriteBase" below. You will also have to change the path
    	#	of the rewrite to reflect the path to your XenForo installation.
    	#RewriteBase /xenforo
    
    	#	This line may be needed to enable WebDAV editing with PHP as a CGI.
    	#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    
    	RewriteCond %{REQUEST_FILENAME} -f [OR]
    	RewriteCond %{REQUEST_FILENAME} -l [OR]
    	RewriteCond %{REQUEST_FILENAME} -d
    	RewriteRule ^.*$ - [NC,L]
    	RewriteRule ^(data/|js/|styles/|install/|favicon\.ico) - [NC,L]
    	RewriteRule ^.*$ index.php [NC,L]
    </IfModule>
    
    If that doesn't work then there must be some other server restriction blocking the request.
     
    bambua likes this.
  3. bambua

    bambua Well-Known Member

    That was it thanks Jake.
     

Share This Page