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 > macOS > Web Sharing Woes

Web Sharing Woes
Thread Tools
snitty
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Niskayuna, NY USA
Status: Offline
Reply With Quote
Jul 28, 2001, 09:47 PM
 
Okay, I know this is fool proof, but acording to someone, I am a better fool.

I put an "index.html" that I wrote quickly in the Sites folder of the current active user. I already had web sharing on, and it gave me the apache "you installed apache" page. I have tried shutting of web sharing and starting it up again. The only thing I haven't tried is shutting down apache, loging out (or shutting down) and starting apache again. I should try that. But the only way I can get my index.html to show up is if I put it in /Library/WebServer/Documents

Any help would be great! Thanks

Ben
-----------------------------
Ben Snitkoff
"Time is an illusion, lunchtime doubly so"
--Douglas Adams R.I.P.
     
johann
Forum Regular
Join Date: Nov 2000
Location: Seattle, Wa, USA
Status: Offline
Reply With Quote
Jul 28, 2001, 10:04 PM
 
the files you put in the user Sites folder get published to http://www.yourdomain.com/~username

so every user can just put and publish... very easy and cool
     
snitty  (op)
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Niskayuna, NY USA
Status: Offline
Reply With Quote
Jul 28, 2001, 10:29 PM
 
Originally posted by johann:
<STRONG>the files you put in the user Sites folder get published to http://www.yourdomain.com/~username
so every user can just put and publish... very easy and cool</STRONG>
Ahhh, I see! in my case however, it would be http://999.999.999.999/~username/ feel the love of the IP address
-----------------------------
Ben Snitkoff
"Time is an illusion, lunchtime doubly so"
--Douglas Adams R.I.P.
     
<not web sharing>
Guest
Status:
Reply With Quote
Aug 24, 2001, 11:04 AM
 
Originally posted by johann:
<STRONG>the files you put in the user Sites folder get published to http://www.yourdomain.com/~username

so every user can just put and publish... very easy and cool</STRONG>
I am trying to do a simple web page on an extra OSX machine for our intranet and When I try http://999.999.999.999/~username/ I get

Forbidden

You don't have permission to access /~username/index.html on this server.


Apache/1.3.14 Server at 127.0.0.1 Port 80


I even setup a test user that had read and write in their sites folder and I still get the same message.....


Also if I put my own index.html into the /Library/WebServer/Documents folder then I get...

Forbidden

You don't have permission to access /index.html on this server.


Apache/1.3.14 Server at 127.0.0.1 Port 80

What am I missing???
     
BrentN
Junior Member
Join Date: Oct 2000
Status: Offline
Reply With Quote
Aug 25, 2001, 12:58 PM
 
Originally posted by &lt;not web sharing&gt;:
<STRONG>

I am trying to do a simple web page on an extra OSX machine for our intranet and When I try http://999.999.999.999/~username/ I get

Forbidden

You don't have permission to access /~username/index.html on this server.


Apache/1.3.14 Server at 127.0.0.1 Port 80


I even setup a test user that had read and write in their sites folder and I still get the same message.....


Also if I put my own index.html into the /Library/WebServer/Documents folder then I get...

Forbidden

You don't have permission to access /index.html on this server.


Apache/1.3.14 Server at 127.0.0.1 Port 80

What am I missing???</STRONG>
Its not user access to the file that's important - its whether or not the webserver has access to the file. The way that is typically done is to make the files world-readable (i.e. chmod a+r ).
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 09:44 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,