LinuxQuestions.org
Visit Jeremy's Blog.
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, 03: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 10:52 AM.
 
Old 08-19-2011, 04:14 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,177

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
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, 04:23 PM   #3
thesnow
Member
 
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 170

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

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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


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 10:40 AM
[SOLVED] default permissions for a www folder Yam-Joyous Linux - Newbie 17 08-25-2010 08:22 AM
How to create a www folder in ubuntu 9.04 muba Linux - Software 1 05-17-2010 02:37 AM
LAMP config glitch. dubbel slash in path /var/www//docs/... bmarien Linux - Server 2 01-18-2009 11:08 AM
Accidently deleted www folder, what to do now zephyrcat Linux - Newbie 11 08-24-2007 09:45 PM


All times are GMT -5. The time now is 08:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration