Results 1 to 5 of 5
Hi all, i finally compiled mod_userdir.c successfully with apxs and rehashed the server. But then it shutdown. Which wasnt the intended action.
So i checked /usr/local/apache2/logs/error_log and found this.
Code:
...
- 02-08-2009 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 52
UserDIr help
Hi all, i finally compiled mod_userdir.c successfully with apxs and rehashed the server. But then it shutdown. Which wasnt the intended action.
So i checked /usr/local/apache2/logs/error_log and found this.
I've searched this via google but the only solutions i got were to reinstall apache. And im not looking to do that. So does anyone have a solution i can do to fix this?Code:[Sat Jan 31 09:26:52 2009] [notice] SIGHUP received. Attempting to restart lt-httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: module userdir_module is built-in and can't be loaded
- 02-10-2009 #2Just Joined!
- Join Date
- Dec 2007
- Location
- Bangalore
- Posts
- 33
check for the configuration on line 53 of /usr/local/apache2/conf/httpd.conf.
Also run
/usr/local/apache2/bin/apachectl configtest
httpd -l | grep -i user
The above might help you. Also post the results of above...
- 02-13-2009 #3Just Joined!
- Join Date
- Dec 2007
- Posts
- 52
Well i did what you said. First command i did was:
Then i did the second command.Code:computer:/usr/local/apache2/bin# ./apachectl configtest httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: module userdir_module is built-in and can't be loaded
I edited /usr/local/apache2/conf/httpd.conf and commented out line 53. And the web server launched fine. But i couldnt access my userdir. Would you like me to paste the contents of mod_userdir.conf ?Code:computer:/etc/httpd-2.2.11# ./httpd -l | grep -i user mod_authz_user.c mod_userdir.c
EDIT:
I ran that first command again while the web server is running and got this.
But again its not allowing me to view my userdir =/ Help..Code:computer:/usr/local/apache2/bin# ./apachectl configtest Syntax OK
- 02-14-2009 #4Just Joined!
- Join Date
- Dec 2007
- Posts
- 52
Bump
Anyone?
- 02-14-2009 #5Just Joined!
- Join Date
- Dec 2007
- Location
- Bangalore
- Posts
- 33
mod_userdir will be enabled by default
afaik there is no need to compile it and Load the module.
comment line 53 and start ur server and then try to access user dirs.
check the syntax on line 53 and post it if possible.


Reply With Quote