image
image

Go Back   macosx.com > Mac Help Forums > Networking & Compatibility

Reply
 
LinkBack Thread Tools
  #1  
Old April 8th, 2008, 04:20 PM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Confusio is on a distinguished road
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.
Reply With Quote
  #2  
Old April 8th, 2008, 04:22 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,678
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
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
Reply With Quote
  #3  
Old April 8th, 2008, 04:54 PM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Confusio is on a distinguished road
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?
Reply With Quote
  #4  
Old April 8th, 2008, 05:09 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,678
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
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
Reply With Quote
  #5  
Old April 8th, 2008, 05:16 PM
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Confusio is on a distinguished road
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.
Reply With Quote
  #6  
Old April 11th, 2008, 01:02 PM
Iritscen's Avatar
Mr. Grumpikins
 
Join Date: May 2006
Location: A canal. In Panama.
Posts: 56
Thanks: 1
Thanked 0 Times in 0 Posts
Iritscen is on a distinguished road
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
Reply With Quote
  #7  
Old September 23rd, 2009, 02:21 PM
Registered User
 
Join Date: Sep 2009
Location: New Orleans
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
izzmasterg is on a distinguished road
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
Reply With Quote
  #8  
Old September 23rd, 2009, 02:38 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,678
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
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
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.