image
image
Ticket Options
Question Profile
DATEJan 21, 2007
TICKET#332953
STATUSClosed
SUBJECTCan't locate Mac OS X main webpage
CATWeb Sites, Home Pages and Web Based Development
TYPE
DESC
DESC
PLATFORMApple Macintosh (PowerPC G3,G4,G5)
MODELApple/iBook G4
PROC1.42 Ghz
RAM1.5 GB
DRIVE75 GB
NAMEChris
USERNAMERIDivorceLawyer
TECHNICALLittle Experience
ISSUEStumped
Question Details
TICKET ARCHIVE -> Can't locate Mac OS X main webpage
RIDivorceLawyer - Jan 21, 2007 - 2:42 pm
image
image
I just learned that Mac OS X has Apache server built in. I have directed dynamic dns services to my computer's ip address and I get a default Apache install page.

I've searched my Macintosh but I can't find that default page
regardless of how long I search for it and I don't know how to navigate my computer using Terminal to look deeper. I searched
the Help pages at apple.com but they say it is in my home folder
under Sites. I found an index.html page there but it is not the
same page that is displaying in my web-browser so there must be something that I am missing.

Any help would be appreciated.
bobw - Jan 21, 2007 - 2:54 pm
image
image
Hi Chris

Open a browser window, then drag that index.html page to the open browser window. It will guide you.

Basically, rename that index.html file to save, and create your index.html page and use that same name. Then you'll be able to go to it's URL, which the Sharing PreferencePane will show you if you click the 'Personal web Sharing' on.

bobw
http://www.macosx.com
RIDivorceLawyer - Jan 21, 2007 - 3:34 pm
image
image
Bob,

I'm afraid I may be too dense. I'm a convert to macs about 6 months ago but I'm trying hard to come up to speed.

Perhaps I didn't phrase my question well.

Go to http://caplaw.dyndns.org

That is the page that comes up.

I go to my Mac's System Preferences and it tells me that this page is my computer's website and that my personal website is at an ip address with an extension folder on it.

The url above calls my router's ip which I then configured port forwarding on it in order to get to my computer's default website... the Apache page that comes up.

What I'm trying to do is to find that default page and change it because I don't know how to get directly to my personal website on my computer because of the subfolder and the port forwarding I set up.

I just don't know how to find that Apache page. It's not the one in my Sites folder and I can't find it anywhere.

Hopefully that makes it clearer. The page I can't find is the one that appears in the window when you go to http://caplaw.dyndns.org I have no idea how to find it and when I try to use regular linux commands on my own computer in Terminal to search deeper it keeps telling me there is No Such Command.

Thanks so much for your fast response. If you can provide any other direction that would be great.

RIDivorceLawyer - Jan 21, 2007 - 3:46 pm
image
image
Bob,

Thank you for your help. I kept searching different combinations and I found that my computer's default webpage in the MacOS X Apache Server setup is found at

Library/WebServer/Documents/index.html.en

Thank you for your SuperFast Response. What a great forum!
I'll try to help others out as I am able to repay the favor to this great forum.



bobw - Jan 21, 2007 - 3:51 pm
image
image
Chris

The default IP you see in the Sharing PreferencePane under Personal Web Sharing is the page you should see in a browser.

This is what mine looks like;

Quote:
View this computer’s website at http://192.168.0.2/ or your personal website at http://192.168.0.2/~bob/
The 192.168.0.2 is from my router. If I wasn't behind a router it would be a normal IP.

If I double click the URL http://192.168.0.2/~bob/, it will open a browser showing my index.html page. You would see the page with this at the top;
------------------------------------------------
Your website here.


You can use Mac OS X Personal Web Sharing to publish web pages or share files on the Internet — or on your company’s or school’s local area network — from a folder on your hard disk.
------------------------------------------------

That page is in your Sites folder here;

User/Sites

The name of the page in the Sites folder is 'index.html'

You can rename that index.html by putting - old- original, etc in the name, then put your web page in that folder and name it 'index.html.
Then when you go to that URL, your page should open in a browser.

bobw
http://www.macosx.com

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0