Urgent help with XAMPP

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

Urgent help with XAMPP

Postby donald7777 » 17. February 2010 06:46

I am mobile allot without interent access, so i need to take my sites with me and develop them. When at home i design my sites online. eg pear.com now i need to take pear.com and transfer on my laptop. thats all good. However i need to fake my website into believing its still on the internet.

eg online site is http://www.pear.com/clients/ken/6x i need to bring that address to my laptop. mysql requires that address.

I have editied my hosts file so it is
Code: Select all
127.0.0.1 http://pear.com/clients/ken/6x

and edited my http-vhosts.conf
Code: Select all
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
    ##ServerAdmin postmaster@dummy-host.localhost
    ##DocumentRoot "C:/xampp/htdocs/dummy-host.localhost"
    ##ServerName dummy-host.localhost
    ##ServerAlias www.dummy-host.localhost
    ##ErrorLog "logs/dummy-host.localhost-error.log"
    ##CustomLog "logs/dummy-host.localhost-access.log" combined
##</VirtualHost>

##<VirtualHost *:80>
    ##ServerAdmin postmaster@dummy-host2.localhost
    ##DocumentRoot "C:/xampp/htdocs/dummy-host2.localhost"
    ##ServerName dummy-host2.localhost
    ##ServerAlias www.dummy-host2.localhost
    ##ErrorLog "logs/dummy-host2.localhost-error.log"
    ##CustomLog "logs/dummy-host2.localhost-access.log" combined
##</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
    DocumentRoot "c:/xampp/htdocs/nipca"
ServerName www.pear.com/clients/ken/6x
</VirtualHost>


what more needs to happen. this is urgent. since i travel so much more i am failling behind on deadlines.
donald7777
 
Posts: 1
Joined: 17. February 2010 06:39

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests