Re: how to add a virtual directory in apache with support to php files?

2008-10-08 Thread Star Liu
On Wed, Oct 8, 2008 at 8:41 PM, Cassiel [EMAIL PROTECTED] wrote: install php modules (If you didn't yet) then add index.php to DirectoryIndex in dir.conf module inside /etc/apache2/mods-enabled/ then i visit it by http://localhost/php/StarLiu/Welcome.php, but it pops out the download

Re: how to add a virtual directory in apache with support to php files?

2008-10-08 Thread Cassiel
install php modules (If you didn't yet) then add index.php to DirectoryIndex in dir.conf module inside /etc/apache2/mods-enabled/ then i visit it by http://localhost/php/StarLiu/Welcome.php, but it pops out the download dialog to download the Welcome.php file. it seems i didn't

Re: how to add a virtual directory in apache with support to php files?

2008-10-08 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Star Liu wrote: I'm learning to use php. when i drop my Welcome.php into /var/www, which is the default root directory for localhost, and visit it by http://localhost/Welcome.php, it can display the html normally; but i want my php files in

Re: how to add a virtual directory in apache with support to php files?

2008-10-08 Thread ReikoShea
On Wed, 2008-10-08 at 21:04 +0800, Star Liu wrote: On Wed, Oct 8, 2008 at 8:41 PM, Cassiel [EMAIL PROTECTED] wrote: install php modules (If you didn't yet) then add index.php to DirectoryIndex in dir.conf module inside /etc/apache2/mods-enabled/ then i visit it by