Different folder/ local test
| From: | Tiago Sim�es | Date: | Fri, 12 Apr 2002 13:48:29 +0000 |
| Subject: | Different folder/ local test | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13051@lists.php.net to get a copy of this message | ||
Hello.
I still can't manage to test locally the pages in my notebook, without using
the htdocs directory. As i told you, i managed to install the all the stuff
correctly, made my first test with a php script in the htdocs Apache
instalation folder, but when i tried to put that new directory path in the
httpd.conf file i couldn't see the php script on the designated folder. I
know that in the other case i had to access via http://localhost/test.php
path. How do i test a page that is, let's say, in the c:\website\ folder?
(after i configured its path in httpd.conf file, of course)
i know that i should put something like this in the httpd.conf file
<Directory "C:\WINDOWS\Desktop\work">
AddType application/x-httpd-php .php .phtml .php3
#Next line is optional (for viewing source)
AddType application/x-httpd-php-source .phps
</Directory>
but after that, what path i put in the browser?
Thanks in advance,
Tiago