Page 1 of 1

Help Help - Xampp apache vhost setup

PostPosted: 13. January 2008 07:17
by itjackie
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

PostPosted: 13. January 2008 13:39
by Scory
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.

Help Help - Xampp apache vhost setup

PostPosted: 13. January 2008 17:15
by itjackie
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

PostPosted: 13. January 2008 20:57
by Scory
>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?