readthefuckingmanual.net

[SOLVED] Invalid command 'UserDir', perhaps misspelled or defined by a module not included in the server configuration

Error added: 2008-09-08T10:42:04Z

3 people waiting for the answer...

1 answers found.

Answer 879 (100.0% helpful)

When I encountered that error, it took me a little while to think about what it was that I had done wrong but here\'s what I did. In the ./configure, I had specified --disable-userdir and promptly forgot about that option being set and when I was configuring my httpd.conf, I uncommented the \"#User home directories\". Apache apparently doesn\'t like that. Either recompile with --disable-userdir left out (there is no --enable-userdir option, it\'s just assumed that if you don\'t have --disable-userdir set, you\'re allowing users to have their own home directory for web access...or comment that line in httpd.conf back in and start the server.

--Vorlin 2/23/09
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: