or Connect
AppleInsider › Forums › General › Genius Bar › Setting up-APACHE
New Posts  All Forums:Forum Nav:

Setting up-APACHE

post #1 of 5
Thread Starter 
In OS X, when i click "start" udner web shairng....nothing happns?!?

it used to work, but now it doesnt happen anymore
post #2 of 5
What do you mean "nothing happends"? Can you be more specific? <img src="confused.gif" border="0">
post #3 of 5
You can start it manually from the Terminal by typing 'sudo apachectl start'. To check to make sure that you don't have an error in your apache configuration type: 'sudo apachectl configtest' Try these and see what happens. If you want to start apache on startup, you have to edit your hostconfig file.

In the terminal, type sudo pico /etc/hostconfig. Move down to the webserver line and change it to =yes= and then ctrl-o to save, ctrl-x to exit. That should work.
post #4 of 5
Maybe it's the mod_hfs problem from a while ago, and you just haven't encountered it yet. It's a problem that occurred after updating to 10.1. From Stepwise:

[quote]Apache breaks upon update

If you update (instead of re-install), it is quite likely that your Apache will not work off the bat. The situation is rather convoluted. If you haven't installed the WebSharing update, then you're probably not effected. As part of the WebSharing update Apple included the mod_hfs_Apple module which helps to prevent some of the security issues related to HFS+ case insensitivity. To enable this, there were two lines added to your /etc/httpd/httpd.conf file. However, in 10.1, Apple changed the name by which they reference the module, but not the file name. The updater doesn't change this line in your httpd.conf file. So, we'll need to do that ourselves to fix this problem.

You need to search for the instance of apple_hfs_module and replace it with hfs_apple_module.


[code]sudo perl -i.prefix -p -e 's/apple_hfs_module/hfs_apple_module/g' /etc/httpd/httpd.conf</pre><hr></blockquote>


Now try and restart Apache again.<hr></blockquote>

[ 12-08-2001: Message edited by: gorgonzola ]</p>
"If I were a younger man, I would write a history of human stupidity; and I would climb to the top of Mount McCabe and lie down on my back with my history for a pillow; and I would take from the...
Reply
"If I were a younger man, I would write a history of human stupidity; and I would climb to the top of Mount McCabe and lie down on my back with my history for a pillow; and I would take from the...
Reply
post #5 of 5
Thread Starter 
well, i think it works, it now turns on

thank you very berry much! :cool:
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › Setting up-APACHE