Using same htdocs folder with xampp for windows
Posted: 24. February 2009 09:04
Hi everybody, im newbie here,
Today i decided to install ubuntu on my laptop (I've installed Win XP with xampp 1.70 for windows first). After that, I install Xampp 1.70 for linux.
Go to http://localhost/, it's work nomally.
But I'm PHP developer, I have all code in C:\xampp\htdocs (xampp for windows), now I want to run it in Linux environment. So I edit the httpd.conf file. change DocumentRoot to /media/WinXP/xampp/htdocs (the Linux's path of C:\xampp\htdocs).
After restart apache, I go to http://localhost/, it said that "Forbidden" !!!, its look like cannot have permission of /media/WinXP/xampp/htdocs
I'm new to Ubuntu, can anyone helpme
Today i decided to install ubuntu on my laptop (I've installed Win XP with xampp 1.70 for windows first). After that, I install Xampp 1.70 for linux.
Go to http://localhost/, it's work nomally.
But I'm PHP developer, I have all code in C:\xampp\htdocs (xampp for windows), now I want to run it in Linux environment. So I edit the httpd.conf file. change DocumentRoot to /media/WinXP/xampp/htdocs (the Linux's path of C:\xampp\htdocs).
After restart apache, I go to http://localhost/, it said that "Forbidden" !!!, its look like cannot have permission of /media/WinXP/xampp/htdocs
I'm new to Ubuntu, can anyone helpme