search
HomeBackend DevelopmentPHP TutorialSuper easy-to-use lazy webdav based on PHP personal cloud service building software, can be used for zotero document synchronization

Introduction

phpEasyVCS is a simple version control system (VCS) and WebDAV server with minimal hosting requirements:

  • PHP 5.2+

No database is needed.

Files can be viewed and uploaded with a browser or by WebDAV.

License: GPLv3

If you want to see the web interface of phpEasyVCS, either

  • see the Screenshots or
  • go to the Demo site (login with username demo and password demo). You may only upload files up to 50kB and the data will be purged regularly.

Download

You can download phpEasyVCS from Sourceforge.

Installation

Copy phpEasyVCS to a directory on your server, e.g. easyvcs.

Browse to http(s)://your.server/easyvcs-dir/index.php (replace your.server and easyvcs-dir with your server and installation directory) and fill out the settings form.

You can also create additional users on the Users tab.

Depending on your server settings, the authorization header might not reach PHP. In case of Apache you can add the following rewrite rule to your .htaccess:

RewriteEngineonRewriteBase/RewriteRule.*-[E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

You can also create additional repositories by

  • creating a new directory in the data folder (on the same level as the default folder)
  • editing the user(s) to give them access to the additional repository - you have to reenter the password for this

Usage

Independent of the access type the user has to identify himself with his user name and password. If the user has access to multiple repositories, he must prefix the user name with the repository name and a backslash, e.g. "specialrepositorymax", otherwise it is not sure, into which repository he will be logged in.

Web Browser

Browse to http(s)://your.server/easyvcs-dir/index.php (replace your.server and easyvcs-dir with your server and installation directory).

You can browse the VCS, create tags to browse the VCS at a specific date, view versions, revert a file to a version, etc.

The web access will work

  • with Javascript switched off (no syntax highlighting, page reload on many actions),
  • with Javascript activated,
  • with Javascript and Java plugin activated and the Java applet loaded you can upload whole directories and get progress bars during upload.

To enable Java and experience the least warnings possible:

  • Download and install Java from java.com,
  • in your favorite browser (which should support the Java plugin), go to the plugins page (e.g. in Firefox Tools/Add-ons/Plugins) and make sure that the Java plugin will either Always Activate orAsk to Activate,
  • open the Java Plugin Control Panel (Windows: in Start/Programs, Linux Gnome: search for "java" in your Gnome menu) and set Security/Security Level to medium and add your phpEasyVCS web site URL to the website exceptions.

Using the navigation item Profile the user can change his password and switch the repository, if he has access to multiple repositories.

WebDAV

Use http(s)://your.server/easyvcs-dir/webdav.php for WebDAV access. The actual syntax may vary depending on your operating system and WebDAV program.

The root level of the WebDAV drive shows at least the directory current, which represents the currently saved files. You will also see the tags created in the web interface, which represent read-only views of your VCS at a specific time. Additionally you can view the VCS at a specific point in time by manually specifying a date and time in the format YYYY-MM-DD or YYYY-MM-DDTHH:MM, e.g.http://your.server/easyvcs-dir/webdav.php/2011-01-01 or http://your.server/easyvcs-dir/webdav.php/2011-01-01T16:00 (this might not work with your WebDAV client).

Linux

Enter the following URL in Nautilus or Caja: dav://your.server/easyvcs-dir/webdav.php

If this does not work, connect explicitely by use of its menu File/Connect to Server and set Server to your.server, type to WebDAV (HTTP) or Secure WebDAV (HTTPS), path to easyvcs-dir/webdav.php and enter your user name and password.

You can also connect using Gnome Commander: set type to WebDAV, server to your.server and remote directory to /easyvcs-dir/webdav.php.

Or install davfs2 and mount the WebDAV, e.g.:

sudo apt-get install davfs2 sudo mkdir /media/easyvcs sudo mount -t davfs http://your.server/easyvcs-dir/webdav.php /media/easyvcs

You probably need to add options like -o rw,user,uid=myusername to be able to write, too.

Windows XP

Preparation:

  • Download and install KB907306 for web folders
  • To use basic authentication, set the DWORD registry entry UseBasicAuth in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters to 1and restart Windows.

Goto explorer - Tools - Map Network Drive - Connect to a Web site and enter http://your.server/easyvcs-dir/webdav.php as URL

Or goto explorer - Tools - Map Network Drive and directly add http://your.server/easyvcs-dir/webdav.php as folder (this only seems to work if your phpEasyVCS installation requires no authentication)

Windows Vista/Windows 7

Preparation:

  • Go to Settings in your phpEasyVCS instance and make sure that authentication method is Digest.
  • Or, if you really want to use Basic authentication, follow the steps in KB841215: Set the DWORD registry entry BasicAuthLevel inHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters to 2 and restart Windows.

Goto explorer - Map Network Drive - Connect to a Web site and enter http://your.server/easyvcs-dir/webdav.php as URL.

Alternatives for Windows XP/Windows Vista/Windows 7

TotalCommander has a WebDAV plugin.

BitKinex - All-in-one FTP/SFTP/HTTP/WebDAV Client (Freeware)

  • When setting up the connection you need to specify first the server and then set easyvcs-dir/webdav.php as default directory.

NetDrive (free for home use): You can assign a drive letter to the WebDAV drive and use it like a local drive.

Problem Solving

The following is a list of problems with various WebDAV clients:

  • With Nautilus you get an error message when moving/renaming (this is a Nautilus bug). But the move is executed correctly and you will see it after a refresh (F5).
  • Windows XP: opening a file from a WebDAV drive, which is NOT mapped to a drive letter, will only work, if the opening program is WebDAV aware, like Microsoft Word.
  • Windows 7: Although connecting to a WebDAV drive without authentication by http works perfectly, connecting to the same WebDAV drive with basic authentication set up only displays grayed out entries, clicking on a file or folder will do nothing.

Comparison with other VCSes

phpEasyVCS is the only VCS which

  • is implemented in pure PHP,
  • stores the data in the file system, and
  • offers WebDAV access.

版权声明:本文为博主原创文章,未经博主允许不得转载。

以上就介绍了超好用的懒人webdav based on PHP个人云服服务搭建软件, 可用于zotero文献同步,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The Continued Use of PHP: Reasons for Its EnduranceThe Continued Use of PHP: Reasons for Its EnduranceApr 19, 2025 am 12:23 AM

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

PHP and Python: Exploring Their Similarities and DifferencesPHP and Python: Exploring Their Similarities and DifferencesApr 19, 2025 am 12:21 AM

PHP and Python are both high-level programming languages ​​that are widely used in web development, data processing and automation tasks. 1.PHP is often used to build dynamic websites and content management systems, while Python is often used to build web frameworks and data science. 2.PHP uses echo to output content, Python uses print. 3. Both support object-oriented programming, but the syntax and keywords are different. 4. PHP supports weak type conversion, while Python is more stringent. 5. PHP performance optimization includes using OPcache and asynchronous programming, while Python uses cProfile and asynchronous programming.

PHP and Python: Different Paradigms ExplainedPHP and Python: Different Paradigms ExplainedApr 18, 2025 am 12:26 AM

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP and Python: A Deep Dive into Their HistoryPHP and Python: A Deep Dive into Their HistoryApr 18, 2025 am 12:25 AM

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

Choosing Between PHP and Python: A GuideChoosing Between PHP and Python: A GuideApr 18, 2025 am 12:24 AM

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP and Frameworks: Modernizing the LanguagePHP and Frameworks: Modernizing the LanguageApr 18, 2025 am 12:14 AM

PHP remains important in the modernization process because it supports a large number of websites and applications and adapts to development needs through frameworks. 1.PHP7 improves performance and introduces new features. 2. Modern frameworks such as Laravel, Symfony and CodeIgniter simplify development and improve code quality. 3. Performance optimization and best practices further improve application efficiency.

PHP's Impact: Web Development and BeyondPHP's Impact: Web Development and BeyondApr 18, 2025 am 12:10 AM

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

How does PHP type hinting work, including scalar types, return types, union types, and nullable types?How does PHP type hinting work, including scalar types, return types, union types, and nullable types?Apr 17, 2025 am 12:25 AM

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values ​​and handle functions that may return null values.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.