Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > Web sharing should be easy, right?

 
Web sharing should be easy, right?
Thread Tools
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status: Offline
Oct 28, 2002, 06:02 AM
 
..well not in my hands using OSX Server 10.1.4.

After fiddling around setting up some user accounts, I wanted to make some stuff available on the web.

As a default, I should be able to connect to the IP address via http and see index.html in /library/webserver/documents (right?)

Well, when I connect all I get is 'Connection failed' and 'Connection timed out' in the web browser.

What should I check? In Server Admin the IP filter service allows access on all ports within my subnet. In the log file, there is nothing showing under access_log although there is some information under error_log and webperfcache_log.

Could this be a privileges thing? Who should be given access to /library/webserver/documents?

I don't fully understand the 'Sites' tab within 'Web' in Server Admin.

I have lots of pre-OSX Mac web experience, but I would appreciate a helping hand with getting my web access sorted using OSX Server.

I know it should be easy, but...

Thanks.

Phil
     
Fresh-Faced Recruit
Join Date: Oct 2002
Status: Offline
Oct 29, 2002, 01:37 AM
 
OSXS's apache implementation is crap, heh, im using 10.1.5's httpd with my /etc/httpd dir from backup, it works great.

OSXS's apache is 100% virtual host based, which is kinda dumb...
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Oct 29, 2002, 10:07 AM
 
phil, are you certain that apache is running?

type apachectl in terminal and check the options there

as for
Who should be given access to /library/webserver/documents?
mine says:

drwxrwxr-x 121 root admin 4114 Oct 22 21:12 Documents
(strangely pallendromic firgures there, weird!)

what IP are you using to try and connect? try 127.0.0.1 first, then crack yer WAN IP open, if that works for ya

gimme a progress report, when you can (pm me, if it looks like i'm too mashed to remember to come back and check this forum)
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
philm  (op)
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status: Offline
Oct 30, 2002, 04:35 AM
 
Philzilla

Thanks for your help. Looks like I might have an Apache problem, but I am not sure how to manage it. When I did

apachectl start

I got the following error:

[localhost:~] admin% apachectl start
[Wed Oct 30 09:57:45 2002] [warn] module mod_hfs_apple.c is already added, skipping
[Wed Oct 30 09:57:45 2002] [warn] module mod_redirectacgi_apple.c is already added, skipping
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl start: httpd could not be started

Can you help me interpret this?

My permissions were the same as yours, so perhaps this is not an issue.

Also http://127.0.0.1 'could not be retrieved'.

Thanks.

Phil (not zilla)
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:51 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2