Page 1 of 1

adding another website

PostPosted: 05. May 2009 12:31
by kzak01
Hey,

I'm using xampp to run moodle.

If I wanted to add another website (another folder in htdocs) :idea: , how do I get it to work? :?:

Currently it works fine with: http://localhost/foldername/page.html

I want it as http://localhost/foldername or just http://foldername

Is this possible and how do I go about it? :?:

Thank you,

Zak

Re: adding another website

PostPosted: 05. May 2009 12:34
by Wiedmann
Currently it works fine with: http://localhost/foldername/page.html
I want it as http://localhost/foldername

Yuo must rename your file from "page.html" to "index.html".

Re: adding another website

PostPosted: 05. May 2009 12:40
by kzak01
Nice, got rid of the page.html :)

Is there a way to link it direct to the foldername? :?:

ie http://foldername

Re: adding another website

PostPosted: 05. May 2009 12:52
by Wiedmann
Is there a way to link it direct to the foldername? :?:
ie http://foldername

Only with virtualhosts.
(and each of these foldernames, must also be a dns hostname, configured in your dns server or HOSTS file.)

Re: adding another website

PostPosted: 05. May 2009 13:04
by kzak01
Thank you Wiedmann, appreciate your help :)