Hi - I've installed LAMP on my new laptop and can successfully navigate to localhost. I'm not all that clear about Ubuntu's filing system and would like to ask, where are my localhost files stored?
Thanks - G
Hi - I've installed LAMP on my new laptop and can successfully navigate to localhost. I'm not all that clear about Ubuntu's filing system and would like to ask, where are my localhost files stored?
Thanks - G
/var/www/
"Please choose a different password, the one you have chosen is in use by UID 1432"
Great - thanks G
You can set the location in the /etc/apache2/httpd.conf file:
/var/www is owned by root<VirtualHost *>
ServerName YourServerName
DocumentRoot /home/YourHomeFolder/www
</Virtualhost>
/home/YourHomeFolder/www is owned by your user
Quick hijack:
Are there security advantages in having the files stored in the user's home directory?
Not advantages, just that you don't need to be root to be able to put stuff in the shared directory.
Please remember to mark the thread "solved" if we have success helping you out. This helps people to look for help later on.
Thanks guys - and a helpful hijack, too!
G
PS - I can't where to mark it as solved!!
Last edited by gandalf458; June 18th, 2008 at 01:00 PM.
A further thought... If I change localhost to /home/user/www how do I then access PHPmyAdmin?
Oops! Just found my problem. Press F5!
Bookmarks