 |
 |
Apache-site gone Tiger install?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Dec 2004
Location: In front of computer
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|