I
I
Ivan Vekov2016-12-16 16:15:28
System administration
Ivan Vekov, 2016-12-16 16:15:28

VirtualBox Centos 7 (BitrixVM) + WebDav - for IDE connection?

There is a virtual machine raised through VirtualBox BitrixVM.
There is a project (website) in the /***/www/ folder.
There is an IDE - PHP Storm, Eclipse + SourceTree.
What is the idea:
IDE and ST, when specifying a remote server or virtual machine, all project files are copied to the local machine, which in the end is quite inconvenient to work with.
I'm trying to use WebDav to connect a virtual directory with a project (/www/) as a network drive.
What is not clear:
1) Is it possible to edit php files at all through WebDav?
2) I check the availability of webdav through Cadaver (cadaver), I pass authentication. But then it gives me:
Authentication required for Bitrix Site Manager on server 'localhost'.
This is where I have no idea what to do...
3) Perhaps there are other ways to help solve my problem?
What I did:
Well, actually there is a virtual machine, there is a centos Dav, there is a user for the connection.
I registered in httpd conf

Alias ​​/webdav /home/bitrix/www
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /home/bitrix/passwd.dav
Require valid-user
NameVirtualHost *:80
ServerAdmin [email protected]
DocumentRoot /home/bitrix/www/
Options Indexes MultiViews
AllowOverride None
Order allow,deny
allow from all
Alias ​​/webdav /home/bitrix/www
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /home/bitrix/passwd.dav
Require valid-user

When I try to connect "as a network drive" - ​​gives the first form of authorization. Everything is ok with her, she is loading something. Then he issues a second one. And that's all. Here is the end. Maybe something had to be done with the ports?
In general, I'm very bad at odds with Linux and SSH, as well as with system administration in general. I try to learn as problems come along.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2016-12-16
@Adamos

Gods! You can't make life difficult for yourself!
Put the project in a LOCAL folder and mount it as a shared one in VirtualBox using its regular means.
Vagrant, for example, does just that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question