Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using ubuntu and windows 7 dualboot,and have xampp installed on both I want to have access to one localhost directory whether I'm using windows or ubuntu. both systems are installed on the same partition.

share|improve this question

1 Answer 1

I would recommend having the "shared" HTDOCS folder on your Windows side as Ubuntu can read NTFS natively.

You will need to use FSTAB to mount your Windows partition when Ubuntu boots so that you can access the web files.

Once you have a regular mount point for the Windows partition you need to create a symbolic link in Ubuntu so that your web files are still accessible by Ubuntu Apache but it can still read from its default location.

E.g. sudo chown -R $USER /var/www; ln -s /var/www /media/Windows/xampp/htdocs

I'm only using the above code as an example. Please do further reading to get your scenario correct.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.