|
#1
| |||
| |||
| Can't connect to my own "Personal Website" - Help needed please!
Hi, I'm trying to run a personal server on my MAC. For that matter I have set ON the "Web Sharing" featured in "System Preferences> Sharing" (Web Sharing allows users of other computers to view web pages in the Sites folders on this computer) After doing this, I'm able to see the home page of my Computer's Website, but I can't connect to my Personal Website. http://img221.imageshack.us/img221/4...oleviewwa0.png When I click the link for "Your Computer's Website" I get the home page I have set. http://img99.imageshack.us/img99/8005/shortsq2.png But when I click on the link: "Your Personal Website" I get a "Forbidden" message. In Firefox: http://img169.imageshack.us/img169/8407/forbidenqu2.png And in IE, with a little more explanations, but no clue of what to do. http://img169.imageshack.us/img169/8360/eiinfowr0.png I wish I can access both sites hosted in my computer from the internet. I will appreciate all ideas that you can provide to have this working right. Thank you very much! MacMini Leopard Apache installed Router Linksys Comcast Last edited by Confusio; April 8th, 2008 at 04:56 PM. |
|
#2
| ||||
| ||||
|
Just curious... do you have an HTML index file in your personal web folder? If you don't have an "index.html" or an "index.htm", then the browser will try to do a "directory listing", which is probably what is being forbidden. Can you try going to http://youripaddress/~yourshortname/somefile.html instead of just http://youripaddress/~yourshortname/ and see if it works?
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
|
#3
| |||
| |||
|
Thank you EDCC, Yes I have tried that. The index.html in the Macintosh path is actually the one that I can see in "Computer's Website", because the ~Site/ folder was empty by the moment I set the Web Sharing ON for the first time. http://img216.imageshack.us/img216/7...t2arrowoc6.png Then when I noticed that the link to my "Personal Website" wasn't working I went ahead and set in ~Site/ folder a web page with only a HTML file named "index". http://img216.imageshack.us/img216/1...t1arrowgy2.png Even though this "Personal Website" isn't working. Thanks again. Can I try something else? |
|
#4
| ||||
| ||||
|
Hmmm... so going to both: http://yoursite/~shortname/ and http://yoursite/~shortname/index.html both produce the "Forbidden" message? Instead of using "yoursite" or whatever is told to you in the Sharing pane of the System Preferences, try using "localhost" instead... so it will look like this: http://localhost/~shortname/ Or, instead of localhost, try 127.0.0.1 like this: http://127.0.0.1/~shortname/ and see if either of those produce better results.
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
|
#5
| |||
| |||
|
No EDCC, Just the link for the "Personal Website". If you have the time, please follow the links posted along with the text. They will take you to shots that might help you to visualize my issue better. And same result with localhost and 127.0.0.1 Thank you. |
|
#6
| ||||
| ||||
|
All these movies and junk going over the Internet... and what happens to your own, personal Internet? Don't get me started on how long it took for me to get the Internet my staff sent me last Friday.
__________________ 2.33GHz 17" MacBook Pro — 2GB RAM, 100GB HD, Mac OS X 10.5. 1.6GHz G5 — 1.5GB RAM, 80GB HD, Mac OS X 10.4. (for PPC development) 400MHz G4 — 640MB RAM, 20GB HD, Mac OS 9.1. (for all the old apps I can't run on the MBP) 16GB iPod touch, 250GB Western Digital external HD, 1TB LaCie 2big Triple external HD (RAID 0), 22" ViewSonic VP2250wb LCD |
|
#7
| |||
| |||
| If the site is up and you can't connect to it then....
THE CORRECT ANSWER TO THIS QUESTION Explanation: When viewing a website from more that one computer or application such as a FTP program and the web at the same time for a period of time activates a program, located in the server software, that puts your IP on a so called "Banned List". You can view the site by going directly through the modem. The reason for this is that with your router connected, you have a different IP address than if you where connected directly to your modem. IP addresses are decided with the help of your MAC address. Your modem has one and so does your router. The one from the router is the one that has an IP Banned on it. Your web hosting company will not have an answer for you because everything works on their end and they will not understand how to fix it. The most common response is to replace the router. The reason why this works is because a new router will come with a new MAC address which in turn gives you a new IP. This is not the solution. Your router is just fine and there is no sense in spending money on a new router. Solution. 1 Access your router. 2 Go to setup. 3 Go to MAC address. 4 Check "user defined". 5 change a couple of numbers and letters. 6 Save settings. 7 reboot your computer and reset your modem (not the router!!!). 8 Now everything works just fine. Let me know how it turns out... the man in the box |
|
#8
| ||||
| ||||
|
Yeah, I don't think that has much to do with the original poster's problem... at all. Somehow I think he would have had to REALLY screw something up in order to have "localhost" or "127.0.0.1" banned from his own computer.
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
![]() |
| Bookmarks |
| Thread Tools | |
|
|