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 > Developer Center > Web hosting Questions.

Web hosting Questions.
Thread Tools
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 3, 2003, 11:06 AM
 
Hello all, I'm hosting my personal webpage using my eMac, Dynamic IP address and Apache on Mac OS X.

I also bought a domain name, name fowarding, and address masking.
So instead of typing http://youripaddress/~theglassman
I've got it so you can just type in theglassman.com

The question is, I can't seem to access other folders in the site directory by using theglassman.com/images or what not.
Also my domain masking always makes it theglassman.com, no matter what, is there anyway I can put other pages and files in the sites directory so if someone typed in theglassman.com/computers the index file in the computer folder would come up?

Is this a limiation of something I'm doing, do I need to configure Apache or something?
Or is this just how it's going to work?
It doesn't seem right to me.

Thanks.
     
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Jul 3, 2003, 11:16 AM
 
eh?

on http://www.theglassman.com it seems to be using multiple directories (/News/Docs), was that just an example?

you should be able to have pages in more then one directory...

--will
     
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 3, 2003, 11:20 AM
 
Originally posted by clam2000:
eh?

on http://www.theglassman.com it seems to be using multiple directories (/News/Docs), was that just an example?

you should be able to have pages in more then one directory...

--will
i was using that as an example.
     
Registered User
Join Date: Nov 2002
Location: Far from the internet.
Status: Offline
Reply With Quote
Jul 3, 2003, 11:28 AM
 
I don't get what you are asking. Do you not want a 403 error but a directory listing? Or something entirely different?

As for the URL always being glassman.com/, some name forwarding services only mask the IP and truncate the directory structure. Although it is not doing that for me. Which again makes me confused about what you are asking.

     
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 3, 2003, 11:34 AM
 
Originally posted by benb:
I don't get what you are asking. Do you not want a 403 error but a directory listing? Or something entirely different?

As for the URL always being glassman.com/, some name forwarding services only mask the IP and truncate the directory structure. Although it is not doing that for me. Which again makes me confused about what you are asking.

LOL, okay if you must know, it's www.theglassman.com
Don't pick on me it's just a temp until I get things working.
Try that and let me know if it works for you, try to get to the images folder or anything else.
I trying to figure out what I can do so instead of http://myipaddress/~theglassman/images
I can just type in www.theglassman.com/images,
If my web forwarding company will only show ddearborn.net no matter what, that doesn't really bother me, but not being able to reach other folders and files in my sites directory does.

Does that make more sense?
(Last edited by the_glassman; Jul 5, 2003 at 01:08 PM. )
     
Registered User
Join Date: Nov 2002
Location: Far from the internet.
Status: Offline
Reply With Quote
Jul 3, 2003, 12:03 PM
 
Originally posted by the_glassman:
LOL, okay if you must know, it's www.ddearborn.net
Don't pick on me it's just a temp until I get things working.
Try that and let me know if it works for you, try to get to the images folder or anything else.
I trying to figure out what I can do so instead of http://myipaddress/~theglassman/images
I can just type in www.ddearborn.net/images,
If my web forwarding company will only show ddearborn.net no matter what, that doesn't really bother me, but not being able to reach other folders and files in my sites directory does.

Does that make more sense?
Well, I can view your whole site fine. If you want to be able to browse /images for example, I get a 403 error. This is normal. However, I cannot remember for the life of me if this is an Apache setting, or if Apache just uses the folder permissions.
     
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 3, 2003, 01:07 PM
 
Originally posted by benb:
Well, I can view your whole site fine. If you want to be able to browse /images for example, I get a 403 error. This is normal. However, I cannot remember for the life of me if this is an Apache setting, or if Apache just uses the folder permissions.
Okay, thank you. Thats what I was looking for.
Now is there anyway I can change that?
     
Registered User
Join Date: Nov 2002
Location: Far from the internet.
Status: Offline
Reply With Quote
Jul 3, 2003, 07:49 PM
 
Originally posted by the_glassman:
Okay, thank you. Thats what I was looking for.
Now is there anyway I can change that?
Yea. In the httpd.conf file. In the Finder choose "Go To" and type /etc in the window. Browse to /etc/httpd and open httpd.conf in TextEdit. You want to fine the line that says

<Directory "/Library/WebServer/Documents">

or whatever you changed your documen root to. Add this line inbetween that tag and the close tag (</Directory>).

Options Indexes

Be sure to put that on its own line. Close and save the file.

I think this is it.
     
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 5, 2003, 11:49 AM
 
Originally posted by benb:
Yea. In the httpd.conf file. In the Finder choose "Go To" and type /etc in the window. Browse to /etc/httpd and open httpd.conf in TextEdit. You want to fine the line that says

<Directory "/Library/WebServer/Documents">

or whatever you changed your documen root to. Add this line inbetween that tag and the close tag (</Directory>).

Options Indexes

Be sure to put that on its own line. Close and save the file.

I think this is it.
I tried that, but it won't let me overwrite it.
Is this what the line is supposed to look like?
<Directory "/Library/WebServer/Documents"
Options Indexes>
     
Mac Elite
Join Date: Apr 2003
Location: Anywhere but here.
Status: Offline
Reply With Quote
Jul 5, 2003, 12:02 PM
 
I've found a good writeup here.
http://www.macdevcenter.com/pub/a/ma...web_files.html
But if anyone still wants to throw me a bone that would be great.
     
   
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 03:46 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