Apache2 questions
Kim Briggs
patiodragon at gmail.com
Sat Sep 13 02:27:45 UTC 2008
On 9/12/08, Ashley Benton <chuaukantli at gmail.com> wrote:
> Hi,
> I set up apache2 and php on ubuntu 8.04 but there are a few things that I am
> not sure to understand correctly which are the use of httpd and aliases.
> First I want one directory to contains everything used on apache (html
> files, css files, php files, pictures..) In this directory I want
> subdirectories, one for pictures,one for css, one for each site I am
> testing. My trouble is if I anything in a directory inside the directory
> that doesn't show up on internet, only what is in the main directory shows
> up.
> I wanted to create a webpage in the main directory which would link to any
> other directory containing the sites as well as the pictures directory or
> whatever.
> I read about virtual host which could work to separate the sites but
> wouldn't work for the pictures..
Hi Meg,
I don't understand what is special about the pictures directory that
somehow makes it not work for other types of files. My computer is so
dumb, I don't think it even knows the difference... (joke!). Here is
what I use to make apache2 at home an exact match of my site on a
shared hosting environment:
http://kimbriggs.com/computers/computer-notes/linux-notes/apache2-public_html-virtual-directories.file
good luck,
--
http://kimbriggs.com
More information about the ubuntu-users
mailing list