LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-19-2011, 02:55 PM   #1
RiskyShenanigan
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
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
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
thesnow
Member
 
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 172

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

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 AM.

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