Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   DirectoryIndex? how to change it
Date:   2002-02-03 13:19:34
From:   morbus
Response to: DirectoryIndex? how to change it

I give specific instructions on how to change the DirectoryIndex in the fourth article, available here:


http://www.oreillynet.com/pub/a/mac/2001/12/07/apache.html


You should see absolutely no difference between 127.0.0.1 and localhost - if you do, that's insanely supremely weird.


As for your Flash file, how are your links defined within your HTML file? If they're absolute URLs (like http://www.server.com/flash.swf) as opposed to relative URLs (like /flash.swf), then yes, it would request the file from the remote server. Generally, if you want your website to be as portable as possible, you should use relative URLs as much as possible.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • DirectoryIndex? how to change it
    2002-02-04 09:17:21  twhid [View]

    thanks for article four, very helpful.

    re: 127.0.0.1 and localhost. it is VERY strange. i must have something screwed up somewhere in my network settings as i've been having problems networking with my pc running pcmaclan as well.

    it was loading the LOCAL files as if coming from a remote server. it's kind of nice as i can check download times ;-) the files are all linked relatively and these particular files haven't even been uploaded to my remote server yet so that can't be the error. and localhost doesn't seem to resolve unless i'm connected to my dialup.

    but my problem seems to have 'fixed' itself. my browsers (ie and nn6.2) now load index.htm instead of the ugly default index list. i used a wildcard because only a couple of people will be using this staging server.

    thanks for your reply. thanks for this series.