Page 1 of 1

Directories Please help !

PostPosted: 07. February 2005 03:19
by pyro
Hi Guys.
1st of all thanks for a grate product .

This is my problem
I have installed XAMPP on my laptop using all the default locations I have just made a folder inside the following C:\xampp\htdocs\xampp\ the folder is called simon.
It looks like the following C:\xampp\htdocs\xampp\simon\index.php BUT here is my problem If I go to http://localhost\xampp\htdocs\xampp\simon\index.php it tells me the page cannot be displayed ! BUT if I go here this works http://localhost/xampp/splash.php this is the directory below " simon " ( I think ! )

I would like to use diferent folders for diferent sites / projects if possible

Can someone advise me why this does not work ? Is is as if it cannot see the folder or its contence.
If someone can help, could they explain it is idiot mode !!! and tell me what file I need to change and what to change it to..

I am a very very newbie !!
THANKS

PostPosted: 07. February 2005 04:41
by jchapel
It appears you are determining the URL incorrectly

If your server's document root is defined as C:\xampp\htdocs in your httpd.conf

then the path:

C:\xampp\htdocs\xampp\simon

would translate to:

http://localhost/xampp/simon

watch the direction of your slashes they are important and you might want to take some time with some tutorials on the subjects there are loads of them on the internet search engines.

cgi-bin

PostPosted: 07. February 2005 07:09
by pyro
Hi.
Thanks for your reply.

How do I use the cgi-bin and which bin do I use ?

also is it correct I do not need the shebang as i am using windows ?


Your time is appreciated

Thanks

Simon