Web Sharing (10.2) not working (worked in 10.1)

pfhorseti

Registered
Hi,

I had my web sharing working on 10.1 but once I upgraded to 10.2 and tried web sharing on it, I realized it wasn't working.

I heard you'd have to activate Apache for new 10.2 installs, but that doesn't apply to me bacause I only upgaded. But if this, by any chance, is the problem, how do I activate it?

If not, what is the problem?
I had to change my default port for web sharing so my ISP doesn't block it. That's all I had to do and my web sharing worked perfectly in 10.1.
But now in 10.2 it doesn't. What needs to be done?

Oh, and Snapperhead works fine, just FYI.

Thanks!
 
I can confirm, for a fact, that 10.1 does have web sharing. In the "Sharing" control panel, you can indeed turn on web sharing, and the web server in question is indeed Apache. Sorry I have no access to 10.2 yet.
 
what error message do you get when you can not get to your pages?
if you type in "ps -aux" in the terminal do you see any instances of "httpd"?
also in the terminal type "apachectl configtest" to see if you get any configuration errors. If there is an error in your syntax it will show you there
 
Strange. I dont see any httpd process running.
The configtext ran fine, no syntax errors.
Does this mean my Apache isn't running?
 
Yep, no httpd, no apache

in the terminal type "apachectl start" to start apache. once you do that try typing "ps -aux" again to see if you find an httpd.
A better way to look at this is typing the following string in the terminal
"ps -aux | grep httpd"
That will bring back back only the processes for apache

The output should look something like this:

USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 398 0.0 0.1 2744 144 ?? Ss 11:19AM 0:02.27 /usr/sbin/httpd
www 399 0.0 0.3 2744 808 ?? S 11:19AM 0:00.42 /usr/sbin/httpd
 
Ok, looks like my Apache was 'already running'.
So it's running, but my server address won't work. According to my friend it tries to connect for a while but it does nothing and eventually fails.
Ok so someone told me 10.2 update replaced my old httpd.conf file, but that shouldn't be a problem because what I edited in 10.1, I did it again with the new conf file in 10.2.

So.. :confused:
 
Back
Top