Home How to redirect a full file path from windows to unix
Reply: 0

How to redirect a full file path from windows to unix

user644
1#
user644 Published in August 15, 2018, 11:17 am

I use a mac mini and a windows laptop. I want to be able to use any machine to develop my client websites and have them synced and working fine on both local servers.

I am planning to install the same Xampp version on both of them and map the db and htdocs files to a Google Drive folder so mac and windows servers will sync and have compatible Apache and MySQL versions.

The problem is that $_SERVER['DOCUMENT_ROOT'] is different on each of them and they get written on the db by some wordpress plugins.

Can i use mod_rewrite on httpd.conf to redirect a windows root path to a mac path and vice versa?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.29734 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO