 |
 |
Web sharing should be easy, right?
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status:
Offline
|
|
..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
|
|
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
|
|
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
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status:
Offline
|
|
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)
|
|
|
| |
|
|
|
 |
 |
|
 |
| |
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|