D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Programs which start on login

 

On Monday 14 May 2007 22:48, Neil Winchurst wrote:
> On Mon, 14 May 2007 17:37:51 +0100
>
> Neil Williams <linux@xxxxxxxxxxxxxx> wrote:
> > On Mon, 14 May 2007 16:02:03 +0100
> >
> > Neil Winchurst <neil@xxxxxxxxxxxxxxxxx> wrote:
> > > > So if you place hello.php in /var/www/apache2-default, you will then
> > > > be
> >
> > Hmm, I think that's wrong. hello.php should go in /var/www/ or be
> > symlinked to /var/www/.
> >
> > e.g. if hello.php is in ~/documents/php/
> >
> > cd /var/www/
> > sudo ln -s /home/neil/documents/php/hello.php .
> >
> > (don't omit the . )
> >
> > http://localhost/hello.php
> >
> > Even easier:
> > cd /var/www/
> > sudo ln -s /home/neil/documents/php/ .
> >
> > http://localhost/php/hello.php
> >
> > The idea there is to create index.php and then use just localhost/php/
> >
> > As it is now, you should find the php file at:
> > http://localhost/apache2-default/hello.php
> >
> > Have you tried http://localhost/~neil/ ?
>
> Well, I have tried all of those and none of them work.
>
> Neil
Does http://localhost 
get you anywhere?
Tom te tom te tom


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html