Author Topic: Personal Web Sharing  (Read 1625 times)

Offline cdub1988

  • TS Addict
  • *****
  • Posts: 1186
    • View Profile
    • http://
Personal Web Sharing
« on: October 13, 2003, 04:58:40 PM »
PM 8500
OS 9.1
Personal Web Sharing
SIMS mail server
Macjordomo
MacASP 1.12
Net Presenz
A slew of other stuff

I need to know if there is ANY way to tell Apple's Personal Web Sharing to NOT allow directory listings.

Thanks!

Chris
Umm, I'm a nerd.

Offline Al

  • TS Addict
  • Posts: 3105
    • View Profile
    • http://
Personal Web Sharing
« Reply #1 on: October 13, 2003, 05:26:34 PM »
Hi Chris,

The only way I know how to stop directory listings is to put an index.html file in each folder or directory.  Other than that, I am not sure, it's the only way that I have done it.

Take care.
27" 2.8 GHz Intel I7 iMac, 8 GB RAM, 2 TB HD, 2x 2TB OWC Mercury Elite-AL Pro external HD, EyeTV 250 Plus, 23" Acer HD monitor, OS 10.6.7
13" 2.26 GHz Intel Core 2 Duo MacBook, 4 GB RAM, 500 GB 7200 RPM HD, OS 10.6.7
13" 2.26 GHz Intel Core 2 Duo MacBook, 4 GB RAM, 250 GB HD, OS 10.6.7
(2) 5th Gen. iPods (30GB & 80GB), iPhone 4 (x2) 16 GB iOS 4.3.3, iPhone 3GS 16 GB

Offline jepinto

  • TS Addict
  • *****
  • Posts: 6195
    • View Profile
    • http://
Personal Web Sharing
« Reply #2 on: October 13, 2003, 05:44:06 PM »
Chris:  Read Diana's response in this thread for some hints.
Do not fear your enemies.  The worse they can do is kill you.  Do not fear friends.  At worst, they may betray you.
Fear those who do not care; they neither kill nor betray, but betrayal and murder exist because of their silent consent.
~Bruno Jasienski~

Offline cdub1988

  • TS Addict
  • *****
  • Posts: 1186
    • View Profile
    • http://
Personal Web Sharing
« Reply #3 on: October 14, 2003, 10:13:36 AM »
Al -
I could try that I guess and just make the index.html a copy of the real file that is  being served as the "main" section page for each sub-directory, as long as that will totally prohibit the directory listings. Otherwise, I need another solution. Thanks for the suggestion. smile.gif

Jennie -
Thanks for the link. smile.gif
Di knows her stuff. Unfortunately I'm not running Apache (MySQL is broken on the box I'm working with, but that's a whole 'nother mess to discuss......).

If noone has found any other way, I may have to poke around a bit more.

Found a nice Java server the other day that compiled real nice and is incredibly fast, but I can't seem to get it to play nice with MacASP yet.

If I can, I plan to run it.

Take care, all.

Chris
Umm, I'm a nerd.

Offline cdub1988

  • TS Addict
  • *****
  • Posts: 1186
    • View Profile
    • http://
Personal Web Sharing
« Reply #4 on: October 14, 2003, 04:07:08 PM »
Al -

That worked like a charm, man.  thumbup.gif

Have a customized error page for each directory (a copy of one single that I just fixed the paths on).

 thanx.gif  for the tip.

Now if I can just figure out a way to do virtual hosting..........

 wallbash.gif  wallbash.gif  wallbash.gif

Take care, all.

Chris
Umm, I'm a nerd.