Users cannot connect to my Apache-powered website!

Discussion in 'Windows Desktop Systems' started by Glaanieboy, Oct 27, 2003.

  1. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    I am running Apache on a local network for a couple of months now and it's running fine. Now I wanted to make it public, so I subscribed for a Dynamic DNS service (www.dyndns.org) and set a new domain-name of glaanieboy.dyndns.org. I set my router to accept any connection from port 80 and redirect it to my computer, changed ServerName in the Apache2 httpd.conf from <ip> to glaanieboy.dyndns.org.
    This should be sufficient I thought, well, it was not. I have a shell account in the UK, and I tried to connect to my computer using the elinks browser on the shell. http://glaanieboy.dyndns.org worked well, as well as a subdirectory I created in the Apache root (htdocs). Now I have some other directories on another drive, and I pointed to them with an Alias fakename "Drive:/path/to/dir" and added this Directory in httpd.conf:
    Code:
    <Directory "Drive:/path/to/dir">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    When I try to go to http://glaanieboy.dyndns.org/fakename (this doesn't exist, I only wrote this for demonstration purposes) with the elinks browser on the shell account, it won't work, it's trying to connect, but doesn't get any data. When I look at the connection logs, I see that someone from that IP has tried to connect to that dir, but got a 301 or 302 http-error back. Now I know that 301 or 302 means that the site has moved, but I don't want that, I only want to see 200 (page ok, now loading) 'errors'.
    I just asked someone else to try it for me (she lives in the US), but she couldn't get to either glaanieboy.dyndns.org or glaanieboy.dyndns.org/fakename.

    Can someone look at the configurations I made and verify if they are (in)correct? What should I change besides the changes I made?
     
  2. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Forgot to mention:
    Apache2
    Windows XP Home edition
     
  3. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    I think you have to do the path as /path/to/location as I think it just interprets the C:\ as the root dir and converts things into the Unix way of doing things
     
  4. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    But how can I reach something on, for example, the I: drive?