Vhosts

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Vhosts

Postby Reddragon » 18. May 2007 09:52

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?
Thanks,

Reddragon
Reddragon
 
Posts: 9
Joined: 22. February 2007 09:32

Postby ahmershuja » 18. June 2007 05:13

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...
User avatar
ahmershuja
 
Posts: 6
Joined: 14. April 2007 23:17
Location: CANADA

Vhosts/Redirect to Xampp folder

Postby Reddragon » 03. July 2007 20:35

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.
Thanks,

Reddragon
Reddragon
 
Posts: 9
Joined: 22. February 2007 09:32

Postby SlisheR » 06. July 2007 19:56

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...
Correct me if I'm wrong!
SlisheR
 
Posts: 18
Joined: 06. July 2007 19:27
Location: The Netherlands

Postby Reddragon » 07. July 2007 01:27

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?
Thanks,

Reddragon
Reddragon
 
Posts: 9
Joined: 22. February 2007 09:32

Postby skuipers » 08. July 2007 06:20

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.
skuipers
 
Posts: 99
Joined: 21. January 2005 16:27
Location: The Netherlands


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests