Page 1 of 1

Vhosts

PostPosted: 18. May 2007 09:52
by Reddragon
Will xampp work as a shared hosting solution?
Can vhosts be used? If so how?
I see many unanswered posts. Even one I had posted almost a year ago. Is this project dead or on the way out?

PostPosted: 18. June 2007 05:13
by ahmershuja
I also tried, but the index.html giving problem its redirect to xampp folder, but if i rename that file vhost doesn't work at all.

is there any expert can help...
thx. in advance...

Vhosts/Redirect to Xampp folder

PostPosted: 03. July 2007 20:35
by Reddragon
I don't know yet about the vhosts. However the redirection to the XAMPP page is a redirect command in the metatags in the index.html page. Just remove the redirect from the metatag and you should be alrigt. If you know how to setup vhosts with this please let me know. Thanks

Posted this a while ago on windows machine and of course it was down so forgive my not replying sooner.

PostPosted: 06. July 2007 19:56
by SlisheR
Running Xampp as a shared hosting?
Yes, I think it's a good idea to use Xampp as a webserver, off course on Linux.
But like my topic I posted, I dunno how to configure the users etc...

PostPosted: 07. July 2007 01:27
by Reddragon
SlisheR wrote:Running Xampp as a shared hosting?
Yes, I think it's a good idea to use Xampp as a webserver, off course on Linux.
But like my topic I posted, I dunno how to configure the users etc...


Are you sure you have your comment in the correct place?

PostPosted: 08. July 2007 06:20
by skuipers
ahmershuja wrote:I also tried, but the index.html giving problem its redirect to xampp folder, but if i rename that file vhost doesn't work at all.

is there any expert can help...
thx. in advance...

In httpd.conf you will find the following lines:

# User home directories
Include etc/extra/httpd-userdir.conf

So look in this file to read all about user home directories. You will find:

# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir public_html

I have reset my UserDir to

UserDir /home/*/public_html

Now I can serve any user defined on my system as follows:

http://url/~user (replace "user" by the actual user name). The user has to copy all his application files to his own public_html subdirectory.