Page 1 of 2

XAMPP on production

PostPosted: 27. February 2008 18:19
by elvisparsley
I just installed xampp for my production. Yes yes yes I read that xampp is not for production. But I want to use it!

I am using it on my own server.

Now I got a domain name and want to use it. I don't want to have something like this http://www.mydomainname.com/xampp/mywebsite

It should be http://www.mydomainname.com

How can I achieve this?
What do I need to change?

Thanks.

PostPosted: 27. February 2008 20:59
by Wiedmann
Put your files in "\xampp\htdocs", and not in "\xampp\htdocs\xampp\mywebsite".

aha, as I do for my local development. But..

PostPosted: 27. February 2008 21:30
by elvisparsley
Thanks.
But what is this folder for by the way?
\xampp\htdocs\xampp\

Why xampp is in the xampp\htdocs ??

PostPosted: 27. February 2008 21:49
by Wiedmann
But what is this folder for by the way?
\xampp\htdocs\xampp\

That's the XAMPP demopage, new user can see after installation of XAMPP and going to the URL "http://localhost/"

PostPosted: 27. February 2008 22:14
by elvisparsley
Put your files in "\xampp\htdocs", and not in "\xampp\htdocs\xampp\mywebsite".


I am using xampp for my development as well.
When I go to local host, I always get xampp's home page, even I have many applications in my xampp\htdocs.

I have no problem doing this for my development on my laptop, but I don't know what to do for production, this is the first time for me.

I have a domain name http://www.mydomain.org and I am going to put Moodle which has http://moodle.mydomain.org

And later I need to put some CMS in xampp.

If I put 5 applications, what will it happen?


Thanks for your help.

PostPosted: 27. February 2008 22:52
by Wiedmann
When I go to local host, I always get xampp's home page

In the file "\xampp\htdocs\index.php" is a redirect to the XAMPP demopage. Just delete this page.

but I don't know what to do for production,

IMHO a question for your administrator...

If I put 5 applications, what will it happen?

That's your decision.

You can put each application in a different subdir and acces it with "http://server/app1/", "http://server/app2/", ... (without any configuration changes.

And/or you can define different vhosts and dirs for each application and access them with "http://app1.server/", "http://app2.server/", ...

PostPosted: 28. February 2008 08:50
by elvisparsley
In the file "\xampp\htdocs\index.php" is a redirect to the XAMPP demopage. Just delete this page.


How can I access to Xampp home page if I need to?
For example accessing to phpmyadmin in order to create a database.

IMHO a question for your administrator...


What does IMHO mean?

Thanks.

PostPosted: 28. February 2008 09:27
by Wiedmann
How can I access to Xampp home page if I need to?

http://localhost/xampp/

For example accessing to phpmyadmin in order to create a database.

http://localhost/phpmyadmin/

What does IMHO mean?

http://en.wiktionary.org/wiki/imho

PostPosted: 28. February 2008 15:20
by sari42
>In the file "\xampp\htdocs\index.php" is a redirect to the XAMPP demopage. Just delete this page.
IIRC there is a index.htm(l) as well to be deleted or modified ....

I am not able to access xampp

PostPosted: 28. February 2008 18:48
by elvisparsley
Ok I have deleted htdocs/index.php and replaced it with index.php of Moodle. And I put all the Moodle files under htdocs not htdocs/moodle.

So I could install it successfully and website is working with http://moodle.mydomai.org

And I am able to access http://moodle.mydomain.org/phpmyadmin.

But I am not able to access http://moodle.mydomain.org/xampp. I tried http://moodle.mydomain.org/xampp/index.php as well but I am not able to access either.

Help Please. :cry:

PostPosted: 28. February 2008 18:55
by Wiedmann
But I am not able to access http://moodle.mydomain.org/xampp

Why not?
--> error message / error.log?

How can I get it?

PostPosted: 28. February 2008 19:13
by elvisparsley
How can I get the error log?

Thanks.

And also I want to restart xampp remortely

PostPosted: 28. February 2008 19:19
by elvisparsley
How can I restart xampp through FTP? Can I do it?

PostPosted: 28. February 2008 19:53
by Wiedmann
Can I do it?

No.

After installing Moodle (CMS) ...

PostPosted: 29. February 2008 07:39
by elvisparsley
I am not able to access http://mydomain.org/xampp/index.php
Why not

I don't know.

I installed CMS Moodel under htdocs.
I am not able to transfer files through FTP either.

Is it something to do with Moodle?
Or server firewall?

I experimented the same thing with my laptop. I can access to xampp, but I am not able to access other CMS under htdocs.

Help. :cry: