[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
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/ ? -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgpf4uNEGdluH.pgp
Description: PGP signature
-- 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