C
C
creatoroftheworld2017-01-09 10:27:08
Apache HTTP Server
creatoroftheworld, 2017-01-09 10:27:08

Is it possible to create a site in OpenServer with index.php that includes the site/index.php from the dropbox?

The site is in dropbox and I don’t want to copy it every time.
Is it possible to create a site in OpenServer, in which index.php, in which

<?
include '../../../Users/%username_в_каждой_машине_разный%/Dropbox/php.dev/index.php';
?>

But! so that it takes into account the .htaccess in the dropbox

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2017-01-09
@creatoroftheworld

do not want to copy - make a symlink. Anything is better than the above.

S
serafims, 2017-01-09
@serafims

Well, or make a domain alias to the dropbox folder. Then, in fact, the root site folder will be a folder in the dropbox

A
Alexander Taratin, 2017-01-09
@Taraflex

Just specify where OpenServer should look for site files
AND no symlinks needed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question