Results 1 to 4 of 4

Thread: Two comps- one Apache server

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216

    Two comps- one Apache server

    Hey guys, I have two computers. One computer has apache server on it. Now, I want to be able to access that localhost on my computer downsairs. The two computers are connected through network already but I don't know how to get Apache to be recognized over on the other computer.

    Any ideas? I don't know if this is even possible. I am relatively new to this so any help at all is appreciated!!

    Thank you

    James
    Quote Originally Posted by randem
    You think you are confused? Try reading what you wrote...

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Two comps- one Apache server

    You need to use the LAN IP address of the computer with Apache on.
    • Go to Start Menu-->Run
    • Type cmd and press enter
    • At the command promt type the following: ipconfig
    • The IP address is highlighted below:
      Code:
      C:\>ipconfig
      
      Windows 2000 IP Configuration
      
      Ethernet adapter LAN:
      
              Connection-specific DNS Suffix  . : codedv.com
              IP Address. . . . . . . . . . . . : 10.10.1.3
              Subnet Mask . . . . . . . . . . . : 255.255.0.0
              Default Gateway . . . . . . . . . : 10.10.1.1

    To display the web pages from other PC's on your LAN, enter the following into your browser:

    http://10.10.1.3/

    Obviously you would change the IP address to yours
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216

    Re: Two comps- one Apache server

    Phew, it looked like it would be hard, but it wasn't. Thanks for the info (sorry for the late reply, havn't been able to spend much time on the computer)

    One more thing, is it possible to find a file on my localhost from my computer at school (not the same network)? Doing this without actually putting it on the WWW?

    I'm not sure if it could be done, and if so how? (I've been searching for awhile but no answers yet )
    Quote Originally Posted by randem
    You think you are confused? Try reading what you wrote...

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    216

    Re: Two comps- one Apache server

    I am currently doing this tutorial - Click Here

    However, I'm stuck on this part:

    Then create a password file by typing:

    htpasswd -c C:\Documents and Settings\my_password_file James

    Replace the path with the path of your new password file (which should in any folder EXCEPT the web server’s document root.) When prompted, enter the password you want to set up. Once you’ve done that, a password file will be created.

    The part in bold never comes up. I never get prompted for password to be set up. It just gives me a list of all the letters and their functions. Anyone know how to complete this? I don't want an unsecure webserver
    Quote Originally Posted by randem
    You think you are confused? Try reading what you wrote...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width