You could create a VirtualHost using the VirtualHost directive in the
hhtpd.conf. It could look like this:

<Directory  C:/WINDOWS/Desktop/work>
  Options FollowSymLinks
  AllowOverride None
</Directory>
<VirtualHost *:122345>
  ServerAdmin [EMAIL PROTECTED]
  DocumentRoot C:/WINDOWS/Desktop/work
  ServerName dummy-host.example.com
</VirtualHost>

now u can access the direcotry via: http://localhost:12345

fabian

"Tiago SimõEs" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to