Webserver Help please.

buc99

Don't Tread on Me!
I turned web sharing on in the system preferences.
I am using a hosting service and have dhcp running.
I can go to my main website but can not display my user web page.
When I goto my main website it says that Apache is up and running correctly:
buc99.free-bsd.org

But when I goto my user ie. buc99.free-bsd.org/~username/ where username is the shortname for the user, I get the "Not Found" page.
I followed the direction found under the index.html page in my sites folder, but I can not get a webpage going. Any ideas what I am doing wrong?

Thanks in Advance,
SA:)
 
I checked everything you mentioned and they all look correct. The only difference is in the httpd.conf file:

Instead of:
<IfModule mod_userdir.c>
UserDir Sites
UserDir disabled root
</IfModule>

Mine read:
<IfModule mod_userdir.c>
UserDir "Sites"
</IfModule>

I modified the /Library/Webserver/Documents/index.html.en file and I was able to view the modification when I went to http://www.mydomain.com.

Yet I still can not connect to my webpage with http://www.mydomain.com/~username/

Anymore ideas?

Thanks in advance.
SA

:)
 
I figured out the problem.

I had moved some of the directories, including the sites directory, to a different volume. I had then made aliases of those directories and placed them back under the User directory. Apache does not follow the aliased directory and just like the command line it acts as if the aliased directory is a file and not a directory so Apache was unable to read the contents of the aliased directory.

So I got rid of the alias and made a ln -s and Apache treated it as a linked directory. the only problem is that the finder does not follow Unix links and treats the linked directory as a file. You figure Apple would have had a fix for this.

Oh well. I now have access to my sites folder on the internet.
Yeah.

Thanks for all of the help.
SA:)
 
Back
Top