Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Mac OS X (Snow Leopard) and I'm trying to use Eclipse PDT and I'd like to use "Web Sharing" built-in feature that basically runs Apache. I'm doing code change in PDT and I want to use Safari and be able to hit my own server ( localhost ) and access those files without manually copying them over from one folder to another. How do I do that? I've tried

sudo vi /etc/apache2/users/alexus.conf

and then adding /Alias although that didn't help, in fact as soon as I hit myself at http://localhost/~alexus/workspace seems like it crashed my apache, or else I'm doing something wrong, this is what I get in my logs...

[Tue Sep 22 18:46:53 2009] [notice] caught SIGTERM, shutting down
[Tue Sep 22 18:47:10 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
share|improve this question
seems you might want to look at that Session Cache error:… – Darren Newton Sep 23 '09 at 12:46
that is not even somewhat remotely related to my issue... not to mention I'm trying to hit localhost not some weird name, so there is no DNS issue in my case... – alexus Sep 23 '09 at 17:49
up vote 3 down vote accepted

I'm not sure why was it crashing, but by adding following line into

mbp:~ alexus$ grep ^Alias /etc/apache2/users/alexus.conf 
Alias /~alexus/workspace    /Users/alexus/workspace
mbp:~ alexus$ 

did the trick...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.