Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Apple releases Sherlock3 development kit Internet
At last! Apple has released a Software Development Kit (SDK) for developing plug-ins for Sherlock 3. What this means (for non-developers) is that developers can now create Sherlock 3 channels. I'll let you know when I have a macosxhints.com channel! Find out more on Apple's Sherlock Developer page.
  Post a comment  •  Comments (4)  
  • Currently 5.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,834 views] Email Article To a Friend View Printable Version
Mount remote disk images locally through a browser Internet
There was a previous hint about mounting remote disk images locally, but this stopped working with Jaguar. I recently discovered, though, that you can do it directly from your browser. Paste the URL into your address bar, and change 'http' to 'disk' then press return, and the image will mount in the finder. For example, change this:
http://www.headshack.com/software/chartConstructor/chartConstructor.dmg
Into this:
disk://www.headshack.com/software/chartConstructor/chartConstructor.dmg
[Editor's note: Neat trick; I tried using Mozilla and Chimera, and both worked perfectly.]
  Post a comment  •  Comments (1)  
  • Currently 2.29 / 5
  You rated: 1 / 5 (7 votes cast)
 
[9,833 views] Email Article To a Friend View Printable Version
Use custom icons with Apache directory listings Internet
If you are running apache, you can replace the default icons used when a directory is listed with your own. This way you can make your webserver running on OSX look like it is running on OSX. The icons are in /usr/share/httpd/icons/, and I would suggest backing all of these up before you mess with them. you can do this quickly by typing:
sudo cp -r /usr/share/httpd/icons /usr/share/httpd/icons.bak
You can use the Get Info (Command-I in the Finder) command to view the icon for a certian type of file, then copy it and use Photoshop or something to save the icon as a gif. Then replace the default icon file with the one you have just created. Now when list a dirctory you should see your customized icon.

You can also add new types by edditing you httpd.conf file (/etc/httpd/httpd.conf). Add the line:
AddIcon [PathToIcon] [Extensions]
For example, if you want an icon to show up for disk images then add the line:
AddIcon /icons/diskimg.gif .dmg .cdr .smi
I would suggest adding these lines in with all of the others that are already in the httpd.conf file.
  Post a comment  •  Comments (14)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[23,137 views] Email Article To a Friend View Printable Version
Share an internet connection with a Bluetooth device Internet
While Bluetooth is well supported in Mac OS X and many handheld computing devices, it's not immediately obvious how you can configure Mac OS X to provide Internet Sharing to Bluetooth-enabled handheld devices.

This work builds on this hint, which enables internet sharing at startup. Now we'll show how to configure a Mac OS X 10.2 system to act as a Bluetooth Internet access point for Palm Powered handhelds (and, presumably, other devices) that can use the Bluetooth Serial Profile to establish a PPP connection.

[Editor's note: This is a somewhat long and involved hint, and I have not tested it (as I don't have any Bluetooth devices). If you try it, please post a comment with your experiences and any corrections to what are probably my editing errors!]
read more (1,066 words)   Post a comment  •  Comments (59)  
  • Currently 2.64 / 5
  You rated: 3 / 5 (11 votes cast)
 
[243,053 views] Email Article To a Friend View Printable Version
Run multiple .mac slideshows from one account Internet
I have discovered a way to publish multiple simultaneous slideshows from one .Mac account. The tutorial is posted at here on the www.dotmac.info site. Linked from that tutorial is a Preference Pane I have written to enable users to subscribe to these previously hidden slideshows.

[Editor's note: I have not tested the hint nor the referenced Pref Pane.]
  Post a comment  •  Comments (1)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,647 views] Email Article To a Friend View Printable Version
Serve user sites without the tilde in the URL Internet
I have several users on one of my 10.2 boxes. They all want to publish their web pages, but don't like the idea of having to type http://mydomain.com/~user/. So what I did was create a symbolic link from their Sites folder to the web root, /Library/WebServer/Documents/.

I name the symbolic link as their short user name. When they want to access their personal web site, they only have to type http://mydomain.com/user/. For those of you wanting to know how to make the link, just open a Terminal and type:
 % ln -s /Users/username/Sites  /Library/WebServer/Documents/username
