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


addon | 38 comments | Create New Account
Click here to return to the 'addon' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
addon
Authored by: benoitc on Nov 14, '02 12:41:06PM

Just forget one shell command before relaunch apache, do :


sudo chgrp -R www /Library/WebServer/Documents/dav

And the alias configuration in httpd.conf is Alias /dav /Library/WebServer/Documents/dav and no Alias /dav /Library/WebServer/Documentsd/av

Sorry, for this errors. Just note that I ran this configuration on my own machine :)





[ Reply to This | # ]
Can not restart Apache
Authored by: Indiecn on Nov 27, '02 02:23:29AM

Help...I went theu everything OK, right until % sudo apachectl graceful
I'm getting this error msg:

/usr/sbin/apachectl graceful: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users
Syntax error on line 1065 of /etc/httpd/httpd.conf:
Alias takes two arguments, a fakename and a realname
/usr/sbin/apachectl graceful: httpd could not be started

Tried :
Alias /dav /Library/WebServer/Documents/dav and Alias /dav "/Library/WebServer/Documents/dav"
But it make no difference...Anybody can help me?



[ Reply to This | # ]
Can not restart Apache
Authored by: benoitc on Nov 29, '02 08:53:31AM

do you have make dave directory before restart apache ?



[ Reply to This | # ]
Can not restart Apache
Authored by: Indiecn on Dec 02, '02 12:14:59AM

benoitc,
Thanks for responding. I did make the directory ( % sudo mkdir /Library/WebServer/Documents/dav).

The problem seems to be the syntax of the Alias, and I did make sure that I typed in everything correctly. Aldo made sure that the privilges of the folder is correct, but still no go.



[ Reply to This | # ]
Can not restart Apache
Authored by: benoitc on Dec 04, '02 06:46:27AM

Alias line is Alias /dav /Library/WebServer/Documents/dav.

When you make dav directory do a chown -R www Library/WebServer/Documents/dav and then chmod -R 775 Library/WebServer/Documents/dav . And it will work in theory.



[ Reply to This | # ]
Alias syntax error?
Authored by: skydivertak on Dec 30, '02 12:09:39AM

I get the same problem. What is the solution??



[ Reply to This | # ]
Alias syntax error?
Authored by: skydivertak on Dec 30, '02 12:58:40PM

Well, I seem to have answered my own question, but I'm not sure what it affects. I simply removed the Alias command, and explicitly changed the next line to include the complete physical path. No errors at all.



[ Reply to This | # ]
Error
Authored by: Crackle on Dec 08, '02 11:16:41PM

apachectl graceful restart
/usr/sbin/apachectl graceful: httpd not running, trying to start
Syntax error on line 241 of /etc/httpd/httpd.conf:
Cannot load /usr/libexec/mod_headers.so into server: (reason unknown)

mmm... is this a typo?

All other Webdav docks include DAVLockDB, why does this version not need it?



[ Reply to This | # ]
Error
Authored by: discordantus on Mar 13, '03 02:44:41PM

I had the same thing happen to me... It seems that (in my case) the module didn't actually get installed. so I just went back to the mod_encoding folder and typed 'make install' again... and apache worked.



[ Reply to This | # ]