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 > Software - Troubleshooting and Discussion > Mac OS X > Web sharing not starting up

Web sharing not starting up
Thread Tools
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 8, 2007, 02:10 PM
 
My laptop has been running slower and slower, so I took it down to the Apple Store where the tech ran an archive and install. Didn't help with the slow down.

This morning I discovered that Personal Web Sharing is not starting up. Normally it's turned on all the time. When I click the box to start it the message pane states that it's strarting up, but it never does.

Ideas anyone?

david
Intel Mac 2.33 GHz Core 2 Duo
OSX 10.4.10
     
Professional Poster
Join Date: Apr 2002
Location: Wisconsin
Status: Offline
Reply With Quote
Oct 8, 2007, 02:13 PM
 
Open the console and tell us what it says pertaining to apache or httpd
     
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 8, 2007, 02:38 PM
 
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
fopen: No such file or directory
httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
/usr/sbin/apachectl start: httpd could not be started
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
fopen: No such file or directory
httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
/usr/sbin/apachectl start: httpd could not be started
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
fopen: No such file or directory
httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
/usr/sbin/apachectl start: httpd could not be started
     
Administrator
Join Date: Jun 2000
Location: California
Status: Offline
Reply With Quote
Oct 8, 2007, 02:47 PM
 
Create the missing file. Put these contents in. Save as plain text.
Code:
<Directory "/Users/+entropy-php/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
     
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 8, 2007, 02:59 PM
 
Had my son create the file in Terminal . . . Web Sharing still unwilling to start up

Here is what Console has to say:

Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entrophy-php.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
fopen: No such file or directory
httpd: could not open document config file /private/etc/httpd/users/+entropy-php.conf
/usr/sbin/apachectl start: httpd could not be started
     
Administrator
Join Date: Jun 2000
Location: California
Status: Offline
Reply With Quote
Oct 8, 2007, 03:30 PM
 
When he saved the file, he named it "+entrophy-php.conf". Change "entrophy" to "entropy" and try again. Get rid of the misspelled file.
     
Fresh-Faced Recruit
Join Date: Oct 2007
Status: Offline
Reply With Quote
Oct 9, 2007, 09:37 PM
 
Finally have the web server + php + mysql running (used the "Go To Folder" option in the finder to locate the private files and make the necessary changes), but . . . just ran into another problem . . . now Dreamweaver refuses to connect to php. Everytime I try to create a connection, the following error message appears:

- - - - - -
The url prefix for this site's testing server could not be resolved. This could be due to several reasons:

1. You have specified a local root folder that does not fall under the web server root folder.

2. There is no web server running on the url

3. Ther is a web server running but no virtual web folder has been mapped to this prefix.
- - - - - -

The web server is running. The fact that I'm able to use phpMyAdmin to create a new db confims that.
The local root folder for this site does exist . . . Dreamweaver uploads files to it + they display on the Testing Server window.

guess it's time to re-install DW
david

OSX 10.4.10
phpMyAdmin-2.6.4-pl3
mysql-5.0.45
PHP Version 4.4.7
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 9, 2007, 10:35 PM
 
If you can access your site through a browser outside of DW (and it sounds like you can since you mentioned being able to use phpMyAdmin), this is a Dreamweaver issue.
     
   
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 07:38 AM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2