Replace 'username' with the user's short user name, obviously. That's all you need to do; the users can now access their sites without typing the tilde. My users like it, so I thought maybe one of you may find it useful.
  Post a comment  •  Comments (5)  
  • Currently 4.00 / 5
  You rated: 5 / 5 (2 votes cast)
 
[9,656 views] Email Article To a Friend View Printable Version
Problems with two active firewall packages Internet
This might be a no-brainer to most, plus not being that savvy with the Terminal, I probably take a more laborious route here and there. I've been using Brickhouse as my firewall for OS X since it also added easy support for internet connection sharing.

After upgrading to 10.2, in browsing around I gave Apple's firewall settings a look, but in order to do so had to first disable Brickhouse and restart. If another firewall is running, the settings for Apple's firewall are disabled and it displays an error message in the Firewall preference.

In playing around with the built-in firewall (opening up web serving and SSH), I realized it wasn't sufficient for what I wanted to do and re-enabled Brickhouse and started up again. I looked back at the built-in firewall preferences, saw that they were greyed out, error message about other firewall software running (just like before I explored Apple's firewall), and I was good to go. Unfortunately, after that, the other machine on my home network (a PBG3 connected via an Airport) was only able to utilize SSH and view web pages (only port 80, not any secure pages).

Well, even though the error message on Apple's Firewall led me to believe, at a quick glance anyway, that it was not active because other firewall software was running on my computer, it turned out that I needed to disable Brickhouse and reboot so I could click the "Stop" button on Apple's firewall. Once I did that, everything was fine again. So, even though Brickhouse was picking up most firewall settings, it seemed that the only traffic allowed on my LAN was what I had left open according to Apple's firewall settings, even though (I thought) it wasn't enabled.

What I thought was weird about this is that it seems like both firewalls were running. What is weirder is that even though with the built-in firewall's editor you cannot configure settings for a second ethernet interface, that was the interface being affected.

[Editor's note: Although not an earth-shattering hint, if you've played around with Apple's firewall and another package, this may help you resolve any problems you've had since doing so...]
  Post a comment  •  Comments (7)  
  • Currently 3.33 / 5
  You rated: 4 / 5 (3 votes cast)
 
[5,463 views] Email Article To a Friend View Printable Version
Revise the ftp upload permissions in 10.2 Internet
For some reason in Mac OS X 10.2, the default file permissions when uploading files via ftp is set to 640. This results in the permission "-rw-r-----". That is, the file can be read and modified by the owner, read by those belonging to its group, but others can't even read it. Naturally, this causes problems when using ftp to upload files to a web server.

In previous systems it defaulted to the more sensible 644, or "-rw-r--r--", which is also the system-wide default. Apparently, ftpd does not follow the system's UMASK setting. To change this for all users on the machine you need to create a file in /etc/ called ftpd.conf. In this file, add one line saying:
  umask all 022
Save the file and restart the ftp server. This will make uploaded files readable by all.
  Post a comment  •  Comments (8)  
  • Currently 3.33 / 5
  You rated: 2 / 5 (3 votes cast)
 
[13,810 views] Email Article To a Friend View Printable Version
10.2 hides PPP dial-up passwords Internet
In 10.1.5, by typing "ps -axwwwww | grep ppp" in the Terminal, you can see the password of the dial-up account (if you're already connected). I know of no method of hiding this in 10.1.5 ... but in 10.2 (Jaguar), the passwords are now hidden.
  Post a comment  •  Comments (1)  
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (6 votes cast)
 
[3,767 views] Email Article To a Friend View Printable Version
Block Nimda and Code Red worms with shell script Internet
I decided to write a command line script to locate any hosts that are flooding my system with Nimda and CodeRed worm requests and add them to the "deny‚Ä? list using the Macintosh OS X 10.2 IPFW utility, rather than relying on third party shareware GUI wrappers which do pretty much the same thing.
read more (296 words)   Post a comment  •  Comments (10)  
  • Currently 5.00 / 5
  You rated: 5 / 5 (2 votes cast)
 
[14,286 views] Email Article To a Friend View Printable Version