Help Help - Xampp apache vhost setup

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

Help Help - Xampp apache vhost setup

Postby itjackie » 13. January 2008 07:17

After setup xampp, the xampp default list port and type http://localhost/ default access to http://localhost/xampp . now i have build up the web site,. i want type http://localhost/ will access to new web site, the xampp web control panel will special type access. Please advice me how to modify the file ......


IT
itjackie
 
Posts: 5
Joined: 30. December 2007 18:04

Postby Scory » 13. January 2008 13:39

Change the value of DocumentRoot in httpd.conf to your needs. See http://httpd.apache.org/docs/2.2/mod/co ... cumentroot for detailled information.

Additionally define an Alias for xampp-Folder in Order to run the Xampp Panel. See http://httpd.apache.org/docs/2.2/mod/mo ... html#alias for detailled information.

And/or define different virtual hosts for external/internal access. See http://httpd.apache.org/docs/2.2/mod/co ... irtualhost for detailled information.
Scory
 

Help Help - Xampp apache vhost setup

Postby itjackie » 13. January 2008 17:15

Thanks information. I have upload the web site in our \opt\htdocs\wc
http://www.abc.com/wc

Now when i type http://www.abc.com will direct to http://www.abc.com/xampp .

But I want to change or modify our httpd.conf to redirect to http://www.abc.com wil redirect to http://www.abc.com/wc

Please advice how can change
itjackie
 
Posts: 5
Joined: 30. December 2007 18:04

Postby Scory » 13. January 2008 20:57

>Please advice how can change

With a text editor. Edit httpd.conf and change value of DocumentRoot.

Did you read all the links i supplied to you?
Scory
 


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 22 guests