问题
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