Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I tried to activate the mod_rewrite module in the httpd.conf, but I do not succeed to make it work. I'm running Lion, and my goal is to do URL rewriting in ~USER/Sites/mysite

Can someone help me please?

share|improve this question
add comment

1 Answer 1

You need to add a conf file to the following dir

/etc/apache2/users/yourname.conf

<Directory "/Users/yourname/Sites/">
     Options Indexes MultiViews
     AllowOverride All
     Order allow,deny
     Allow from All
</Directory>
share|improve this answer
add comment

Your Answer

 
discard

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.