Xampp Drag n drop php sites in htdocs for quick preview

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp Drag n drop php sites in htdocs for quick preview

Postby lollielala » 26. July 2008 15:21

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
s t a r t s l o w , t h e n f a d e o u t
lollielala
 
Posts: 5
Joined: 26. July 2008 08:15

Postby Wiedmann » 26. July 2008 17:42

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

You must also change the "<Directory>" directive.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby lollielala » 26. July 2008 23:17

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' ??

s t a r t s l o w , t h e n f a d e o u t
lollielala
 
Posts: 5
Joined: 26. July 2008 08:15

Postby Nobbie » 27. July 2008 12:12

>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.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 71 guests