Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-19-2011, 02:55 PM   #1
LQ Newbie
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Cannot find 'www' folder for LAMP

Hi, I am currently running Ubuntu in VirtualBox and have installed Bitnami LAMP. I want to put PHP scripts onto my localhost Apache server however I cannot seem to find the 'www' folder. I have checked 'var' however it does not seem to be there.

Last edited by RiskyShenanigan; 08-20-2011 at 09:52 AM.
Old 08-19-2011, 03:14 PM   #2
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,514
Blog Entries: 4

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
Locate the "httpd.conf" file (you might be able to use locate httpd.conf, otherwise it's probably in /etc/httpd or somewhere like that...) and look for "<location>" and "<alias>" directives which tell Apache where to look for files to serve. (These directives tell it how to resolve URL paths to corresponding places in the filesystem.) You might find that this file "includes" other files in various places so you might have to poke around a bit, but "httpd.conf" is the place to start.
Old 08-19-2011, 03:23 PM   #3
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 170

Rep: Reputation: 56
installdir/apache2/htdocs/ ?
Old 08-19-2011, 03:26 PM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,298

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
If you look on the Ubuntu site or google Ubuntu LAMP you will see that (/var/www) is the directory used. I have Ubuntu 10.10 installed on a partition and there is no /var/www directory because I don't have a LAMP server setup. Don't now anything about the Bitnami LAMP, do they have any documentation or setup/configuration information?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
netbeans 6.9 source folder issues relating to a LAMP installation clodagh Linux - Software 0 04-19-2011 09:40 AM
[SOLVED] default permissions for a www folder Yam-Joyous Linux - Newbie 17 08-25-2010 07:22 AM
How to create a www folder in ubuntu 9.04 muba Linux - Software 1 05-17-2010 01:37 AM
LAMP config glitch. dubbel slash in path /var/www//docs/... bmarien Linux - Server 2 01-18-2009 10:08 AM
Accidently deleted www folder, what to do now zephyrcat Linux - Newbie 11 08-24-2007 08:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration