Page 1 of 1

Xampp Drag n drop php sites in htdocs for quick preview

PostPosted: 26. July 2008 15:21
by lollielala
Hi every one,
I'm new to xampp & configuring etc
I've installed, uninstalled,
& again with what looks like a successful install.
http://localhost/phpmyadmin/ apperas to be working
also xampp-control.exe shows

All I want to do is preview
some pre made php websites, I'm not
over interested in learning php code.

the install folder is "C:\xampp"
I've tried to change the
default documentroot "/xampp/htdocs" to "C:\www"

I've dragged and dropped a prebuilt
website I downloaded into
"C:\www" then checked in http://localhost/ only to get

Access forbidden!

You don't have permission to access
the requested directory.
There is either no index document or
the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403
localhost
07/26/08 19:38:24
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5


when configuring the httpd.conf - Is there any importance between
forward & backward slashes? / or \ ?
Are there any other files that need to be configured to
get this to work?(if it is possible at all)

Please - All opinions & thoughts welcomed

PostPosted: 26. July 2008 17:42
by Wiedmann
I've tried to change the default documentroot "/xampp/htdocs" to "C:\www"

You must also change the "<Directory>" directive.

PostPosted: 26. July 2008 23:17
by lollielala
Wiedmann - Thanks for the reply but like
I said - I'm new to xampp & configuring etc so
I couldn't really follow your instructions
(although I did google around for about an
hour with those keywords)...now I'm more confused..

so where would one find "<Directory>" directive.
and once found how to change it

Is this a common practice? - I mean is it posible to
drag n drop a pre-built php website in to the
htdocs folder and have it 'work' ??


PostPosted: 27. July 2008 12:12
by Nobbie
>so where would one find "<Directory>" directive.

In the file httpd.conf

>and once found how to change it

With a text editor.

>Is this a common practice?

Yes.

>I mean is it posible to
drag n drop a pre-built php website in to the
htdocs folder and have it 'work' ?

It depends. Sometimes it works, sometimes not.