Page 1 of 1

htdocs

PostPosted: 17. May 2004 15:19
by Sil
I don't want HTDOCS to be my public folder.. but my D partition... How can i do that?

PostPosted: 18. May 2004 04:42
by myhelipad
open file httpd.conf on x:\xampp\apache\conf directory, find
Code: Select all
DocumentRoot
it's looks like this
Code: Select all
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/xampp/htdocs"


Change "x:/xampp/htdocs" to directory you want, eg: c:\www.

After finish editing then restart your xampp or your server... :lol:

PostPosted: 24. May 2004 10:50
by Huxxx
dont think its that easy. Other things wont work anymore if you change this.

PostPosted: 24. May 2004 11:50
by BlackbirdHakke
HI,

you have to change TWO entries in your httpd.conf:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "L:/XAMPP/minixampp/htdocs"

and
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "L:/XAMPP/minixampp/htdocs">


greets, Flo

PostPosted: 24. May 2004 12:40
by schamock
hi flo
i have the same problem. i changed both directorys into

Code: Select all
G:/ftp/bnb/wwwsite


but the server still shows the

Code: Select all
file://localhost/D:/Communication/XAMPP/xampp/install/start.html


when it starts.

if i want to go to localhost in my browser, it shows all my drives...

what am i doing wrong???

thx

PostPosted: 24. May 2004 12:49
by schamock
sorry
my fault
-> clear cache -> it works

PostPosted: 25. May 2004 01:30
by myhelipad
BlackbirdHakke wrote:HI,

you have to change TWO entries in your httpd.conf:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "L:/XAMPP/minixampp/htdocs"

and
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "L:/XAMPP/minixampp/htdocs">


greets, Flo


sorry its my fault forgot to inform about second one, thanks BlackbirdHakke

PostPosted: 03. June 2004 14:43
by free69
Gentlemen,
Don't you have any problem to change httpd.conf only?
I think install/start.html and htdocs/xampp/*.php must be changed too.

It is very differcult job.

PostPosted: 04. June 2004 08:22
by BlackbirdHakke
Hi,

what for?

greets, Flo

PostPosted: 08. June 2004 01:01
by MAGnUm
nope

PostPosted: 08. June 2004 01:09
by free69
Nope? - What is it?

PostPosted: 08. June 2004 07:31
by BlackbirdHakke
What for do you want to change:

Don't you have any problem to change httpd.conf only?
I think install/start.html and htdocs/xampp/*.php must be changed too.

?

For making any directory work as webfolder, just these two settings have to be made, because this is the the apaches main setting for webroot.

What for do you want to edit start.html? You can replace it with your own, but in fact everyone should know that.

Now you can tell us whats wrong with a better description, if theres still any problem with your XAMPP.

@schamock:

Did you restart apache, and/or did you really edit the httpd.conf (and not httpd.old.conf for example)

Nope means no.

greets, Flo