Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 10-28-2007, 11:56 PM   #1
John David Eriksen
Triple-A Player
 
Join Date: Jan 2002
Location: St Petersburg Fla
Posts: 112
Leopard: Install methods and Personal Web sharing weirdness (aka apache)

OK..

I have now done 8 Leopard installs.. (yes guys busy weekend using a real apple disk) And.. I think I have found something...

6 INSTALLS via Update method:
Personal Web sharing is wacked..

1) I does serve pages out of the:
Library/webserver/Documents folder

2) it DOES NOT serve pages out of the:
Users/[account]/Sites folder

error says:

Forbidden
You don't have permission to access /~[accntname]/ on this server.

This has repeated on 6 different boxes and was tested using the two provided links in the sharing prefs panel (yes web sharing was checked and running)

ALL THESE BOXES ARE G5 and Up and 4 were intel boxes
ALL OF THESE BOXES ARE 10.5 INSTALLS VIA 'UPDATE"


CLEAN INSTALLS (wiping the disk)
The following two of these installs are CLEAN INSTALLS wiping the disk and starting over with Leopard

One was a G5 iMac one was an Intel core2 based iMac

In BOTH cases...
When you turn on web sharing.. the 'Test you web site' URLs are missing...

I was so tired and disgusted I didn't bother to test if they worked (stupid after all that work but....8-\

but will test tomorrow and post and update to this item

DOES ANYONE HAVE ANY IDEAS HERE...?

ALSO I HAVE been all over the net and looking for whines and rants on Leopard install issues about this but all I see is blue screen complaints.
And other minor things...

Or is this just me

Thanks in advance

go test your install and post if it seems to work or.. not work correctly.

Use the sharing Prefs panel links.. Q&D and gets the job done in under a minute.

Pls lemme know
__________________
___________________________________
John David Eriksen
System Administrator
Suncoast Network Services
___________________________________

Last edited by John David Eriksen; 10-28-2007 at 11:59 PM. Reason: I'm tired.. disgusted and can't seem to spell anything correctly 8-\
John David Eriksen is offline   Reply With Quote
Old 10-29-2007, 12:55 AM   #2
pakkman781
Triple-A Player
 
Join Date: Jul 2004
Location: TN
Posts: 154
Either use chmod and give everyone read access or do a get info on the sites folder and make sure everything says read access. Make sure to apply the same permissions to all the files inside the folder as well.
pakkman781 is offline   Reply With Quote
Old 10-29-2007, 02:22 AM   #3
hayne
Moderator
 
Join Date: Jan 2002
Location: Montreal
Posts: 29,351
See this other thread about the same problem:
http://forums.macosxhints.com/showthread.php?p=418359
There seems to be a solution there.
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 11-06-2007, 04:52 AM   #4
Crow.mac
Registered User
 
Join Date: Nov 2007
Posts: 1
Web-Sharing doesn't work

My Web-Sharing doesn't even work in my updated Leopard System! Portscan doesnt't show an open port 80. When I try to visit http://localhost in the browser I get nothing: couldn't connect to server

Anyone got an idea about this problem? How can I start the apache server manually in Terminal?
Crow.mac is offline   Reply With Quote
Old 11-06-2007, 07:50 AM   #5
rghartwig
Prospect
 
Join Date: Nov 2007
Posts: 2
Quote:
Originally Posted by John David Eriksen
error says:

Forbidden
You don't have permission to access /~[accntname]/ on this server.

I had the very same thing happen and just found a solution. It wasn't a permission problem with me.

I have created this file: /etc/apache2/users/local.conf
where I put my local customizations and overrides to what's in /etc/apache2/httpd.conf
(all files in the users directory are loaded by default)
This way, I don't have to change any of the shipped files.

Adding this fixed the problem on all my virtual sites:

Code:
<Directory /Users/*/Sites>
	Allow from all
</Directory>
I'm assuming Apache 2 has a different default than the older Apache. Whatever the reason, it fixed me up!
rghartwig is offline   Reply With Quote
Old 11-07-2007, 07:34 AM   #6
rghartwig
Prospect
 
Join Date: Nov 2007
Posts: 2
Quote:
Originally Posted by Crow.mac
My Web-Sharing doesn't even work in my updated Leopard System! Portscan doesnt't show an open port 80. When I try to visit http://localhost in the browser I get nothing: couldn't connect to server

Anyone got an idea about this problem? How can I start the apache server manually in Terminal?

It may be that your config files have errors that keep Apache from starting. Unlike with previous systems, which would hang up System Preferences when there was a problem with Apache, Leopard makes it look everything's fine, even if it isn't.

To check your Apache configuration, open a terminal window and type this:
Code:
apachectl -t
rghartwig is offline   Reply With Quote
Old 11-07-2007, 09:45 AM   #7
John David Eriksen
Triple-A Player
 
Join Date: Jan 2002
Location: St Petersburg Fla
Posts: 112
Exclamation

Well.. got that all ironed out but NOW... and it works but... Now (ahhhh....)

I can get SSI to run (ie Server Side Includes.... to save my life..
and I all over every bit of documentaton I can get my hands on...

This is a simple thing to do... no more than 4-5 config statements in you httpd or hta config file.. but it just doesn't run...

Man... I am about to give birth to fully formed office furniture.. {8-D)

I am missing a step somewhere.. see this post I left...

http://forums.macosxhints.com/showth...ht=leopard+SSI

Hmm...
Yet something else that is wacked...
LEOPARDS INSTALL OF APACHE

Thanks in advance
__________________
___________________________________
John David Eriksen
System Administrator
Suncoast Network Services
___________________________________
John David Eriksen is offline   Reply With Quote
Old 03-16-2009, 11:34 PM   #8
jeffreyleow
Registered User
 
Join Date: Oct 2008
Posts: 2
how to creat file

Quote:
Originally Posted by rghartwig
I had the very same thing happen and just found a solution. It wasn't a permission problem with me.

I have created this file: /etc/apache2/users/local.conf
where I put my local customizations and overrides to what's in /etc/apache2/httpd.conf
(all files in the users directory are loaded by default)
This way, I don't have to change any of the shipped files.

Adding this fixed the problem on all my virtual sites:

Code:
<Directory /Users/*/Sites>
	Allow from all
</Directory>
I'm assuming Apache 2 has a different default than the older Apache. Whatever the reason, it fixed me up!

hi.
sorry for this stupid question
i got directed here from (http://dougscripts.com/itunes/script...readdaspodcast)
how do you create this file you mentioned (/etc/apache2/users/local.conf) to solve this apache problem?
jeffreyleow is offline   Reply With Quote
Old 10-16-2009, 02:49 AM   #9
Olympus21
Registered User
 
Join Date: Oct 2009
Posts: 1
Unlike with previous systems, which would hang up System Preferences when there was a problem with Apache, Leopard makes it look everything's fine, even if it isn't.

Regards

Olympus

______
dossier surendettement
Olympus21 is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump


All times are GMT -5. The time now is 08:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.
You Rated this Thread: