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 > Apache-site gone Tiger install?

Apache-site gone Tiger install?
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2004
Location: In front of computer
Status: Offline
Reply With Quote
Jun 6, 2005, 03:37 PM
 
Greetings,

Before Tiger my PHP, mySQL, and Apache were running fine. Now, I can't find my localhost site. I still have all of the same files in the "Site" folder located at:
Code:
file:///Users/myUserName/Sites/
When I type the following into my browser:
Code:
http://localhost/~myUserName/index.htm
I get the following error message:
Code:
The requested URL /~myUserName/index.htm was not found on this server.
It is really odd. I mean, my personal web servign is up and everything and I can't even seem to find anywhere where I can build or test a site. Does anyone have ANY idea what is going on? The personal web section of the pref pane give me a totally new address for the location of the site. When I click on it it gives me the default Apache page.

Please help!
(Last edited by iPhotoStuff; Jun 7, 2005 at 09:32 AM. )
     
Mac Elite
Join Date: Jun 2004
Location: College
Status: Offline
Reply With Quote
Jun 6, 2005, 09:12 PM
 
take that address with the default apache page and add "/~username/index.htm" and you should be fine... if you have an "index.htm" that is.
     
Fresh-Faced Recruit
Join Date: Dec 2004
Location: In front of computer
Status: Offline
Reply With Quote
Jun 7, 2005, 08:59 AM
 
MacMan,

ohhh, I wish it were only that easy. No, same error. Yes, I have the index.htm page set up. In the WebSharing dialogue in the Control Panel it has a link to that address which includes the ~username, but unfortunatlely it gives me the same error. I have to be honest, I am completely perplexed about where my page has goine. There is no sign of how to get to it anywhere?

Thanks for the try, but there must be something else to try.
     
Fresh-Faced Recruit
Join Date: Dec 2004
Location: In front of computer
Status: Offline
Reply With Quote
Jun 7, 2005, 09:02 AM
 
Does this help?

when I click on the link in the System Prefs that tells me where the page is located I get this error:

Code:
The requested URL /~myUserName/ was not found on this server.
Code:
Apache/1.3.33 Server at g4-silver.local Port 80
     
Senior User
Join Date: Jan 2000
Location: Burlington, VT, USA
Status: Offline
Reply With Quote
Jun 8, 2005, 09:18 AM
 
have you tried restarding the web server? (probably won't help since restarding the comp restarted the web server..)

did you make any changes to /etc/httpd/httpd.conf? Make sure you have these lines

<IfModule mod_userdir.c>
UserDir Sites
</IfModule>
     
Fresh-Faced Recruit
Join Date: Dec 2004
Location: In front of computer
Status: Offline
Reply With Quote
Jun 8, 2005, 10:29 AM
 
leperkuhn,

Thanks so much for the reply. I have restarted the server like 20 times before your suggestion. I had changed just two lines on the .conf file that simply activated the php. I did a search the the code that you wanted to me to check, but they weren't there! I added those lines to the very top of the page, saved, restarted server, nothing.

Is there a specific place I should put those lines?

Is there any way just to reinstall the server?

I just can't believe that I can't do the very most basic connection on my local server.

-i
     
   
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:39 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