Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2006-10-17T04:30:11Z by SystemAdmin
SystemAdmin
SystemAdmin
161 Posts
ACCEPTED ANSWER

Pinned topic Install Apache on a WinXP standalone computer

‏2006-08-18T08:39:40Z |
Hello,

I'm installing Apache on a single computer with WinXP. Can I configure the domain as 127.0.0.1 and server name as localhost?

I would say I like your project very much.

Thanks,

Gan
Updated on 2006-10-17T04:30:11Z at 2006-10-17T04:30:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    161 Posts
    ACCEPTED ANSWER

    Re: Install Apache on a WinXP standalone computer

    ‏2006-08-18T18:39:45Z  in response to SystemAdmin
    that should work fine.

    thanks for the feedback.
    • SystemAdmin
      SystemAdmin
      161 Posts
      ACCEPTED ANSWER

      Re: Install Apache on a WinXP standalone computer

      ‏2006-08-30T21:32:52Z  in response to SystemAdmin
      Check out xampp will install apache2 php, mysql, phpmyadmin, and more. From friends of apache

      Takes less than 10 minutes.
      For friendly URLs you will have to install apache modrewrite module.

      Best regards
      Ron
  • SystemAdmin
    SystemAdmin
    161 Posts
    ACCEPTED ANSWER

    Re: Install Apache on a WinXP standalone computer

    ‏2006-10-17T04:30:11Z  in response to SystemAdmin
    You can also use the: C:/Windows/System32/drivers/etc/hosts file to add virtual domains to your computer. So if you wanted to use the domain http://drupal.localhost/

    You would add to the etc/hosts file this:
    code
    127.0.0.1 drupal.localhost
    [/code]

    Then in your Apache2 http.conf add this:
    code
    <VirtualHost 127.0.0.1>
    DocumentRoot C:/websites/drupal/
    ServerName drupal.localhost
    </VirtualHost>
    [/code]

    Just make sure that you have configured Apache to have permission to run files from C:/websites/ and you are set to start adding many different variations on http://xxxx.localhost/ for local test versions of websites.