Use Google Drive Directory as Apache Virtual host

偶尔善良 提交于 2019-11-26 21:25:35

问题


I am trying to set up an Apache 2.4 server with my google drive folder. I already did it with Dropbox and it's working fine, but with google drive, Apache can't find the directory.

After some research, I have discovered that the real path of google drive folder is in

C:\Users\ME\AppData\Local\Google\Drive\sync_config.db

but it's all compiled. Is there a way to get the path ?

I have already tried with this KiXtart script :

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=204938

...which is not working anymore.


回答1:


It is a permissions issue. Right click 'Google Drive' Folder -> Properties -> Security Tab -> Advanced -> Change Permissions... -> Check 'Include inheritable permissions from parent folder'.




回答2:


This is just a permissions issue. Change the permissions of the Google Drive folder to inherit all the permissions of the parent folder, then you're good to go.




回答3:


You can map the google drive folder to a drive, then install the wmap/virtual host to this path:

subst x: "C:\{pathname}\{foldername}"

Edit: added quotes encase of space in {foldername} (e.g. /Google Drive/)



来源:https://stackoverflow.com/questions/13122267/use-google-drive-directory-as-apache-virtual-host

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!